debian-mirror-gitlab/app/views/layouts/admin.html.haml
2021-03-11 19:13:27 +05:30

11 lines
406 B
Text

- page_title _("Admin Area")
- header_title _("Admin Area"), admin_root_path
- nav "admin"
- @left_sidebar = true
-# 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
= render template: "layouts/application"