[web] Streamline HTML code across the pages

This commit is contained in:
Alain Nussbaumer 2024-03-13 18:14:55 +01:00
parent 7e78984f2b
commit 4ca397a8f2
5 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@
</template> </template>
<template #content> <template #content>
<p <p
class="heading is-7 has-text-centered-mobile mt-5" class="heading has-text-centered-mobile mt-5"
v-text="$t('page.album.track-count', { count: album.track_count })" v-text="$t('page.album.track-count', { count: album.track_count })"
/> />
<list-tracks :tracks="tracks" :uris="album.uri" /> <list-tracks :tracks="tracks" :uris="album.uri" />

View File

@ -34,7 +34,7 @@
</template> </template>
<template #content> <template #content>
<p <p
class="heading is-7 has-text-centered-mobile mt-5" class="heading has-text-centered-mobile mt-5"
v-text=" v-text="
$t('page.spotify.album.track-count', { count: album.tracks.total }) $t('page.spotify.album.track-count', { count: album.tracks.total })
" "

View File

@ -30,7 +30,7 @@
</template> </template>
<template #content> <template #content>
<p <p
class="heading is-7 has-text-centered-mobile mt-5" class="heading has-text-centered-mobile mt-5"
v-text=" v-text="
$t('page.audiobooks.album.track-count', { $t('page.audiobooks.album.track-count', {
count: album.track_count count: album.track_count

View File

@ -28,7 +28,7 @@
</template> </template>
<template #content> <template #content>
<p <p
class="heading is-7 has-text-centered-mobile mt-5" class="heading has-text-centered-mobile mt-5"
v-text="$t('page.podcast.track-count', { count: album.track_count })" v-text="$t('page.podcast.track-count', { count: album.track_count })"
/> />
<list-tracks <list-tracks

View File

@ -4,7 +4,7 @@
<template #heading-left> <template #heading-left>
<p class="title is-4" v-text="$t('page.radio.title')" /> <p class="title is-4" v-text="$t('page.radio.title')" />
<p <p
class="heading has-text-centered-mobile" class="heading"
v-text="$t('page.radio.count', { count: tracks.total })" v-text="$t('page.radio.count', { count: tracks.total })"
/> />
</template> </template>