Commit 455ca602 authored by cermak's avatar cermak
Browse files

[FIX] Remove create report button

parent 1c2198b1
......@@ -111,9 +111,7 @@
<a class="btn btn-secondary" href="{{object.get_update_url}}">Edit local contacts</a>
<a class="btn btn-danger" href="/proposals/changestatus/{{object.slug}}/F/">Finish proposal</a>
{% endif %}
{% if object.proposer == user and object.last_status in "AFXH" %}
<a class="btn btn-primary" href="{% url 'app_report_create' proposal_slug=object.slug %}">Create a new report</a>
{% elif perms.app.change_status and object.last_status in "AFXH" %}
{% if perms.app.change_status and object.last_status in "AFXH" %}
<a class="btn btn-primary" href="{% url 'app_report_create' proposal_slug=object.slug %}">Create a report request</a>
{% endif %}
{% if object.last_status in "AFXH" %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment