Commit 1b254e74300b4f91db1bb43e3967ccb4ff3d31e7
1 parent
526b9231
Exists in
master
and in
9 other branches
Display reject details when it is the default decision
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
views/tasks/_task.html.erb
| ... | ... | @@ -41,6 +41,10 @@ |
| 41 | 41 | <% end %> |
| 42 | 42 | </div><!-- class="task_decisions" --> |
| 43 | 43 | |
| 44 | + <% if task.default_decision=='reject' %> | |
| 45 | + <script>$("#decision-cancel-<%= task.id %>").click();</script> | |
| 46 | + <% end %> | |
| 47 | + | |
| 44 | 48 | <div class="task_date"><%= show_time(task.created_at) %></div> |
| 45 | 49 | |
| 46 | 50 | <%= render :partial => 'task_title', :locals => {:task => task} %> | ... | ... |