[refs #510] Add resque to the admin submenu
This commit is contained in:
parent
da33173700
commit
26299c234b
|
@ -1,2 +1,2 @@
|
|||
- content_for :submenu do
|
||||
%nav= render 'layouts/menu/top', :which_menu => 'admins_menu'
|
||||
%nav= render 'layouts/menu/top', :which_menu => 'admins_menu'
|
||||
|
|
|
@ -5,3 +5,5 @@
|
|||
%li= link_to title, send(:"#{namespace}#{base}_path"), :class => top_menu_class(base)
|
||||
- if current_user.try(:admin?) and which_menu == 'top_menu'
|
||||
%li= link_to t('admins_menu_header'), admin_users_path, :class => top_menu_class('admin')
|
||||
- if current_user.try(:admin?) and which_menu == 'admins_menu'
|
||||
%li= link_to t('resque_server'), admin_resque_server_path, :class => top_menu_class('admin')
|
||||
|
|
|
@ -38,3 +38,4 @@ en:
|
|||
users: Users
|
||||
register_requests: Invites
|
||||
event_logs: Event log
|
||||
resque_server: Resque
|
||||
|
|
|
@ -38,3 +38,4 @@ ru:
|
|||
users: Пользователи
|
||||
register_requests: Инвайты
|
||||
event_logs: Лог событий
|
||||
resque_server: Resque
|
||||
|
|
Loading…
Reference in New Issue