{% extends 'base.html' %} {% load crispy_forms_tags %} {% load ui_extras %} {% block title %} {{ credential }} {% endblock %} {% block content_header %}

{{ credential.name }} {% if not credential.is_active %}(Deleted){% endif %}

Edit
{% csrf_token %} {% if credential.is_active %}
{% else %} {% endif %}
{% endblock %} {% block content %}

Platform: {{ credential.get_platform_display }}

{{ credential.token|json }}

Date Added: {{ credential.date_added }}

Active: {{ credential.is_active|yesno:"Yes,No" }}

Collections Using This Credential

{% if collection_list %} {% for collection in collection_list %} {% has_collection_set_based_permission collection as has_perm %} {% endfor %}
Collection On/off
{% if has_perm %}{% endif %}{{ collection.collection_set.name}} > {{ collection.name }}{% if has_perm %}{% endif %} {% if collection.is_on %} On {% else %} Off {% endif %}
{% else %}

No corresponding collections.

{% endif %}

Change log

{% include "ui/diff_snippet.html" with log_entries=credential.log_entries %}
{% endblock %}