##// END OF EJS Templates
Ability to define commit keywords per tracker (#7590)....
Ability to define commit keywords per tracker (#7590). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12208 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10939:e396a0eebe07
r11978:b6cb7aa8e3b9
Show More
access_keys.rb
31 lines | 1.1 KiB | text/x-ruby | RubyLexer
Toshi MARUYAMA
remove trailing white-spaces from lib/redmine/access_keys.rb...
r7281 # Redmine - project management software
Jean-Philippe Lang
Copyright for 2013 (#12788)....
r10939 # Copyright (C) 2006-2013 Jean-Philippe Lang
Jean-Philippe Lang
Added a 'New issue' link in the main menu (accesskey 7)....
r1067 #
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
Toshi MARUYAMA
remove trailing white-spaces from lib/redmine/access_keys.rb...
r7281 #
Jean-Philippe Lang
Added a 'New issue' link in the main menu (accesskey 7)....
r1067 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Toshi MARUYAMA
remove trailing white-spaces from lib/redmine/access_keys.rb...
r7281 #
Jean-Philippe Lang
Added a 'New issue' link in the main menu (accesskey 7)....
r1067 # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
module Redmine
module AccessKeys
ACCESSKEYS = {:edit => 'e',
:preview => 'r',
:quick_search => 'f',
:search => '4',
:new_issue => '7'
}.freeze unless const_defined?(:ACCESSKEYS)
Toshi MARUYAMA
remove trailing white-spaces from lib/redmine/access_keys.rb...
r7281
Jean-Philippe Lang
Added a 'New issue' link in the main menu (accesskey 7)....
r1067 def self.key_for(action)
ACCESSKEYS[action]
end
end
end