30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
{% extends "admin/base_site.html" %}
|
|
{% load i18n %}
|
|
|
|
{% 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 %}
|
|
|
|
{% block title %}{% blocktrans %}Template: {{ name }}{% endblocktrans %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>{% blocktrans %}Template: "{{ name }}"{% endblocktrans %}</h1>
|
|
|
|
{% regroup templates|dictsort:"site_id" by site as templates_by_site %}
|
|
{% for group in templates_by_site %}
|
|
<h2>{% blocktrans with group.grouper as grouper %}Search path for template "{{ name }}" on {{ grouper }}:{% endblocktrans %}</h2>
|
|
<ol>
|
|
{% for template in group.list|dictsort:"order" %}
|
|
<li><code>{{ template.file }}</code>{% if not template.exists %} <em>{% trans '(does not exist)' %}</em>{% endif %}</li>
|
|
{% endfor %}
|
|
</ol>
|
|
{% endfor %}
|
|
|
|
<p class="small"><a href="{% url 'django-admindocs-docroot' %}">‹ {% trans 'Back to Documentation' %}</a></p>
|
|
{% endblock %}
|