mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2026-01-09 04:59:38 +05:00
display license if track has one (https://codeberg.org/maid-zone/soundcloak/issues/1)
This commit is contained in:
@@ -79,6 +79,9 @@ templ Track(t sc.Track, stream string) {
|
||||
<p>{ strconv.FormatInt(t.Played, 10) } plays</p>
|
||||
<p>Created: { t.CreatedAt }</p>
|
||||
<p>Last modified: { t.LastModified }</p>
|
||||
if t.License != "" {
|
||||
<p>License: { t.License }</p>
|
||||
}
|
||||
if t.TagList != "" {
|
||||
<p>Tags: { strings.Join(sc.TagListParser(t.TagList), ", ") }</p>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user