mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 13:10:35 +00:00
Add config for ntfy
This commit is contained in:
@@ -34,6 +34,7 @@ return [
|
||||
// admin test
|
||||
'admin_test_subject' => 'A test message from your Firefly III installation',
|
||||
'admin_test_body' => 'This is a test message from your Firefly III instance. It was sent to :email.',
|
||||
'admin_test_message' => 'This is a test message from your Firefly III instance over channel ":channel".',
|
||||
|
||||
// Ignore this comment
|
||||
|
||||
|
||||
@@ -2500,8 +2500,7 @@ return [
|
||||
'available_channels_expl' => 'These channels are available to send notifications over. To test your confiuration, use the buttons below. Please note that the buttons have no spam control.',
|
||||
'notification_channel_name_email' => 'Email',
|
||||
'notification_channel_name_slack' => 'Slack',
|
||||
'notification_channel_name_discord' => 'Discord',
|
||||
'notification_channel_name_nfty' => 'Nfty',
|
||||
'notification_channel_name_ntfy' => 'Ntfy.sh',
|
||||
'notification_channel_name_pushover' => 'Pushover',
|
||||
'notification_channel_name_gotify' => 'Gotify',
|
||||
'notification_channel_name_pushbullet' => 'Pushbullet',
|
||||
@@ -2509,7 +2508,7 @@ return [
|
||||
'configure_channel_in_env' => 'needs environment variables',
|
||||
'test_notification_channel_name_email' => 'Test email',
|
||||
'test_notification_channel_name_slack' => 'Test Slack',
|
||||
'test_notification_channel_name_discord' => 'Test Discord',
|
||||
'test_notification_channel_name_ntfy' => 'Test Ntfy.sh',
|
||||
|
||||
'split_transaction_title' => 'Description of the split transaction',
|
||||
'split_transaction_title_help' => 'If you create a split transaction, there must be a global description for all splits of the transaction.',
|
||||
|
||||
@@ -48,11 +48,11 @@
|
||||
<ul>
|
||||
{% for name,info in channels %}
|
||||
<li>
|
||||
{% if info.enabled %}
|
||||
{% if true == info.enabled and true == forcedAvailability[name] %}
|
||||
☑️ {{ trans('firefly.notification_channel_name_'~name) }}
|
||||
{% if 0 == info.ui_configurable %}({{ 'configure_channel_in_env'|_ }}) {% endif %}
|
||||
{% endif %}
|
||||
{% if not info.enabled %}
|
||||
{% if false == info.enabled or false == forcedAvailability[name] %}
|
||||
⚠️ {{ trans('firefly.notification_channel_name_'~name) }} ({{ 'channel_not_available'|_ }})
|
||||
{% endif %}
|
||||
</li>
|
||||
@@ -62,7 +62,7 @@
|
||||
<div class="box-footer">
|
||||
<div class="btn-group">
|
||||
{% for name,info in channels %}
|
||||
{% if info.enabled %}
|
||||
{% if true == info.enabled and true == forcedAvailability[name] %}
|
||||
<button type="submit" name="test_submit" value="{{ name }}" class="btn btn-default">
|
||||
{{ trans('firefly.test_notification_channel_name_'~name) }}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user