@@ -327,7 +327,7 module ApplicationHelper | |||||
327 | # Renders the project quick-jump box |
|
327 | # Renders the project quick-jump box | |
328 | def render_project_jump_box |
|
328 | def render_project_jump_box | |
329 | return unless User.current.logged? |
|
329 | return unless User.current.logged? | |
330 | projects = User.current.memberships.collect(&:project).compact.select(&:active?).uniq |
|
330 | projects = User.current.projects.active.select(:id, :name, :identifier, :lft, :rgt).to_a | |
331 | if projects.any? |
|
331 | if projects.any? | |
332 | options = |
|
332 | options = | |
333 | ("<option value=''>#{ l(:label_jump_to_a_project) }</option>" + |
|
333 | ("<option value=''>#{ l(:label_jump_to_a_project) }</option>" + |
General Comments 0
You need to be logged in to leave comments.
Login now