sepia-search-motore-di-rice.../client/src/components/SearchWarning.vue

35 lines
804 B
Vue
Raw Normal View History

2020-08-27 14:44:21 +02:00
<template>
2020-09-01 15:52:16 +02:00
<div class="block" v-bind:class="{ highlight: highlight }" v-translate="{ indexName: indexName }">
2020-09-01 13:51:44 +02:00
<strong>%{indexName}</strong> displays videos and channels that match your search but is not the publisher, nor the owner.
If you notice any problems with a video, report it to the administrators on the PeerTube website where the video is published.
2020-08-27 14:44:21 +02:00
</div>
</template>
2020-09-01 15:52:16 +02:00
<style lang="scss">
2020-08-27 14:44:21 +02:00
@import '../scss/_variables';
.block {
font-style: italic;
color: $orange;
2020-09-02 14:12:41 +02:00
&.highlight {
2020-09-01 15:52:16 +02:00
color: #fff;
background-color: $orange-darken;
font-style: normal;
padding: 20px;
}
2020-08-27 14:44:21 +02:00
}
</style>
<script lang="ts">
import Vue from 'vue'
export default Vue.extend({
props: {
indexName: String,
highlight: Boolean
}
})
</script>