don't misinterpret can_apply in accept button
This commit is contained in:
parent
888466f187
commit
b7c4a3b9ab
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@
|
|||
{% endif %}
|
||||
{% if can_end_review %}
|
||||
<button type="submit" class="btn btn-danger" name="reject" value="1">{% trans 'Reject' %}</button>
|
||||
<button type="submit" {% if can_apply %}disabled="disabled" {% endif %}class="btn btn-success" name="apply" value="1">{% trans 'Accept' %}</button>
|
||||
<button type="submit" {% if not can_apply %}disabled="disabled" {% endif %}class="btn btn-success" name="apply" value="1">{% trans 'Accept' %}</button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if can_start_review %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue