OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/tasks/_impediment.html.erb

23 lines
1.2 KiB

<div class="issue impediment <%= mark_if_closed(impediment) %>" id="issue_<%= impediment.id %>" <%= build_inline_style(impediment) %>>
<div class="id"><%= issue_link_or_empty(impediment) %></div>
<div class="subject editable" fieldtype="textarea" fieldname="subject"><%= impediment.subject %></div>
<div class="blocks editable" fieldname="blocks"><%= blocked_ids(impediment.blocks) %></div>
<div class="assigned_to_id editable" fieldtype="select" fieldname="assigned_to_id">
<div class="t"><%= assignee_name_or_empty(impediment) %></div>
<div class="v"><%= assignee_id_or_empty(impediment) %></div>
</div>
<div class="remaining_hours editable" fieldname="remaining_hours"><%= remaining_hours(impediment) %></div>
<div class="indicator"> </div>
<%- if @include_meta -%>
<div class="meta">
<div class="story_id"><%= impediment.parent_id %></div>
<div class="status_id"><%= impediment.status_id %></div>
<div class="previous"><%= impediment.right_sibling.nil? ? '' : impediment.right_sibling.id %></div>
<div class="errors">
<%- impediment.errors.each_error do |a, err| %>
<div><%= "#{l(a)} #{l(err.type)}" %></div>
<%- end %>
</div>
</div>
<%- end %>
</div>