24 lines
1.3 KiB
HTML
24 lines
1.3 KiB
HTML
{% extends "admin/base_site.html" %}
|
|
{% load adminmedia admin_list i18n %}
|
|
{% block stylesheet %}{% admin_media_prefix %}css/changelists.css{% endblock %}
|
|
{% block bodyclass %}change-list{% endblock %}
|
|
{% block userlinks %}<a href="../../doc/">{% trans 'Documentation' %}</a> / <a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}
|
|
{% if not is_popup %}{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans "Home" %}</a> › {{ cl.opts.verbose_name_plural|capfirst|escape }}</div>{% endblock %}{% endif %}
|
|
{% block coltype %}flex{% endblock %}
|
|
{% block content %}
|
|
<div id="content-main">
|
|
{% block object-tools %}
|
|
{% if has_add_permission %}
|
|
<ul class="object-tools"><li><a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink">{% blocktrans with cl.opts.verbose_name|escape as name %}Add {{ name }}{% endblocktrans %}</a></li></ul>
|
|
{% endif %}
|
|
{% endblock %}
|
|
<div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
|
|
{% block search %}{% search_form cl %}{% endblock %}
|
|
{% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %}
|
|
{% block filters %}{% filters cl %}{% endblock %}
|
|
{% block result_list %}{% result_list cl %}{% endblock %}
|
|
{% block pagination %}{% pagination cl %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|