Disable twist links in Japan

This commit is contained in:
Eduard Urbach 2018-05-12 19:24:12 +09:00
parent c4b51b0a7a
commit c17ef15f98

View File

@ -17,7 +17,7 @@ component AnimeListScrollable(animeListItems []*arn.AnimeListItem, viewUser *arn
a(href=item.Link(viewUser.Nick))= item.Anime().Title.ByUser(user)
.anime-list-item-actions
if user != nil && item.Status == arn.AnimeListStatusWatching
if user != nil && item.Status == arn.AnimeListStatusWatching && user.Location.CountryName != "Japan"
//- if user.ID == "KpdWUlPzR"
//- a(href=arn.Nyaa.GetLink(item.Anime()), title="Search on Nyaa", target="_blank", rel="noopener")
//- RawIcon("download")