app/django/contrib/admindocs/templates/admin_doc/template_detail.html
changeset 323 ff1a9aa48cfd
equal deleted inserted replaced
322:6641e941ef1e 323:ff1a9aa48cfd
       
     1 {% extends "admin/base_site.html" %}
       
     2 {% load i18n %}
       
     3 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> &rsaquo; <a href="../../">Documentation</a> &rsaquo; Templates &rsaquo; {{ name }}</div>{% endblock %}
       
     4 
       
     5 {% block title %}Template: {{ name }}{% endblock %}
       
     6 
       
     7 {% block content %}
       
     8 <h1>Template: "{{ name }}"</h1>
       
     9 
       
    10 {% regroup templates|dictsort:"site_id" by site as templates_by_site %}
       
    11 {% for group in templates_by_site %}
       
    12     <h2>Search path for template "{{ name }}" on {{ group.grouper }}:</h2>
       
    13     <ol>
       
    14     {% for template in group.list|dictsort:"order" %}
       
    15         <li><code>{{ template.file }}</code>{% if not template.exists %} <em>(does not exist)</em>{% endif %}</li>
       
    16     {% endfor %}
       
    17     </ol>
       
    18 {% endfor %}
       
    19 
       
    20 <p class="small"><a href="../../">&lsaquo; Back to Documentation</a></p>
       
    21 {% endblock %}