Added airing date to planned list

This commit is contained in:
Eduard Urbach 2017-10-02 19:17:23 +02:00
parent cf91fe37d0
commit ad4a43f09d

View File

@ -59,7 +59,7 @@ component AnimeList(animeList *arn.AnimeList, viewUser *arn.User, user *arn.User
//- RawIcon("download") //- RawIcon("download")
td.anime-list-item-airing-date td.anime-list-item-airing-date
if item.Status == arn.AnimeListStatusWatching && item.Anime().UpcomingEpisode() != nil if (item.Status == arn.AnimeListStatusWatching || item.Status == arn.AnimeListStatusPlanned) && item.Anime().UpcomingEpisode() != nil
span.utc-airing-date(data-start-date=item.Anime().UpcomingEpisode().Episode.AiringDate.Start, data-end-date=item.Anime().UpcomingEpisode().Episode.AiringDate.End, data-episode-number=item.Anime().UpcomingEpisode().Episode.Number) span.utc-airing-date(data-start-date=item.Anime().UpcomingEpisode().Episode.AiringDate.Start, data-end-date=item.Anime().UpcomingEpisode().Episode.AiringDate.End, data-episode-number=item.Anime().UpcomingEpisode().Episode.Number)
td.anime-list-item-episodes td.anime-list-item-episodes