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

@ -2,10 +2,10 @@ component SoundTrackPage(track *arn.SoundTrack, user *arn.User)
SoundTrackTabs(track, user)
.soundtrack-full-page
if track.Title == ""
if track.NewTitle.ByUser(user) == ""
h1.mountable untitled
else
h1.mountable= track.Title
h1.mountable= track.NewTitle.ByUser(user)
.widget-form.soundtrack-media-list
each media in track.Media