Commit 9523fc5c3008fb86d6873b183703c9f401fa96ce

Authored by Victor Costa
1 parent 13eb5d95

Fix generic task partial

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
views/tasks/_task.html.erb
1 1 <div class="task_box" id="task-<%= task.id %>">
2 2  
3   - <div class="task-proposal-source"><b><%= _('Source') %>:</b> <%= task.proposal_source %></div>
  3 + <% if task.respond_to?(:proposal_source) %>
  4 + <div class="task-proposal-source"><b><%= _('Source') %>:</b> <%= task.proposal_source %></div>
  5 + <% end %>
4 6 <%= render :partial => 'task_icon', :locals => {:task => task} %>
5 7  
6 8 <% if !@view_only && profile.organization? && @responsible_candidates.present? %>
... ...