{% extends "base.html" %} {% block title %}{{ t('links.title') }}{% endblock %} {% block header %}
{{ t('nav.system_group') }}

{{ t('links.title') }}

{{ t('links.lead') }}
{% endblock %} {% block content %} {% if not public_on %}{% endif %} {% if error %}{% endif %} {% if msg %}{% endif %} {% if made %}

{{ t('links.made', id=made.id, report=made.report) }}

{{ t('links.made_once') }}
{% for u in made.urls %}
{% endfor %}
{% endif %}

{{ t('links.new') }}

{% if report %}
{{ t('links.run_as_hint', user=default_user) if default_user else t('links.run_as_hint_none') }}
{{ t('links.buttons_hint', user=default_user) }}
{{ t('links.frame_hint') }}
{% if params %}
{% for p in params %} {% endfor %}
{{ t('links.param') }}{{ t('links.param_editable') }}{{ t('links.param_value') }}
{{ p.label }} ({{ p.name }})
{{ t('links.params_hint') }}
{% endif %} {% if lists %}
{% endif %}
{% endif %}

{{ t('links.list') }}

{% for l in links %} {% else %}{% endfor %}
#{{ t('links.report') }}{{ t('links.run_as') }}{{ t('links.view') }} {{ t('links.who') }}{{ t('links.param_editable') }}{{ t('links.frame_short') }}{{ t('links.expires') }} {{ t('links.uses') }}{{ t('links.state') }}
{{ l.id }} {{ l.token }} {{ l.report }}{% if l.title %}
{{ l.title }}
{% endif %}
{{ l.run_as }} {{ t('view.' ~ l.view) }} {% if l.public %}{{ t('links.who_public_short') }}{% else %}{{ t('links.who_signin_short') }}{% endif %} {{ (l.editable or []) | join(', ') }}
{{ l.expires_at.astimezone(tz).strftime('%d/%m/%Y') if l.expires_at else '-' }} {{ l.use_count }}{% if l.last_used_at %}
{{ l.last_used_at.astimezone(tz).strftime('%H:%M %d/%m/%Y') }}
{% endif %}
{% if l.active %}{{ t('links.on') }}{% else %}{{ t('links.off') }}{% endif %}
{% if l.active %}
{% endif %}
{{ t('system.no_rows') }}
{% endblock %}