From e53d7288ba6fb901044b5c63091a8fdedb7bcb9a Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 3 Nov 2019 01:41:58 +0900 Subject: [PATCH] Disabled twist.moe notifications --- mixins/AnimeList.pixy | 12 ++++++------ pages/settings/notifications.pixy | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/mixins/AnimeList.pixy b/mixins/AnimeList.pixy index c7574a71..70d39c70 100644 --- a/mixins/AnimeList.pixy +++ b/mixins/AnimeList.pixy @@ -16,12 +16,12 @@ component AnimeListScrollable(animeListItems []*arn.AnimeListItem, viewUser *arn .anime-list-item-name(draggable="true") a(href=item.Link(viewUser.Nick))= item.Anime().Title.ByUser(user) - .anime-list-item-actions - if user != nil && item.Status != arn.AnimeListStatusCompleted - if item.Anime().EpisodeByNumber(item.Episodes + 1) != nil - for _, link := range item.Anime().EpisodeByNumber(item.Episodes + 1).Links - a.tip(href=link, aria-label="Watch episode " + fmt.Sprint(item.Episodes + 1), target="_blank", rel="noopener") - RawIcon("eye") + //- .anime-list-item-actions + //- if user != nil && item.Status != arn.AnimeListStatusCompleted + //- if item.Anime().EpisodeByNumber(item.Episodes + 1) != nil + //- for _, link := range item.Anime().EpisodeByNumber(item.Episodes + 1).Links + //- a.tip(href=link, aria-label="Watch episode " + fmt.Sprint(item.Episodes + 1), target="_blank", rel="noopener") + //- RawIcon("eye") .anime-list-item-airing-date if item.Status != arn.AnimeListStatusCompleted && item.Anime().UpcomingEpisode() != nil diff --git a/pages/settings/notifications.pixy b/pages/settings/notifications.pixy index 85f819d5..59f5eed1 100644 --- a/pages/settings/notifications.pixy +++ b/pages/settings/notifications.pixy @@ -30,14 +30,14 @@ component SettingsNotifications(user *arn.User) footer.footer p(title="This setting is not account bound, instead it is bound to your browser.") You can customize this setting on every device you own. - .widget.mountable(data-api="/api/settings/" + user.ID) - h3.widget-title - Icon("filter") - span Filter + //- .widget.mountable(data-api="/api/settings/" + user.ID) + //- h3.widget-title + //- Icon("filter") + //- span Filter - InputBool("Notification.AnimeEpisodeReleases", user.Settings().Notification.AnimeEpisodeReleases, "New episodes", "Notifications about new episodes") - InputBool("Notification.AnimeFinished", user.Settings().Notification.AnimeFinished, "Finished anime series", "Notifications about finished anime series") - //- InputBool("Notification.NewFollowers", user.Settings().Notification.NewFollowers, "New followers", "Notifications about new followers") + //- InputBool("Notification.AnimeEpisodeReleases", user.Settings().Notification.AnimeEpisodeReleases, "New episodes", "Notifications about new episodes") + //- InputBool("Notification.AnimeFinished", user.Settings().Notification.AnimeFinished, "Finished anime series", "Notifications about finished anime series") + //- //- InputBool("Notification.NewFollowers", user.Settings().Notification.NewFollowers, "New followers", "Notifications about new followers") //- .widget.mountable(data-api="/api/settings/" + user.ID) //- h3.widget-title