From c59a2a69fb38b92b6c45bcf7431d2b1a3c5dce3c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 23 Oct 2010 19:46:20 -0400 Subject: added grappelli, filebrowser, chunks and tagging to lcal repo --- lib/grappelli/templates/admin/change_list.html | 153 +++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 lib/grappelli/templates/admin/change_list.html (limited to 'lib/grappelli/templates/admin/change_list.html') diff --git a/lib/grappelli/templates/admin/change_list.html b/lib/grappelli/templates/admin/change_list.html new file mode 100644 index 0000000..e407964 --- /dev/null +++ b/lib/grappelli/templates/admin/change_list.html @@ -0,0 +1,153 @@ +{% extends "admin/base_site.html" %} + + +{% load adminmedia admin_list i18n grp_tags %} + + +{% block javascripts %} + {{ block.super }} + {% if cl.formset %} + {% url admin:jsi18n as jsi18nurl %} + + {% endif %} + {{ media }} + + +{% endblock %} + + +{% block content_title %} +

+ {{ cl.opts.verbose_name_plural|capfirst }} +

+{% endblock %} + + +{% block object-tools %} + {% if has_add_permission %} + + {% endif %} +{% endblock %} + + +{% block content %} + {% if cl.search_fields or cl.has_filters or cl.date_hierarchy %} +
+ + {% pagination cl %} + {% if cl.has_filters or cl.search_fields %} + + {% if cl.has_filters %} +
+
+ {% trans 'Filter' %} +
+ {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %} +
+
+
+ {% endif %} + + {% if cl.search_fields %} + + {% endif %} + {% endif %} +
+
+ + {% if cl.date_hierarchy %} + {% date_hierarchy cl %} + {% endif %} + {% endif %} +
{% csrf_token %} +
+ + {% if is_popup %}{% endif %} + + {% if cl.formset.errors %} +

+ {% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} +

+ {{ cl.formset.non_form_errors }} + {% endif %} + + {% if cl.formset %} + {{ cl.formset.management_form }} + {% endif %} + + {% block result_list %} + {% result_list cl %} + {% endblock %} + + {% pagination cl %} +

+ + {% if action_form and cl.full_result_count and cl.result_count %} + {% admin_actions %} + {% endif %} + + {% if cl.formset and cl.full_result_count and cl.result_count %} + + {% endif %} +
+{% endblock %} -- cgit v1.2.3