Fixed wrong permissions: can_create_applications instead of can_manage_applications
This commit is contained in:
parent
bc25937aa0
commit
e9ac336b61
@ -10,8 +10,10 @@
|
|||||||
<h1>
|
<h1>
|
||||||
{% trans "Motions" %}
|
{% trans "Motions" %}
|
||||||
<small class="pull-right">
|
<small class="pull-right">
|
||||||
{% if perms.application.can_manage_application %}
|
{% if perms.application.can_create_application %}
|
||||||
<a href="{% url application_new %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'New motion' %}"><i class="icon-plus"></i> {% trans "New" %}</a>
|
<a href="{% url application_new %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'New motion' %}"><i class="icon-plus"></i> {% trans "New" %}</a>
|
||||||
|
{% endif %}
|
||||||
|
{% if perms.application.can_manage_application %}
|
||||||
<a href="{% url application_import %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Import motions' %}"><i class="icon-share-alt"></i> {% trans 'Import' %}</a>
|
<a href="{% url application_import %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Import motions' %}"><i class="icon-share-alt"></i> {% trans 'Import' %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{% url print_applications %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Print all motions as PDF' %}"><i class="icon-print"></i> PDF</a>
|
<a href="{% url print_applications %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Print all motions as PDF' %}"><i class="icon-print"></i> PDF</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user