% prevent_edit = User.current.allowed_to?(:update_tasks, defined?(project) ? project : task.project) ? '' : 'prevent_edit'%>
>
<%= work_package_link_or_empty(task) %>
<%= id_or_empty(task) %>
<%= task.subject %>
<%= assignee_name_or_empty(task) %>
<%= assignee_id_or_empty(task) %>
<%= remaining_hours(task) %>