debian-mirror-gitlab/app/views/layouts/admin.html.haml

12 lines
406 B
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- page_title _("Admin Area")
- header_title _("Admin Area"), admin_root_path
2018-03-17 18:26:18 +05:30
- nav "admin"
- @left_sidebar = true
2015-09-11 14:41:01 +05:30
2021-03-11 19:13:27 +05:30
-# This active_nav_link check is also used in `app/views/layouts/nav/sidebar/_admin.html.haml`
- is_application_settings = active_nav_link?(controller: [:application_settings, :integrations])
- enable_search_settings if is_application_settings
2015-09-11 14:41:01 +05:30
= render template: "layouts/application"