1
{% extends "nexus/admin/base_site.html" %}
2
{% load staticfiles admin_list i18n %}
7
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/forms.css' %}" />
9
{% if cl.formset or action_form %}
10
{% url 'admin:jsi18n' as jsi18nurl %}
11
<script type="text/javascript" src="{{ jsi18nurl|default:'../../jsi18n/' }}"></script>
15
{% if action_form %}{% if actions_on_top or actions_on_bottom %}
16
<script type="text/javascript">
18
$(document).ready(function($) {
19
$("tr input.action-select").actions();
23
{% endif %}{% endif %}
27
{% block breadcrumb_bits %}
28
<li><a href="../../">{% trans "Model Admin" %}</a></li>
29
<li><a href="../">{{ app_label|capfirst }}</a></li>
30
<li><span>{{ cl.opts.verbose_name_plural|capfirst }}</span></li>
35
{% block object-tools %}
36
{% if has_add_permission %}
37
<ul class="object-tools">
39
<a href="add/{% if is_popup %}?_popup=1{% endif %}" class="button small">
40
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
46
{% if cl.formset.errors %}
48
{% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
50
{{ cl.formset.non_form_errors }}
52
<div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
53
<div class="clearfix">
54
{% block search %}{% search_form cl %}{% endblock %}
55
{% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %}
58
{% if cl.has_filters %}
59
<div id="changelist-filter">
60
<h2>{% trans 'Filter' %}</h2>
61
{% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %}
66
<form id="changelist-form" action="" method="post"{% if cl.formset.is_multipart %} enctype="multipart/form-data"{% endif %}>{% csrf_token %}
68
{{ cl.formset.management_form }}
71
{% block result_list %}
72
<div id="toolbar-placeholder">
73
{% if action_form and actions_on_top and cl.full_result_count %}{% admin_actions %}{% endif %}
76
{% if action_form and actions_on_bottom and cl.full_result_count %}{% admin_actions %}{% endif %}
80
{% block pagination %}{% pagination cl %}{% endblock %}