Migration to new soundtrack title struct

This commit is contained in:
2018-04-08 22:23:07 +02:00
parent dea33ab01d
commit 1ba0da36e2
9 changed files with 29 additions and 19 deletions

View File

@ -28,10 +28,10 @@ component SoundTrackMedia(track *arn.SoundTrack)
component SoundTrackFooter(track *arn.SoundTrack)
.soundtrack-footer
if track.Title == ""
if track.NewTitle.ByUser(nil) == ""
a(href=track.Link() + "/edit") untitled
else
a(href=track.Link())= track.Title
a(href=track.Link())= track.NewTitle.ByUser(nil)
span posted
span.utc-date(data-date=track.Created)
span by