template update

This commit is contained in:
khashashin 2017-09-14 16:16:33 +02:00
parent f308176e37
commit fd2ccf68eb

View file

@ -1,7 +1,11 @@
{% extends "modeladmin/index.html %} {% extends "modeladmin/index.html %}
{% block header_extra %} {% block header_extra %}
{% include 'modeladmin/includes/button.html' with button=view.button_helper.export_button %} {% if user_can_create %}
<a href="#">My New Button</a> <div class="right">
{{ block.super }}{% comment %}Display the original buttons {% endcomment %} <div class="addbutton">
{% include 'modeladmin/includes/button.html' with button=view.button_helper.export_button %}
</div>
</div>
{% endif %}
{% endblock %} {% endblock %}