Skip to content

Commit

Permalink
Disabled quick close functionality on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyu95 committed Jun 13, 2019
1 parent 6288744 commit d695921
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions app/templates/request/view_request.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
{% if permissions['deny'] %}
<li><a href="#deny-request" data-toggle="tab">Deny</a></li>
{% endif %}
{% if permissions['acknowledge'] and permissions['close'] %}
<li><a href="#quick-close-request" data-toggle="tab">Quick Close</a></li>
{% endif %}
{# {% if permissions['acknowledge'] and permissions['close'] %}#}
{# <li><a href="#quick-close-request" data-toggle="tab">Quick Close</a></li>#}
{# {% endif %}#}
{% if generate_letters_enabled and permissions['generate_letter'] %}
<li><a href="#generate-letter" data-toggle="tab">Generate Letter</a></li>
<li><a href="#generate-envelope" data-toggle="tab">Generate Envelope</a></li>
Expand Down Expand Up @@ -141,11 +141,11 @@
</div>
{% endif %}

{% if permissions['acknowledge'] and permissions['close'] %}
<div class="tab-pane" id="quick-close-request">
{% include "response/add_quick_closing.html" %}
</div>
{% endif %}
{# {% if permissions['acknowledge'] and permissions['close'] %}#}
{# <div class="tab-pane" id="quick-close-request">#}
{# {% include "response/add_quick_closing.html" %}#}
{# </div>#}
{# {% endif %}#}

{% if permissions['add_note'] %}
<div class="tab-pane" id="add-note">
Expand Down Expand Up @@ -336,9 +336,9 @@
{% if permissions['close'] %}
{% include 'response/add_closing.js.html' %}
{% endif %}
{% if request.status != status.CLOSED and permissions['acknowledge'] and permissions['close'] and (request.status == status.OPEN or not (request.was_acknowledged or request.was_reopened)) %}
{% include 'response/add_quick_closing.js.html' %}
{% endif %}
{# {% if request.status != status.CLOSED and permissions['acknowledge'] and permissions['close'] and (request.status == status.OPEN or not (request.was_acknowledged or request.was_reopened)) %}#}
{# {% include 'response/add_quick_closing.js.html' %}#}
{# {% endif %}#}
{% if permissions['re_open'] %}
{% include 'response/add_reopening.js.html' %}
{% endif %}
Expand Down

0 comments on commit d695921

Please sign in to comment.