Skip to content

Commit 068f8b4

Browse files
committed
Fix subscribe button display
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 4fc1914 commit 068f8b4

2 files changed

Lines changed: 2 additions & 2 deletions

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 and not notification_list|default %}
1+
{% if NOTIFICATIONS_WEBPUSH_ENABLE and notification_types is not defined and notification_list is not defined %}
22
<div class="wpn-notification-dropdown-footer" title="{{ lang('NOTIFY_WEBPUSH_DROPDOWN_TITLE') }}">
33
<span class="ellipsis-text">{{ 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>

styles/prosilver/template/event/ucp_notifications_content_before.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if NOTIFICATIONS_WEBPUSH_ENABLE %}
1+
{% if NOTIFICATIONS_WEBPUSH_ENABLE and notification_types is defined %}
22
<div class="panel">
33
<div class="inner">
44
<fieldset>

0 commit comments

Comments
 (0)