Disabled twist.moe notifications
This commit is contained in:
parent
b9176db25a
commit
e53d7288ba
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user