42 lines
1.1 KiB
Plaintext
Raw Normal View History

component Quote(quote *arn.Quote, user *arn.User)
2018-02-25 16:06:47 +00:00
.quote.mountable
QuoteContent(quote, user)
QuoteFooter(quote)
component QuotePreview(quote *arn.Quote, user *arn.User)
2018-04-19 13:04:25 +00:00
.quote.mountable
QuoteContentPreview(quote, user)
2018-04-19 13:04:25 +00:00
QuoteFooter(quote)
component QuoteContent(quote *arn.Quote, user *arn.User)
.quote-content
a.quotation(href=quote.Link())
2018-04-19 13:04:25 +00:00
QuoteText(quote)
QuoteCharacter(quote, user)
2018-04-19 13:04:25 +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
QuoteCharacter(quote, user)
2018-04-19 13:04:25 +00:00
component QuoteText(quote *arn.Quote)
blockquote!= utils.RenderQuoteText(quote.Text.English)
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
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))
component QuoteFooter(quote *arn.Quote)
.quote-footer
span posted
2018-04-21 18:20:09 +00:00
span.utc-date.no-tip(data-date=quote.Created)
span by
a(href=quote.Creator().Link())= quote.Creator().Nick