##// END OF EJS Templates
Adds a 'Create and continue' button on the new issue form, that will create the issue and display the form again (#2523)....
Adds a 'Create and continue' button on the new issue form, that will create the issue and display the form again (#2523). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2265 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2208:2355324d73e2
r2263:ffa6c5fe3e1e
Show More
_project_selector.rhtml
12 lines | 806 B | text/html+ruby | RhtmlLexer
/ app / views / layouts / _project_selector.rhtml
<% user_projects_by_root = User.current.projects.find(:all, :include => :parent).group_by(&:root) %>
<select onchange="if (this.value != '') { window.location = this.value; }">
<option selected="selected"><%= l(:label_jump_to_a_project) %></option>
<option disabled="disabled">---</option>
<% user_projects_by_root.keys.sort.each do |root| %>
<%= content_tag('option', h(root.name), :value => url_for(:controller => 'projects', :action => 'show', :id => root, :jump => current_menu_item)) %>
<% user_projects_by_root[root].sort.each do |project| %>
<% next if project == root %>
<%= content_tag('option', ('&#187; ' + h(project.name)), :value => url_for(:controller => 'projects', :action => 'show', :id => project, :jump => current_menu_item)) %>
<% end %>
<% end %>
</select>