Commit 97a093f30e5b23e1bd2e9d5e472c72066ead0ecd
1 parent
bba03dc8
Exists in
master
and in
7 other branches
Fix processed view
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
views/tasks/processed.html.erb
@@ -40,7 +40,9 @@ | @@ -40,7 +40,9 @@ | ||
40 | <ul class="task-list"> | 40 | <ul class="task-list"> |
41 | <% @tasks.each do |item| %> | 41 | <% @tasks.each do |item| %> |
42 | <li class="task status-<%= item.status%>"> | 42 | <li class="task status-<%= item.status%>"> |
43 | - <div class="task-proposal-source"><b><%= _('Source') %>:</b> <%= item.proposal_source %></div> | 43 | + <% if task.respond_to?(:proposal_source) %> |
44 | + <div class="task-proposal-source"><b><%= _('Source') %>:</b> <%= item.proposal_source %></div> | ||
45 | + <% end %> | ||
44 | <div class="title"> | 46 | <div class="title"> |
45 | <%= task_information(item) %> | 47 | <%= task_information(item) %> |
46 | </div> | 48 | </div> |