mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
feat: support for video tags
This commit is contained in:
parent
7a14ab08a2
commit
7cf1679960
1 changed files with 10 additions and 0 deletions
|
@ -168,6 +168,16 @@
|
||||||
<div v-if="video.category" v-text="`${$t('video.category')}: ${video.category}`" />
|
<div v-if="video.category" v-text="`${$t('video.category')}: ${video.category}`" />
|
||||||
<div v-text="`${$t('video.license')}: ${video.license}`" />
|
<div v-text="`${$t('video.license')}: ${video.license}`" />
|
||||||
<div class="capitalize" v-text="`${$t('video.visibility')}: ${video.visibility}`" />
|
<div class="capitalize" v-text="`${$t('video.visibility')}: ${video.visibility}`" />
|
||||||
|
|
||||||
|
<div v-if="video.tags" class="flex gap-2 mt-2">
|
||||||
|
<router-link
|
||||||
|
v-for="tag in video.tags"
|
||||||
|
:key="tag"
|
||||||
|
class="rounded-s px-2 py-1 btn"
|
||||||
|
:to="`/results?search_query=${encodeURIComponent(tag)}`"
|
||||||
|
>{{ tag }}</router-link
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue