mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Update:Show language on book item page w/ link to filter #2834
This commit is contained in:
		
							parent
							
								
									41af913280
								
							
						
					
					
						commit
						04993dd63d
					
				| @ -89,6 +89,14 @@ | ||||
|         </template> | ||||
|       </div> | ||||
|     </div> | ||||
|     <div v-if="language && !isPodcast" class="flex py-0.5"> | ||||
|       <div class="w-24 min-w-24 sm:w-32 sm:min-w-32"> | ||||
|         <span class="text-white text-opacity-60 uppercase text-sm">{{ $strings.LabelLanguage }}</span> | ||||
|       </div> | ||||
|       <div> | ||||
|         <nuxt-link :to="`/library/${libraryId}/bookshelf?filter=languages.${$encode(language)}`" class="hover:underline">{{ language }}</nuxt-link> | ||||
|       </div> | ||||
|     </div> | ||||
|     <div v-if="tracks.length || audioFile || (isPodcast && totalPodcastDuration)" class="flex py-0.5"> | ||||
|       <div class="w-24 min-w-24 sm:w-32 sm:min-w-32"> | ||||
|         <span class="text-white text-opacity-60 uppercase text-sm">{{ $strings.LabelDuration }}</span> | ||||
| @ -182,6 +190,9 @@ export default { | ||||
|     narrators() { | ||||
|       return this.mediaMetadata.narrators || [] | ||||
|     }, | ||||
|     language() { | ||||
|       return this.mediaMetadata.language || null | ||||
|     }, | ||||
|     durationPretty() { | ||||
|       if (this.isPodcast) return this.$elapsedPrettyExtended(this.totalPodcastDuration) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user