Fix layout links. Refs #2162
This commit is contained in:
parent
fcb9007a47
commit
07c2ab13c2
|
@ -45,8 +45,8 @@
|
|||
%a{:href => roles_path}= t("layout.menu.roles")
|
||||
-if current_user.can_perform?('personal_repositories', 'show')
|
||||
%li{:class => controller.controller_path == 'personal_repositories' ? 'active' : '' }
|
||||
-#%a{:href => personal_repository_path( current_user.personal_repository.id )}= t("layout.menu.personal_repository")
|
||||
-#if current_user.can_perform?('auto_build_lists', 'index')
|
||||
%a{:href => personal_repository_path( current_user.personal_repository.id )}= t("layout.menu.personal_repository")
|
||||
- if current_user.can_perform?('auto_build_lists', 'index')
|
||||
%li{:class => controller.controller_path == 'auto_build_lists' ? 'active' : '' }
|
||||
%a{:href => auto_build_lists_path}= t("layout.menu.auto_build_lists")
|
||||
#wrapper.wat-cf
|
||||
|
|
Loading…
Reference in New Issue