app/django/contrib/admindocs/templates/admin_doc/template_detail.html
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 11 Feb 2009 23:42:03 +0000
changeset 1267 157c12589f79
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Make it possible to put fields at the end of the form This is usefull for Terms of Service etc. Patch by: Sverre Rabbelier

{% extends "admin/base_site.html" %}
{% load i18n %}
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> &rsaquo; <a href="../../">Documentation</a> &rsaquo; Templates &rsaquo; {{ name }}</div>{% endblock %}

{% block title %}Template: {{ name }}{% endblock %}

{% block content %}
<h1>Template: "{{ name }}"</h1>

{% regroup templates|dictsort:"site_id" by site as templates_by_site %}
{% for group in templates_by_site %}
    <h2>Search path for template "{{ name }}" on {{ group.grouper }}:</h2>
    <ol>
    {% for template in group.list|dictsort:"order" %}
        <li><code>{{ template.file }}</code>{% if not template.exists %} <em>(does not exist)</em>{% endif %}</li>
    {% endfor %}
    </ol>
{% endfor %}

<p class="small"><a href="../../">&lsaquo; Back to Documentation</a></p>
{% endblock %}