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/rb_stories/_story.html.erb

22 lines
1.2 KiB

<li class="model story <%= mark_if_closed(story) %> <%= cycle('odd', 'even', :name => "stories") %>" id="<%= story_html_id_or_empty(story) %>">
<div class="id">
<div class="t"><%= issue_link_or_empty(story) %></div>
<div class="v"><%= id_or_empty(story) %></div>
</div>
<div class="story_points editable" fieldname="story_points" fieldorder="4"><%= story_points_or_empty(story) %></div>
<div class="status_id editable" fieldtype="select" fieldname="status_id" fieldorder="3">
<div class="t"><%= status_label_or_default(story) %></div>
<div class="v"><%= status_id_or_default(story) %></div>
</div>
<div class="tracker_id editable" fieldtype="select" fieldname="tracker_id" fieldorder="1">
<div class="t"><%= tracker_name_or_empty(story) %>: </div>
<div class="v"><%= tracker_id_or_empty(story) %></div>
</div>
<div class="subject editable" fieldname="subject" fieldorder="2"><%=h story.subject %></div>
<div class="fixed_version_id"><%= story.fixed_version_id %></div>
<div class="higher_item_id"><%= story.higher_item.blank? ? '' : story.higher_item.id %></div>
<div class="meta">
<%= render :partial => "shared/model_errors", :object => story.errors %>
</div>
</li>