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

16 lines
669 B

<!-- story helper tags -->
<select class="status_id helper" id="status_id_options">
<%- IssueStatus.find(:all, :order => "position ASC").each do |status| %>
<option value="<%= status.id %>" class="<%= (status.is_closed? ? l(:label_closed_issues) + ' ' : "") %>"><%= status.name %></option>
<%- end %>
</select>
<select class="tracker_id helper" id="tracker_id_options">
<%- Tracker.find_all_by_id(Setting.plugin_redmine_backlogs[:story_trackers]).each do |tracker| %>
<option value="<%= tracker.id %>"><%= tracker.name %></option>
<%- end %>
</select>
<div id="story_template">
<%= render :partial => 'rb_stories/story', :object => Story.new %>
</div>