Improved quote editing
This commit is contained in:
@ -9,7 +9,8 @@ component QuoteContent(quote *arn.Quote)
|
||||
blockquote
|
||||
p
|
||||
q= quote.Description
|
||||
if quote.Character() != nil
|
||||
|
||||
if quote.CharacterID != "" && quote.Character() != nil
|
||||
footer.quote-character
|
||||
span= "by"
|
||||
a.ajax(href=quote.Character().Link())= quote.Character().Name
|
||||
|
@ -1,5 +1,3 @@
|
||||
// This should be made abstract for every Likeable so we avoid repeating ourselves but I'm unsure on
|
||||
// how to do it
|
||||
component TabLikeQuote(label string, icon string, quote *arn.Quote, user *arn.User)
|
||||
if user == nil
|
||||
.tab.action(aria-label=label, title="Login to like this quote")
|
||||
|
Reference in New Issue
Block a user