Added missing pushover and telegram description
parent
7efffff40e
commit
c6e53b9a6f
|
@ -396,7 +396,6 @@ class UserController extends AbstractController
|
|||
'label_pushover_device' => psm_get_lang('users', 'pushover_device'),
|
||||
'label_pushover_device_description' => psm_get_lang('users', 'pushover_device_description'),
|
||||
'label_telegram' => psm_get_lang('users', 'telegram'),
|
||||
'label_telegram_description' => psm_get_lang('users', 'telegram_description'),
|
||||
'label_telegram_id' => psm_get_lang('users', 'telegram_chat_id'),
|
||||
'label_telegram_id_description' => psm_get_lang('users', 'telegram_chat_id_description'),
|
||||
'label_email' => psm_get_lang('users', 'email'),
|
||||
|
|
|
@ -129,6 +129,7 @@
|
|||
<div class="tab-pane {{ pushover_active }}" id="config-pushover" role="tabpanel" aria-labelledby="config-telegram-tab">
|
||||
<fieldset>
|
||||
<legend>{{ label_settings_pushover }}</legend>
|
||||
<p>{{ label_pushover_description|raw }}</p>
|
||||
<!-- enable pushover -->
|
||||
{{ macro.input_checkbox("pushover_status", "pushover_status", label_pushover_status, pushover_status_checked) }}
|
||||
<!-- enable pushover log -->
|
||||
|
@ -143,6 +144,7 @@
|
|||
<div class="tab-pane {{ telegram_active }}" id="config-telegram" role="tabpanel" aria-labelledby="config-pushover-tab">
|
||||
<fieldset>
|
||||
<legend>{{ label_settings_telegram }}</legend>
|
||||
<p>{{ label_telegram_description|raw }}</p>
|
||||
<!-- enable telegram -->
|
||||
{{ macro.input_checkbox("telegram_status", "telegram_status[]", label_telegram_status, telegram_status_checked) }}
|
||||
<!-- enable telegram log -->
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
</fieldset>
|
||||
<!-- Pushover settings -->
|
||||
<fieldset>
|
||||
<legend>{{ label_pushover }}</legend>
|
||||
<legend>{{ label_pushover }}</legend>
|
||||
<p>{{ label_pushover_description|raw }}</p>
|
||||
<!-- pushover key -->
|
||||
{{ macro.input_field("text", "pushover_key", null, "pushover_key", label_pushover_key, pushover_key, label_pushover_key, "255", "pushover_key_help", pushover_key_description) }}
|
||||
<!-- pushover device -->
|
||||
|
@ -29,10 +30,11 @@
|
|||
</fieldset>
|
||||
<!-- Telegram settings -->
|
||||
<fieldset>
|
||||
<legend>{{ label_telegram }}</legend>
|
||||
<legend>{{ label_telegram }}</legend>
|
||||
<p>{{ label_telegram_description|raw }}</p>
|
||||
<!-- telegram id -->
|
||||
<div class="form-group">
|
||||
<a class="btn btn-primary mb-2" href="{{ telegram_get_chat_id_url }}">{{ label_telegram_get_chat_id }}</a>
|
||||
<a class="btn btn-primary mb-2" href="{{ telegram_get_chat_id_url }}">{{ label_telegram_get_chat_id }}</a>
|
||||
</div>
|
||||
{{ macro.input_field("text", "telegram_id", null, "telegram_id", label_telegram_chat_id, telegram_id, label_telegram_chat_id, "255", "telegram_id_help", telegram_id_description) }}
|
||||
<button class="btn btn-primary show-modal" data-toggle="modal" data-modal-id="activateTelegram">{{ label_activate_telegram }}</button>
|
||||
|
|
Loading…
Reference in New Issue