{% extends "base.html" %} {% block title %}{{ _("credentials.page_title") }}{% endblock %} {% block content %}

{{ _("credentials.title") }}

{{ _("credentials.subtitle") }}

{{ total }}
{{ _("credentials.total_credentials") }}
{{ configured_count }}
{{ _("credentials.configured") }}
{{ unconfigured_count }}
{{ _("credentials.not_configured") }}

{{ _("credentials.legend_title") }}

DB {{ _("credentials.legend_db") }} ENV {{ _("credentials.legend_env_before") }}.env{{ _("credentials.legend_env_after") }} {{ _("credentials.status_missing") }} {{ _("credentials.legend_missing") }} {{ _("credentials.legend_restart") }}
{% for category, creds in categories.items() %}

{{ category }}

{{ creds | selectattr('configured') | list | length }} / {{ creds | length }} {{ _("credentials.configured") }}
{% for cred in creds %} {% endfor %}
{{ _("credentials.col_credential") }} {{ _("common.description") }} {{ _("common.status") }} {{ _("credentials.col_source") }} {{ _("credentials.col_action") }}
{{ cred.key }} {% if cred.restart_required %} {% endif %}
{{ cred.description }} {% if cred.configured %} {{ _("credentials.configured") }} {% else %} {{ _("credentials.status_missing") }} {% endif %} {% if cred.source == 'db' %} DB {% elif cred.source == 'env' %} ENV {% else %} {% endif %}
{% endfor %}
{{ _("credentials.manage_settings") }} {{ _("credentials.raw_json") }}
{% endblock %}