2006-05-02 09:31:56 +08:00
|
|
|
{% extends "admin/base_site.html" %}
|
2005-12-01 14:52:16 +08:00
|
|
|
{% load i18n %}
|
2011-09-21 02:30:06 +08:00
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
|
|
|
<div class="breadcrumbs">
|
|
|
|
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
|
|
|
|
› <a href="{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}</a>
|
|
|
|
› {% trans 'Templates' %}
|
|
|
|
› {{ name }}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2005-08-03 04:29:27 +08:00
|
|
|
|
2013-06-01 18:06:36 +08:00
|
|
|
{% block title %}{% blocktrans %}Template: {{ name }}{% endblocktrans %}{% endblock %}
|
2005-08-03 04:29:27 +08:00
|
|
|
|
|
|
|
{% block content %}
|
2013-06-01 18:06:36 +08:00
|
|
|
<h1>{% blocktrans %}Template: "{{ name }}"{% endblocktrans %}</h1>
|
2005-08-03 04:29:27 +08:00
|
|
|
|
|
|
|
{% regroup templates|dictsort:"site_id" by site as templates_by_site %}
|
|
|
|
{% for group in templates_by_site %}
|
2013-06-01 18:06:36 +08:00
|
|
|
<h2>{% blocktrans with group.grouper as grouper %}Search path for template "{{ name }}" on {{ grouper }}:{% endblocktrans %}</h2>
|
2005-08-03 04:29:27 +08:00
|
|
|
<ol>
|
|
|
|
{% for template in group.list|dictsort:"order" %}
|
2013-06-01 18:06:36 +08:00
|
|
|
<li><code>{{ template.file }}</code>{% if not template.exists %} <em>{% trans '(does not exist)' %}</em>{% endif %}</li>
|
2005-08-03 04:29:27 +08:00
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
|
|
|
{% endfor %}
|
|
|
|
|
2013-06-01 18:06:36 +08:00
|
|
|
<p class="small"><a href="{% url 'django-admindocs-docroot' %}">‹ {% trans 'Back to Documentation' %}</a></p>
|
2005-08-03 04:29:27 +08:00
|
|
|
{% endblock %}
|