= render '/admin/cms/partials/navigation_before' %ul.navigation - if admin_page? %li= active_link_to t('admin.cms.base.sites'), admin_cms_sites_path, :active => ['admin/cms/sites'] %li= active_link_to t('cms.fortress.roles.title'), cms_fortress_roles_path %li= active_link_to t('cms.fortress.users.title'), cms_fortress_users_path - elsif design_page? - if @site && !@site.new_record? %li= active_link_to t('admin.cms.base.layouts'), admin_cms_site_layouts_path(@site) %li= active_link_to t('admin.cms.base.snippets'), admin_cms_site_snippets_path(@site) - else - if @site && !@site.new_record? %li= active_link_to t('admin.cms.base.pages'), admin_cms_site_pages_path(@site) %li= active_link_to t('admin.cms.base.files'), admin_cms_site_files_path(@site) = cms_hook :navigation = render '/admin/cms/partials/navigation_inner' = render '/admin/cms/partials/navigation_after'