mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-11-04 14:41:57 +00:00 
			
		
		
		
	feat: support for video tags
This commit is contained in:
		@@ -168,6 +168,16 @@
 | 
			
		||||
                <div v-if="video.category" v-text="`${$t('video.category')}: ${video.category}`" />
 | 
			
		||||
                <div v-text="`${$t('video.license')}: ${video.license}`" />
 | 
			
		||||
                <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>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user