##// END OF EJS Templates
[#9489] added invisible project scope label...
Toshi MARUYAMA -
r7556:303ce0ae5301
parent child
Show More
@@ -47,6 +47,7 module SearchHelper
47 options << [l(:label_my_projects), 'my_projects'] unless User.current.memberships.empty?
47 options << [l(:label_my_projects), 'my_projects'] unless User.current.memberships.empty?
48 options << [l(:label_and_its_subprojects, @project.name), 'subprojects'] unless @project.nil? || @project.descendants.active.empty?
48 options << [l(:label_and_its_subprojects, @project.name), 'subprojects'] unless @project.nil? || @project.descendants.active.empty?
49 options << [@project.name, ''] unless @project.nil?
49 options << [@project.name, ''] unless @project.nil?
50 label_tag("scope", l(:description_project_scope), :class => "hidden-for-sighted") +
50 select_tag('scope', options_for_select(options, params[:scope].to_s)) if options.size > 1
51 select_tag('scope', options_for_select(options, params[:scope].to_s)) if options.size > 1
51 end
52 end
52
53
@@ -999,3 +999,6 de:
999 setting_issue_group_assignment: Allow issue assignment to groups
999 setting_issue_group_assignment: Allow issue assignment to groups
1000 label_diff: diff
1000 label_diff: diff
1001 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1001 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1002
1003 description_project_scope: Suchbereich
1004
@@ -978,3 +978,4 en:
978 enumeration_doc_categories: Document categories
978 enumeration_doc_categories: Document categories
979 enumeration_activities: Activities (time tracking)
979 enumeration_activities: Activities (time tracking)
980 enumeration_system_activity: System Activity
980 enumeration_system_activity: System Activity
981 description_project_scope: Search scope
General Comments 0
You need to be logged in to leave comments. Login now