Merge branch 'devilcius/funkwhale-develop' into develop
This commit is contained in:
commit
5fd7889380
|
@ -0,0 +1 @@
|
||||||
|
Adds year to album's card and album's base UI
|
|
@ -20,6 +20,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="extra content">
|
<div class="extra content">
|
||||||
|
<span v-if="album.release_date">{{ album.release_date | moment('Y') }} · </span>
|
||||||
<translate translate-context="*/*/*" :translate-params="{count: album.tracks_count}" :translate-n="album.tracks_count" translate-plural="%{ count } tracks">%{ count } track</translate>
|
<translate translate-context="*/*/*" :translate-params="{count: album.tracks_count}" :translate-n="album.tracks_count" translate-plural="%{ count } tracks">%{ count } track</translate>
|
||||||
<play-button class="right floated basic icon" :dropdown-only="true" :is-playable="album.is_playable" :dropdown-icon-classes="['ellipsis', 'horizontal', 'large really discrete']" :album="album"></play-button>
|
<play-button class="right floated basic icon" :dropdown-only="true" :is-playable="album.is_playable" :dropdown-icon-classes="['ellipsis', 'horizontal', 'large really discrete']" :album="album"></play-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -62,9 +62,9 @@
|
||||||
</h2>
|
</h2>
|
||||||
<artist-label class="rounded" :artist="artist"></artist-label>
|
<artist-label class="rounded" :artist="artist"></artist-label>
|
||||||
</header>
|
</header>
|
||||||
<div class="ui small hidden divider"></div>
|
<div v-if="object.release_date || (totalTracks > 0)" class="ui small hidden divider"></div>
|
||||||
|
<span v-if="object.release_date">{{ object.release_date | moment('Y') }} · </span>
|
||||||
<template v-if="totalTracks > 0">
|
<template v-if="totalTracks > 0">
|
||||||
<div class="ui hidden very small divider"></div>
|
|
||||||
<translate key="1" v-if="isSerie" translate-context="Content/Channel/Paragraph"
|
<translate key="1" v-if="isSerie" translate-context="Content/Channel/Paragraph"
|
||||||
translate-plural="%{ count } episodes"
|
translate-plural="%{ count } episodes"
|
||||||
:translate-n="totalTracks"
|
:translate-n="totalTracks"
|
||||||
|
|
Loading…
Reference in New Issue