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