Improved quote editing

This commit is contained in:
2018-02-25 12:19:27 +01:00
parent c9af3561b8
commit c0f490a959
4 changed files with 13 additions and 11 deletions

View File

@ -1,5 +1,6 @@
component QuotePage(quote *arn.Quote, character *arn.Character, user *arn.User)
QuoteTabs(quote, user)
.quote-full-page
.quote-main-column
QuoteMainColumn(quote, user)
@ -7,7 +8,7 @@ component QuotePage(quote *arn.Quote, character *arn.Character, user *arn.User)
QuoteSideColumn(quote, user)
component QuoteMainColumn(quote *arn.Quote, user *arn.User)
.widget-form
.widget-form.mountable
QuoteContent(quote)
.footer.mountable
@ -29,8 +30,9 @@ component QuoteSideColumn(quote *arn.Quote, user *arn.User)
component QuoteInformation(quote *arn.Quote, user *arn.User)
section.quote-section.mountable
h3.quote-section-name Information
table.quote-info-table
if quote.Anime() != nil
if quote.AnimeID != "" && quote.Anime() != nil
tr.mountable(data-mountable-type="info")
td.quote-info-key Anime:
td.quote-info-value