summaryrefslogtreecommitdiff
path: root/app/views/layouts/admin.html.haml
blob: 85fff22a3b7f9ec44dfdb824f82daab02a66d11c (plain)
1
2
3
4
5
6
7
8
9
10
11
- 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"