{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load credicons %} {% block title %}{{ credtitle }} - {% trans "Rattic" %}{% endblock %} {% block content %} {% if buttons.export and EXPORT_ENABLED %} {% include "cred_part_export.html" %} {% endif %} {% if not hidecredlist %}

{{ credtitle }}

{% for alert in alerts %}
{{ alert.message }}
{% endfor %}
{% csrf_token %} {% for c in credlist %} {% endfor %}
{% if buttons.add %} {% trans "Add New" %} {% endif %} {% if buttons.delete %} {% endif %} {% if buttons.undelete %} {% endif %} {% if buttons.changeq %} {% endif %} {% if buttons.tagger %} {% endif %} {% if buttons.export and EXPORT_ENABLED %} {% endif %}
{% if sort == 'title' %} {% trans "Title" %} {% if sortdir == 'ascending' %}{% else %}{% endif %} {% else %} {% trans "Title" %} {% endif %} {% if sort == 'username' %} {% trans "User" %} {% if sortdir == 'ascending' %}{% else %}{% endif %} {% else %} {% trans "User" %} {% endif %} {% if sort == 'group' %} {% trans "Owner Group" %} {% if sortdir == 'ascending' %}{% else %}{% endif %} {% else %} {% trans "Owner Group" %} {% endif %} {% trans "Viewer Groups" %} {% trans "Tags" %}
{% cred_icon c.iconname %} {{ c.title|default:"(No Title)" }} {{ c.username }} {% if c.group in groups.all %}{{ c.group.name }}{% else %}{{ c.group.name }}{% endif %} {% for g in c.groups.all %} {% if g in groups.all %} {{ g.name }} {% else %}{{ g.name }}{% endif %}{% if not forloop.last %}, {% endif %} {% endfor %} {% for t in c.tags.all %}{% if not forloop.first %}, {% endif %}{{ t.name }}{% endfor %}
{% endif %} {% if showtaglist %}

{% trans "Matched Tags" %}

{% include "cred_taglist.html" with tags=tag only %} {% endif %} {% endblock %}