Use footer elements

This commit is contained in:
2019-09-01 16:39:17 +09:00
parent c1695593d3
commit d854ef3a6a
25 changed files with 30 additions and 32 deletions

View File

@ -19,7 +19,7 @@ component AMVVideo(amv *arn.AMV)
VideoControls(amv.ID, amv.Info.Duration)
component AMVFooter(amv *arn.AMV, user *arn.User)
.amv-footer
footer.amv-footer
if amv.Title.ByUser(user) == ""
a(href=amv.Link() + "/edit") untitled
else
@ -30,7 +30,7 @@ component AMVFooter(amv *arn.AMV, user *arn.User)
a(href=amv.Creator().Link())= amv.Creator().Nick + " "
component AMVMiniFooter(amv *arn.AMV, user *arn.User)
.amv-footer
footer.amv-footer
if amv.Title.ByUser(user) == ""
a(href=amv.Link() + "/edit") untitled
else

View File

@ -34,7 +34,7 @@ component QuoteTextPreview(quote *arn.Quote)
blockquote!= utils.RenderQuoteText(utils.CutLongDescription(quote.Text.English))
component QuoteFooter(quote *arn.Quote)
.quote-footer
footer.quote-footer
span posted
span.utc-date.no-tip(data-date=quote.Created)
span by

View File

@ -33,7 +33,7 @@ component SoundTrackMedia(track *arn.SoundTrack)
ExternalMedia(track.Media[0])
component SoundTrackFooter(track *arn.SoundTrack, user *arn.User)
.soundtrack-footer
footer.soundtrack-footer
if track.Title.ByUser(user) == ""
a(href=track.Link() + "/edit") untitled
else
@ -44,7 +44,7 @@ component SoundTrackFooter(track *arn.SoundTrack, user *arn.User)
a(href=track.Creator().Link())= track.Creator().Nick + " "
component SoundTrackMiniFooter(track *arn.SoundTrack, user *arn.User)
.soundtrack-footer
footer.soundtrack-footer
if track.Title.ByUser(user) == ""
a(href=track.Link() + "/edit") untitled
else