Skip to content

Commit 9546447

Browse files
committed
Also hide subscribe button from notification list page
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 2d00c6d commit 9546447

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

styles/all/template/event/notification_dropdown_footer_after.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if NOTIFICATIONS_WEBPUSH_ENABLE and not notification_types|default %}
1+
{% if NOTIFICATIONS_WEBPUSH_ENABLE and not notification_types|default and not notification_list|default %}
22
<div class="wpn-notification-dropdown-footer">
33
<span>{{ lang('NOTIFY_WEBPUSH_ENABLE_SHORT') ~ lang('COLON') }}</span>
44
<button id="subscribe_webpush" name="subscribe_webpush"><i class="icon fa-toggle-off fa-fw icon-lightgray"></i><span>{{ lang('NOTIFY_WEBPUSH_SUBSCRIBE') }}</span></button>

0 commit comments

Comments
 (0)