summaryrefslogtreecommitdiff
path: root/app/lib/grappelli/templates/admin_doc/template_detail.html
blob: 52935dd9108062f524510407a830f7a5282ba2d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "admin/base_site.html" %}
{% load adminmedia %}
{% load i18n %}
{% block bodyclass %}documentation{% endblock %}
{% block breadcrumbs %}<div id="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 %}