diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 5efb94a4d..da48d92ad 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -45,10 +45,10 @@ %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') - %li{:class => controller.controller_path == 'auto_build_lists' ? 'active' : '' } - %a{:href => auto_build_lists_path}= t("layout.menu.auto_build_lists") + %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 = render :partial => "layouts/flashes" #main