File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
application/pay_parking/templates/admin Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -56,3 +56,13 @@ <h3><a href="{{ cl.clear_all_filters_qs }}">✖ {% translate 'Clear all fil
5656 {% endif %}
5757{% endblock %}
5858
59+ {% block object-tools-items %}
60+ {% if has_add_permission and has_customisable_statistics %}
61+ < li >
62+ < a href ="{% url cl.opts|admin_urlname:'customisable_statistics' %} " class ="viewlink ">
63+ Кастомизируемая статистика
64+ </ a >
65+ </ li >
66+ {% endif %}
67+ {{ block.super }}
68+ {% endblock %}
Original file line number Diff line number Diff line change 5151 › {{ title|capfirst }}
5252 </ div >
5353{% endblock %}
54-
55- {% block object-tools-items %}
56- {% if request.resolver_match.app_name == 'admin' %}
57- < li >
58- < a href ="{% url cl.opts|admin_urlname:'customisable_statistics' %} " class ="viewlink ">
59- Кастомизируемая статистика
60- </ a >
61- </ li >
62- {% endif %}
63- {{ block.super }}
64- {% endblock %}
You can’t perform that action at this time.
0 commit comments