Skip to content

Commit

Permalink
Hide test settings if no Webhook is available
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ober committed Nov 9, 2023
1 parent 93c3b35 commit e16d6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm/style/acp_discord_notifications_webhooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ <h1>{{ lang('ACP_DISCORD_NOTIFICATIONS') }}</h1>

<fieldset>
<legend>{{ lang('DN_TEST_SETTINGS') }}</legend>
{% if loops.webhookrow %}
<dl>
<dt><label for="dn_test_message">{{ lang('DN_TEST_MESSAGE') }}{{ lang('COLON') }}</label><br /><span>{{ lang('DN_TEST_DESCRIPTION') }}</span></dt>
<dd>
<input id="dn_test_message" name="dn_test_message" type="text" value="{{ DN_TEST_MESSAGE_TEXT }}" size="100" maxlength="255" />
</dd>
</dl>
{% if loops.webhookrow %}
<dl>
<dt><label for="dn_test_webhook">{{ lang('DN_WEBHOOK_SELECT') }}{{ lang('COLON') }}</label><br /></dt>
<dd>
Expand Down

0 comments on commit e16d6f2

Please sign in to comment.