2018-04-22 14:12:00 +00:00
|
|
|
component Quote(quote *arn.Quote, user *arn.User)
|
2018-02-25 16:06:47 +00:00
|
|
|
.quote.mountable
|
2018-04-22 14:12:00 +00:00
|
|
|
QuoteContent(quote, user)
|
2018-01-17 22:30:55 +00:00
|
|
|
QuoteFooter(quote)
|
|
|
|
|
2018-04-22 14:12:00 +00:00
|
|
|
component QuotePreview(quote *arn.Quote, user *arn.User)
|
2018-04-19 13:04:25 +00:00
|
|
|
.quote.mountable
|
2018-04-22 14:12:00 +00:00
|
|
|
QuoteContentPreview(quote, user)
|
2018-04-19 13:04:25 +00:00
|
|
|
QuoteFooter(quote)
|
|
|
|
|
2018-04-22 14:12:00 +00:00
|
|
|
component QuoteContent(quote *arn.Quote, user *arn.User)
|
2018-01-17 22:30:55 +00:00
|
|
|
.quote-content
|
2018-03-23 20:33:19 +00:00
|
|
|
a.quotation(href=quote.Link())
|
2018-04-19 13:04:25 +00:00
|
|
|
QuoteText(quote)
|
|
|
|
|
2018-04-22 14:12:00 +00:00
|
|
|
QuoteCharacter(quote, user)
|
2018-04-19 13:04:25 +00:00
|
|
|
|
2018-04-22 14:12:00 +00:00
|
|
|
component QuoteContentPreview(quote *arn.Quote, user *arn.User)
|
2018-04-19 13:04:25 +00:00
|
|
|
.quote-content
|
|
|
|
a.quotation(href=quote.Link())
|
|
|
|
QuoteTextPreview(quote)
|
2018-02-25 11:19:27 +00:00
|
|
|
|
2018-04-22 14:12:00 +00:00
|
|
|
QuoteCharacter(quote, user)
|
2018-04-19 13:04:25 +00:00
|
|
|
|
|
|
|
component QuoteText(quote *arn.Quote)
|
|
|
|
blockquote!= utils.RenderQuoteText(quote.Text.English)
|
|
|
|
|
2018-04-22 14:12:00 +00:00
|
|
|
component QuoteCharacter(quote *arn.Quote, user *arn.User)
|
2018-04-19 13:04:25 +00:00
|
|
|
if quote.CharacterID != "" && quote.Character() != nil
|
|
|
|
footer.quote-character
|
2018-04-22 14:12:00 +00:00
|
|
|
CharacterSmall(quote.Character(), user)
|
2018-04-19 13:04:25 +00:00
|
|
|
|
|
|
|
component QuoteTextPreview(quote *arn.Quote)
|
2018-11-01 00:43:12 +00:00
|
|
|
blockquote!= utils.RenderQuoteText(utils.CutLongDescription(quote.Text.English))
|
2018-01-17 22:30:55 +00:00
|
|
|
|
|
|
|
component QuoteFooter(quote *arn.Quote)
|
2019-09-01 07:39:17 +00:00
|
|
|
footer.quote-footer
|
2018-01-17 22:30:55 +00:00
|
|
|
span posted
|
2018-04-21 18:20:09 +00:00
|
|
|
span.utc-date.no-tip(data-date=quote.Created)
|
2018-01-17 22:30:55 +00:00
|
|
|
span by
|
2018-03-23 20:33:19 +00:00
|
|
|
a(href=quote.Creator().Link())= quote.Creator().Nick
|