Description:
disabled unused menu items
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r231:4f0fc6ead86a - - 1 file changed: 3 inserted, 3 deleted
@@ -17,28 +17,28 | |||
|
17 | 17 | append_to menu_items, '[Contests]', 'contests', 'index' |
|
18 | 18 | append_to menu_items, '[Sites]', 'sites', 'index' |
|
19 | 19 | append_to menu_items, '[System config]', 'configurations', 'index' |
|
20 | 20 | menu_items << "<br/>" |
|
21 | 21 | end |
|
22 | 22 | |
|
23 | 23 | # main page |
|
24 | 24 | append_to menu_items, "[#{I18n.t 'menu.main'}]", 'main', 'list' |
|
25 | 25 | append_to menu_items, "[#{I18n.t 'menu.messages'}]", 'messages', 'list' |
|
26 | 26 | |
|
27 | 27 | if (user!=nil) and (Configuration.show_tasks_to?(user)) |
|
28 | 28 | append_to menu_items, "[#{I18n.t 'menu.tasks'}]", 'tasks', 'list' |
|
29 | - append_to menu_items, "[#{I18n.t 'menu.submissions'}]", 'main', 'submission' | |
|
30 | - append_to menu_items, "[#{I18n.t 'menu.test'}]", 'test', 'index' | |
|
29 | + #append_to menu_items, "[#{I18n.t 'menu.submissions'}]", 'main', 'submission' | |
|
30 | + #append_to menu_items, "[#{I18n.t 'menu.test'}]", 'test', 'index' | |
|
31 | 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 | 34 | if Configuration['system.user_setting_enabled'] |
|
35 | 35 | append_to menu_items, "[#{I18n.t 'menu.settings'}]", 'users', 'index' |
|
36 | 36 | end |
|
37 | 37 | append_to menu_items, "[#{I18n.t 'menu.log_out'}]", 'main', 'login' |
|
38 | 38 | |
|
39 | 39 | menu_items |
|
40 | 40 | end |
|
41 | 41 | |
|
42 | 42 | def append_to(option,label, controller, action) |
|
43 | 43 | option << ' ' if option!='' |
|
44 | 44 | option << link_to_unless_current(label, |
You need to be logged in to leave comments.
Login now