{% extends './layout/default' %} {% block breadcrumbs %} {{ Breadcrumbs.render }} {% endblock %} {% block content %}

{{ 'notification_settings'|_ }}

{{ trans('firefly.owner_notifications_expl') }}

{% for notification, value in notifications %}
{% endfor %}

{{ 'channel_settings'|_ }}

{{ ExpandedForm.text('slack_webhook_url', slackUrl, {'label' : 'slack_url_label'|_, helpText: trans('firefly.slack_discord_double')}) }} {{ ExpandedForm.text('pushover_app_token', pushoverAppToken, {}) }} {{ ExpandedForm.text('pushover_user_token', pushoverUserToken, {}) }} {{ ExpandedForm.text('ntfy_server', ntfyServer, {}) }} {{ ExpandedForm.text('ntfy_topic', ntfyTopic, {}) }} {{ ExpandedForm.checkbox('ntfy_auth','1', ntfyAuth, {}) }} {{ ExpandedForm.text('ntfy_user', ntfyUser, {}) }} {{ ExpandedForm.passwordWithValue('ntfy_pass', ntfyPass, {}) }}

{{ 'available_channels_title'|_ }}

{{ 'available_channels_expl'|_ }}

    {% for name,info in channels %}
  • {% 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 false == info.enabled or false == forcedAvailability[name] %} ⚠️ {{ trans('firefly.notification_channel_name_'~name) }} ({{ 'channel_not_available'|_ }}) {% endif %}
  • {% endfor %}
{% endblock %}