Skip to content
Snippets Groups Projects
Commit e847e92e authored by Marcos Peña's avatar Marcos Peña
Browse files

Adds album's year to base and card view (#1366)

parent 38f0fd3b
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,9 @@
{{ album.artist.name }}
</router-link>
</span>
<div v-if="album.release_date">
{{ album.release_date | moment('Y') }}
</div>
</div>
</div>
<div class="extra content">
......
......@@ -59,6 +59,9 @@
<header>
<h2 class="ui header" :title="object.title">
{{ object.title }}
<span class="ui sub header" v-if="object.release_date">
{{ object.release_date | moment('Y') }}
</span>
</h2>
<artist-label class="rounded" :artist="artist"></artist-label>
</header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment