{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load cred_markdown %} {% load credicons %} {% block title %}{{ cred.title }} - {% trans "Rattic" %}{% endblock %} {% block headarea %} {% endblock %} {% block content %}

{% cred_icon cred.iconname %} {{ cred.title }}

{% if delete %}
{% blocktrans %}You are about to delete this password. A staff member will be required if you want to undelete it.{% endblocktrans %}
{% endif %} {% if cred.is_deleted and cred.is_latest %}
{% blocktrans %}This credential has been deleted and is in the trash can. It is only visible to staff. You can alter it if you wish, its history will still be recorded. Click the undelete button to restore it. If you click the Delete Permanently button then the password, its entire history and all its audit logs will be removed.{% endblocktrans %}
{% endif %} {% if not cred.is_latest %}
{% trans "Hey there!" %} {% blocktrans %}This credential is an historical version.{% endblocktrans %} {% trans "Click here" %} {% blocktrans %}to see the latest version.{% endblocktrans %}
{% endif %} {% if cred.on_changeq %}
{% trans "Change Required" %} {% blocktrans %}This credential is on the change queue and should have its password changed as soon as possible.{% endblocktrans %} {% trans "Why not" %} {% trans "do it now" %}{% trans "?" %}
{% endif %} {% if cred.is_latest %}
{% trans "Edit" %} {% trans "History" %} {% if not delete %}{% trans "Delete" %}{% endif %} {% if not cred.is_deleted %} {% trans "Add to Change Queue" %} {% endif %} {% if cred.is_deleted and not undelete %} {% trans "Undelete" %} {% endif %}

{% endif %} {% if cred.url %}{% endif %} {% if cred.attachment %} {% endif %}
{% trans "URL" %}{{ cred.url }}
{% trans "Username" %} {% if cred.username %} {{ cred.username }} {% endif %}
{% trans "Password" %} Fetching Password...
{% trans "Attachment" %}{% trans "Download" %} {{ cred.attachment_name }}
{% trans "Group" %}{{ cred.group.name }}
{% trans "Tags" %}{% for t in cred.tags.all %}{{ t.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% trans "Last Changed" %}{{ cred.modified }}
{% trans "Created" %}{{ cred.created }}
{% trans "Description:" %} {% if cred.descriptionmarkdown %}
{% markdown_cred cred.description %}
{% else %}
{{ cred.description }}
{% endif %} {% if delete %}
{% csrf_token %}
{% endif %} {% if undelete %}
{% csrf_token %}
{% endif %} {% if not delete %} {% if credlogs %} {% include "credaudit_list.html" with type='user' %} {% endif %} {% endif %} {% endblock %}