Added history tab to nearly all editable objects

This commit is contained in:
2018-03-13 17:59:16 +01:00
parent b3257e78b6
commit 12de621214
12 changed files with 138 additions and 10 deletions

View File

@ -53,6 +53,7 @@ component QuoteTabs(quote *arn.Quote, user *arn.User)
TabLike(strconv.Itoa(len(quote.Likes)), "heart", "quote", quote, user)
Tab("Quote", "quote-left", quote.Link())
Tab("Edit", "pencil", quote.Link() + "/edit")
Tab("History", "history", quote.Link() + "/history")
component QuoteAnime(anime *arn.Anime, user *arn.User)
a.quote-anime-list-item.ajax(href=anime.Link(), title=anime.Title.ByUser(user))