From 91662f881e72e4f5966e79dad5d85e313c672a0a Mon Sep 17 00:00:00 2001 From: Bachurin Sergey Date: Mon, 1 Jun 2015 00:52:15 +0300 Subject: [PATCH] arrows for tables --- project/templates/docs/_base/base_list.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/templates/docs/_base/base_list.html b/project/templates/docs/_base/base_list.html index 464a992..071764d 100644 --- a/project/templates/docs/_base/base_list.html +++ b/project/templates/docs/_base/base_list.html @@ -7,7 +7,7 @@

Документор не может создать ничего, пока вы не добавите в него свои реквизиты. Заполните хотя бы те поля, которые отмечены * на странице Мои реквизиты.

{% else %} {% url url_prefix|add:'add' as url_add %} -{% with img_desc='' img_asc='' img_none='' %} +{% with img_desc='' img_asc='' img_none='' %} {% if page or obj_list_count_before_filtering > 0 %}

{{ padeji_mnoj.imenit|capfirst }}

@@ -25,6 +25,7 @@ + {% autoescape off %} {% block table_header %} @@ -39,6 +40,7 @@ {% endblock %} {% block table_header_extra %}{% endblock %} + {% endautoescape %}
Дата {% if ordering.order_field == 'doc_date' %}{% if ordering.order_type == 'asc' %}{{ img_desc }}{% else %}{{ img_asc }}{% endif %}{% else %}{{ img_none }}{% endif %}