Skip to content

Commit 78f7bab

Browse files
committed
Only show popup UCP setting when enabled in ACP
1 parent e9af8d0 commit 78f7bab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

styles/prosilver/template/event/ucp_notifications_content_before.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<input id="unsubscribe_webpush" type="submit" name="unsubscribe_webpush" value="{{ lang('NOTIFY_WEBPUSH_DISABLE') }}" class="wpn button1 button button-form hidden">
1010
</dd>
1111
</dl>
12+
{% if S_WEBPUSH_POPUP_PROMPT %}
1213
<dl>
1314
<dt><label for="toggle_popup_prompt">{{ lang('NOTIFY_WEBPUSH_POPUP_DISABLE') ~ lang('COLON') }}</label><br><span>{{ lang('NOTIFY_WEBPUSH_POPUP_DISABLE_EXPLAIN') }}</span></dt>
1415
<dd>
@@ -17,6 +18,7 @@
1718
</button>
1819
</dd>
1920
</dl>
21+
{% endif %}
2022
</fieldset>
2123
</div>
2224
</div>

0 commit comments

Comments
 (0)