diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-29 01:13:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-29 01:13:06 +0000 |
commit | 303ce0ae530119a8b1b7034172939b2a07532821 (patch) | |
tree | 35251a139e1441620a9b032b38e9bad300e67358 /app | |
parent | 3d895b575eade97ea2028466fd56abb6f2a5a180 (diff) | |
download | redmine-303ce0ae530119a8b1b7034172939b2a07532821.tar.gz redmine-303ce0ae530119a8b1b7034172939b2a07532821.zip |
[#9489] added invisible project scope label
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7676 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/search_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index d80d51260..f4bbc47c3 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -47,6 +47,7 @@ module SearchHelper options << [l(:label_my_projects), 'my_projects'] unless User.current.memberships.empty? options << [l(:label_and_its_subprojects, @project.name), 'subprojects'] unless @project.nil? || @project.descendants.active.empty? options << [@project.name, ''] unless @project.nil? + label_tag("scope", l(:description_project_scope), :class => "hidden-for-sighted") + select_tag('scope', options_for_select(options, params[:scope].to_s)) if options.size > 1 end |