diff options
Diffstat (limited to 'lib/grappelli/templates/admin_doc/template_detail.html')
-rw-r--r-- | lib/grappelli/templates/admin_doc/template_detail.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/grappelli/templates/admin_doc/template_detail.html b/lib/grappelli/templates/admin_doc/template_detail.html new file mode 100644 index 0000000..52935dd --- /dev/null +++ b/lib/grappelli/templates/admin_doc/template_detail.html @@ -0,0 +1,21 @@ +{% extends "admin/base_site.html" %} +{% load adminmedia %} +{% load i18n %} +{% block bodyclass %}documentation{% endblock %} +{% block breadcrumbs %}<div id="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › Templates › {{ 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="../../">‹ Back to Documentation</a></p> +{% endblock %} |