Added edit link

This commit is contained in:
Eduard Urbach 2018-03-09 05:44:49 +01:00
parent 487df034d4
commit 9a5a13bd25
2 changed files with 10 additions and 1 deletions

View File

@ -11,8 +11,13 @@ component CompareMAL(comparisons []*utils.MALComparison, user *arn.User)
.data-comparison-title
a(href=comparison.Anime.Link(), target="_blank")= comparison.Anime.Title.Canonical
.spacer
a(href=comparison.MALAnime.URL, target="_blank")
a.data-comparison-tool(href=comparison.Anime.Link() + "/edit", target="_blank")
RawIcon("pencil")
a.data-comparison-tool(href=comparison.MALAnime.URL, target="_blank")
RawIcon("external-link")
.data-comparison-differences

View File

@ -25,6 +25,10 @@
flex 1
align-items center
.data-comparison-tool
display flex
padding 0.5rem
.data-comparison-differences
vertical
margin-top 0.5rem