~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to django/contrib/admindocs/templates/admin_doc/template_detail.html

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2014-09-17 14:15:11 UTC
  • mfrom: (1.3.17) (6.2.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140917141511-icneokthe9ww5sk4
Tags: 1.7-2
* Release to unstable.
* Add a migrate-south sample script to help users apply their South
  migrations. Thanks to Brian May.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
{% block content %}
16
16
<h1>{% blocktrans %}Template: "{{ name }}"{% endblocktrans %}</h1>
17
17
 
18
 
{% regroup templates|dictsort:"site_id" by site as templates_by_site %}
19
 
{% for group in templates_by_site %}
20
 
    <h2>{% blocktrans with group.grouper as grouper %}Search path for template "{{ name }}" on {{ grouper }}:{% endblocktrans %}</h2>
21
 
    <ol>
22
 
    {% for template in group.list|dictsort:"order" %}
23
 
        <li><code>{{ template.file }}</code>{% if not template.exists %} <em>{% trans '(does not exist)' %}</em>{% endif %}</li>
24
 
    {% endfor %}
25
 
    </ol>
 
18
<h2>{% blocktrans %}Search path for template "{{ name }}":{% endblocktrans %}</h2>
 
19
<ol>
 
20
{% for template in templates|dictsort:"order" %}
 
21
    <li><code>{{ template.file }}</code>{% if not template.exists %} <em>{% trans '(does not exist)' %}</em>{% endif %}</li>
26
22
{% endfor %}
 
23
</ol>
27
24
 
28
25
<p class="small"><a href="{% url 'django-admindocs-docroot' %}">&lsaquo; {% trans 'Back to Documentation' %}</a></p>
29
26
{% endblock %}