app/django/contrib/admin/templates/admin_doc/template_detail.html
author Todd Larsen <tlarsen@google.com>
Wed, 24 Sep 2008 02:22:12 +0000
changeset 191 80f08751f1e5
parent 54 03e267d67478
permissions -rw-r--r--
These changes should have been in r620, but somehow I did not save them, or saved over them with an old copy in the editor. Not sure...

{% 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|escape }}</div>{% endblock %}

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

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

{% regroup templates|dictsort:"site_id" by site as templates_by_site %}
{% for group in templates_by_site %}
    <h2>Search path for template "{{ name|escape }}" on {{ group.grouper }}:</h2>
    <ol>
    {% for template in group.list|dictsort:"order" %}
        <li><code>{{ template.file|escape }}</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 %}