{% extends "fpr/app_layout.html" %} {% load i18n %} {% block title %}{{ block.super }} - {% blocktrans with description=format.description %}Format {{ description }}{% endblocktrans %}{% endblock title %} {% block page_title %}{% blocktrans with description=format.description %}Format {{ description }}{% endblocktrans %}{% endblock page_title %} {% block breadcrumbs %} {{ block.super }}
  • {% trans "Formats" %}
  • {{ format.description }}
  • {% endblock breadcrumbs %} {% block app_content %}
    {% include 'fpr/_sidebar.html' %}
    {% trans "UUID" %}
    {{ format.uuid }}
    {% trans "Description" %}
    {{ format.description }}
    {% trans "Group" %}
    {% if request.user.is_superuser %} {{ format.group }} {% else %} {{ format.group }} {% endif %}
    {% if request.user.is_superuser %}
    {% trans "Actions" %}
    {% trans "Edit" %}
    {% endif %}

    {% trans "Specific versions" %}

    {% if request.user.is_superuser %}

    {% trans "Create new format version" %}

    {% endif %} {% if format_versions %} {% for version in format_versions %} {% endfor %}
    {% trans "Description" %} {% trans "Version" %} {% trans "Pronom ID" %} {% trans "Access format?" %} {% trans "Preservation format?" %} {% trans "Enabled" %} {% trans "Actions" %}
    {{ version.description }} {% if version.version %}{{ version.version }}{% endif %} {% if version.pronom_id %}{{ version.pronom_id}}{% endif %} {{ version.access_format|yesno:_("Yes,No") }} {{ version.preservation_format|yesno:_("Yes,No") }} {{ version.enabled }} {% trans "View" %} {% if request.user.is_superuser %} | {% trans "Replace" %} | {{ version.enabled|yesno:_("Disable,Enable") }} {% endif %}
    {% else %}

    {% blocktrans with description=format.description %} No versions exist for {{ description }}. {% endblocktrans %}

    {% endif %}
    {% endblock app_content %}