mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
[web] Streamline HTML code across the pages
This commit is contained in:
parent
7e78984f2b
commit
4ca397a8f2
@ -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" />
|
||||||
|
@ -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 })
|
||||||
"
|
"
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user