Anime title is the edit link now

This commit is contained in:
Eduard Urbach 2017-06-26 12:21:42 +02:00
parent 61be2fe055
commit 70c15f0f93
2 changed files with 9 additions and 9 deletions

View File

@ -11,14 +11,14 @@ component AnimeList(animeList *arn.AnimeList, user *arn.User)
each item in animeList.Items each item in animeList.Items
tr.anime-list-item.mountable(title=item.Notes) tr.anime-list-item.mountable(title=item.Notes)
td.anime-list-item-name td.anime-list-item-name
a.ajax(href=item.Anime().Link())= item.Anime().Title.Canonical a.ajax(href=item.Link(animeList.User().Nick))= item.Anime().Title.Canonical
td.anime-list-item-episodes td.anime-list-item-episodes
.anime-list-item-episodes-watched= item.Episodes .anime-list-item-episodes-watched= item.Episodes
.anime-list-item-episodes-separator / .anime-list-item-episodes-separator /
.anime-list-item-episodes-max= item.Anime().EpisodeCountString() .anime-list-item-episodes-max= item.Anime().EpisodeCountString()
.anime-list-item-episodes-edit //- .anime-list-item-episodes-edit
a.ajax(href=item.Link(animeList.User().Nick), title="Edit anime") //- a.ajax(href=, title="Edit anime")
RawIcon("pencil") //- RawIcon("pencil")
td.anime-list-item-rating= item.FinalRating() td.anime-list-item-rating= item.FinalRating()
if user != nil if user != nil
td.anime-list-item-actions td.anime-list-item-actions

View File

@ -32,12 +32,12 @@
flex 0.4 flex 0.4
opacity 0.5 opacity 0.5
.anime-list-item-episodes-edit // .anime-list-item-episodes-edit
flex 0.5 // flex 0.5
// Beautify icon alignment // // Beautify icon alignment
.raw-icon // .raw-icon
margin-bottom -2px // margin-bottom -2px
.anime-list-item-rating .anime-list-item-rating
flex-basis 100px flex-basis 100px