##// END OF EJS Templates
Added issues status changes on the activity view (initial patch by Cyril Mougel)....
Added issues status changes on the activity view (initial patch by Cyril Mougel). git-svn-id: http://redmine.rubyforge.org/svn/trunk@892 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r736:827e998afef3
r879:fa95501fe5e8
Show More
_project_selector.rhtml
12 lines | 722 B | text/html+ruby | RhtmlLexer
/ app / views / layouts / _project_selector.rhtml
Jean-Philippe Lang
Application layout refactored....
r736 <% 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><%= l(:label_jump_to_a_project) %></option>
<option disabled>---</option>
<% user_projects_by_root.keys.sort.each do |root| %>
<%= content_tag('option', root.name, :value => url_for(:controller => 'projects', :action => 'show', :id => root)) %>
<% user_projects_by_root[root].sort.each do |project| %>
<% next if project == root %>
<%= content_tag('option', ('&#187; ' + project.name), :value => url_for(:controller => 'projects', :action => 'show', :id => project)) %>
<% end %>
<% end %>
</select>