Commit 60f4eb99f272f13eed825a7a3fa7f9620fbcec0d

Authored by Victor Costa
1 parent 1b254e74

Display reject details when it is the default decision

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
views/tasks/_task.html.erb
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 <% end %> 41 <% end %>
42 </div><!-- class="task_decisions" --> 42 </div><!-- class="task_decisions" -->
43 43
44 - <% if task.default_decision=='reject' %> 44 + <% if task.flagged_for_reproval? %>
45 <script>$("#decision-cancel-<%= task.id %>").click();</script> 45 <script>$("#decision-cancel-<%= task.id %>").click();</script>
46 <% end %> 46 <% end %>
47 47