Project

General

Profile

Feature #1069 » help_menu_in_new_window.txt

patch for opening help in a new window - Vijay Kiran, 2008-04-24 14:57

 
1
Index: lib/redmine.rb
2
===================================================================
3
--- lib/redmine.rb	(revision 1354)
4
+++ lib/redmine.rb	(working copy)
5
@@ -97,7 +97,7 @@
6
   menu.push :my_page, { :controller => 'my', :action => 'page' }, :html => { :class => 'mypage' }, :if => Proc.new { User.current.logged? }
7
   menu.push :projects, { :controller => 'projects', :action => 'index' }, :caption => :label_project_plural, :html => { :class => 'projects' }
8
   menu.push :administration, { :controller => 'admin', :action => 'index' }, :html => { :class => 'admin' }, :if => Proc.new { User.current.admin? }
9
-  menu.push :help, Redmine::Info.help_url, :html => { :class => 'help' }
10
+  menu.push :help, Redmine::Info.help_url, :html => { :class => 'help', :target => '_blank'}
11
 end
12
 
13
 Redmine::MenuManager.map :account_menu do |menu|
(1-1/3)