RE: Patch for the Redmine Collapse plugin ยป collapse_plugin_i18n_tabs.patch
vendor/plugins/redmine_collapse/lib/collapse_application_helper_patch.rb | ||
---|---|---|
45 | 45 |
def left_menu_tabs |
46 | 46 |
# Don't render the projects-tab unless specifically configured |
47 | 47 |
if Setting.plugin_redmine_collapse['show_projects_tab'] == '1' |
48 |
tabs = [ { :name => 'actions', :label => l(:label_actions_tab), :partial => 'left_menu/actions.rhtml' },
|
|
49 |
{ :name => 'projects', :label => l(:label_projects_tab), :partial => 'left_menu/projects.rhtml' } ]
|
|
48 |
tabs = [ { :name => 'actions', :label => :label_actions_tab, :partial => 'left_menu/actions.rhtml' },
|
|
49 |
{ :name => 'projects', :label => :label_projects_tab, :partial => 'left_menu/projects.rhtml' } ]
|
|
50 | 50 |
else |
51 |
tabs = [ { :name => 'actions', :label => l(:label_actions_tab), :partial => 'left_menu/actions.rhtml' } ]
|
|
51 |
tabs = [ { :name => 'actions', :label => :label_actions_tab, :partial => 'left_menu/actions.rhtml' } ]
|
|
52 | 52 |
end |
53 | 53 |
return tabs |
54 | 54 |
end |