{% extends 'base.html' %} {% load staticfiles %} {% load i18n %} {% block button_bar %} {% if edit_url %} {% trans 'edit'|capfirst %} {% endif %} {% if not edit_user_hint %}
{% csrf_token %} {% if not object.is_active %} {% trans 'activate'|capfirst %} {% else %} {% trans 'deactivate'|capfirst %} {% endif %}
{% endif %} {% if create_url %} {% trans 'add'|capfirst %} {% endif %} {% endblock button_bar %} {% comment %} generalized detail view template {% endcomment %} {% block content %} {% for v in object_info %} {% endfor %} {% block extra_rows %} {% endblock extra_rows %}
{{ object }}   {% if not object.is_active %} ({% trans 'inactive' %}) {% endif %}
{{ v.0 }} {% if v.1 %} {# place related stuff (fk or file links) into links #} {% if v.2 %} {# fk provided? #} {% if v.4 %} {{ v.1 }} {% else %} {{ v.1 }} {% endif %} {% else %} {{ v.1 }} {% endif %} {% endif %}
{% trans 'last modified' %}: {{ last_modified }} {% trans 'change history' %}
{% block extra %} {% endblock extra %}
{% endblock content %}