{% extends "base.html" %} {% block title %}{{ _('Info Pages') }} — {{ service_name }}{% endblock %} {% block content %}

{{ _('Info Pages') }}

{{ _('Info Pages are shown when users visit specific routes for the first time.') }} {{ _('Read more.') }}

{{ _('Create Info Page') }} {% if info_pages %} {% if not current_user.is_readonly %} {% endif %} {% for info_page in info_pages %} {% if not current_user.is_readonly %} {% endif %} {% endfor %}
{{ _('ID') }} {{ _('Title') }} {{ _('Routes') }}
{{ info_page.id }} {{ info_page.title | get_translated_text(default='—') }} {% if info_page.endpoint %} {% set url_rules = url_map.iter_rules(info_page.endpoint) | list %} {% if url_rules %} {%- for rule in url_rules -%} {{ rule }}{% if not loop.last %}, {% endif %} {%- endfor -%} {% else %} {{ _('Unknown route') }} {% endif %} {% else %} {{ _('All routes') }} {% endif %} {% if info_page.disabled %} {{ _('disabled') }} {% endif %} {{ _("View") }} {{ _("Edit") }}
{{ set_info_page_disabled_form.csrf_token() }} {% if not info_page.disabled %} {% endif %}
{% else %}

{{ _('There are no info pages set up at this time.') }}

{% endif %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}