24 lines
955 B
HTML
24 lines
955 B
HTML
{{define "release"}}
|
|
<div class="release">
|
|
<div class="release-artwork">
|
|
<img src="{{.Artwork}}" alt="" width="128" loading="lazy">
|
|
</div>
|
|
<div class="release-info">
|
|
<h3 class="release-title">
|
|
<a href="/admin/release/{{.ID}}">{{.Title}}</a>
|
|
<small>
|
|
<span title="{{.PrintReleaseDate}}">{{.GetReleaseYear}}</span>
|
|
{{if not .Visible}}(hidden){{end}}
|
|
</small>
|
|
</h3>
|
|
<p class="release-artists">{{.PrintArtists true true}}</p>
|
|
<p class="release-type-single">{{.ReleaseType}}
|
|
(<a href="/admin/release/{{.ID}}#tracks">{{len .Tracks}} track{{if not (eq (len .Tracks) 1)}}s{{end}}</a>)</p>
|
|
<div class="release-actions">
|
|
<a href="/admin/release/{{.ID}}">Edit</a>
|
|
<a href="/music/{{.ID}}" target="_blank">Gateway <img class="icon" src="/img/external-link.svg"/></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|