Added character likes

This commit is contained in:
2018-04-19 16:23:14 +02:00
parent 7e040f7c44
commit 717b240e41
12 changed files with 98 additions and 24 deletions

View File

@ -50,7 +50,7 @@ component QuoteInformation(quote *arn.Quote, user *arn.User)
component QuoteTabs(quote *arn.Quote, user *arn.User)
.tabs
TabLike(strconv.Itoa(len(quote.Likes)), "heart", "quote", quote, user)
LikeTab(strconv.Itoa(len(quote.Likes)), "heart", "quote", quote, user)
Tab("Quote", "quote-left", quote.Link())
if user != nil
Tab("Edit", "pencil", quote.Link() + "/edit")