{% extends "base_nav.html" %} {% load humanize %} {% load i18n %} {% load staticfiles %} {% block "title" %}{{ secret.name }}{% endblock %} {% block "css" %} {% endblock %} {% block "js" %} {% endblock %} {% block "content" %}
{% trans "Password has been copied to your clipboard." %}
{% trans "Username has been copied to your clipboard." %}
{% trans "URL has been copied to your clipboard." %}
{% trans "Code has been copied to your clipboard." %}

{{ secret.name }} {% if secret.status != secret.STATUS_OK %} {{ secret.get_status_display }} {% endif %}

{% if readable %} {% else %} {% endif %}

{% if readable %} {% if content_type == "file" %} {% elif content_type == "password" %}
{% elif content_type == "cc" %}

{% trans "CVV" %}
{% trans "Password" %}
{% endif %} {% else %}
{% trans "You do not have access to this secret, but you may request access below. This will automatically notify some authorized users of your need to see the secret and let them grant access." %}
{% endif %}
{% if secret.url %} {% endif %} {% if secret.username %} {% endif %} {% if secret.description %} {% endif %}
{% trans "URL" %} {{ secret.url }}  
{% trans "Username" %} {{ secret.username }}  
{% trans "Description" %} {{ secret.description }}

{% if readable %}
{% if secret.status == secret.STATUS_DELETED %}   {% trans "Restore" %} {% else %}   {% trans "Delete" %} {% endif %}
{% else %} {% if access_request %} {% else %}
{% csrf_token %}
{% endif %} {% endif %}
{% trans "Changed" %} {{ secret.current_revision.created|naturalday:"Y-m-d" }}
{% trans "Changed by" %} {{ secret.current_revision.set_by.username }}
{% trans "Created" %} {{ secret.created|naturalday:"Y-m-d" }}
{% trans "Created by" %} {{ secret.created_by.username }}
{% trans "Allowed groups" %} {% blocktrans with groupcount=secret.allowed_groups.all|length %} {{ groupcount }} group(s) allowed {% endblocktrans %}
{% trans "Allowed users" %} {% blocktrans with usercount=secret.allowed_users.all|length %} {{ usercount }} user(s) allowed {% endblocktrans %}
{% endblock %}