Description:
disabled unused menu items
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r231:4f0fc6ead86a - - 1 file changed: 3 inserted, 3 deleted

@@ -23,16 +23,16
23 # main page
23 # main page
24 append_to menu_items, "[#{I18n.t 'menu.main'}]", 'main', 'list'
24 append_to menu_items, "[#{I18n.t 'menu.main'}]", 'main', 'list'
25 append_to menu_items, "[#{I18n.t 'menu.messages'}]", 'messages', 'list'
25 append_to menu_items, "[#{I18n.t 'menu.messages'}]", 'messages', 'list'
26
26
27 if (user!=nil) and (Configuration.show_tasks_to?(user))
27 if (user!=nil) and (Configuration.show_tasks_to?(user))
28 append_to menu_items, "[#{I18n.t 'menu.tasks'}]", 'tasks', 'list'
28 append_to menu_items, "[#{I18n.t 'menu.tasks'}]", 'tasks', 'list'
29 - append_to menu_items, "[#{I18n.t 'menu.submissions'}]", 'main', 'submission'
29 + #append_to menu_items, "[#{I18n.t 'menu.submissions'}]", 'main', 'submission'
30 - append_to menu_items, "[#{I18n.t 'menu.test'}]", 'test', 'index'
30 + #append_to menu_items, "[#{I18n.t 'menu.test'}]", 'test', 'index'
31 end
31 end
32 - append_to menu_items, "[#{I18n.t 'menu.help'}]", 'main', 'help'
32 + #append_to menu_items, "[#{I18n.t 'menu.help'}]", 'main', 'help'
33
33
34 if Configuration['system.user_setting_enabled']
34 if Configuration['system.user_setting_enabled']
35 append_to menu_items, "[#{I18n.t 'menu.settings'}]", 'users', 'index'
35 append_to menu_items, "[#{I18n.t 'menu.settings'}]", 'users', 'index'
36 end
36 end
37 append_to menu_items, "[#{I18n.t 'menu.log_out'}]", 'main', 'login'
37 append_to menu_items, "[#{I18n.t 'menu.log_out'}]", 'main', 'login'
38
38
You need to be logged in to leave comments. Login now