Sha256: c4881187bafd1f375dc0181cccb08b0a312e1babdc812fbe94b8ffcc6767da90
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
%nav#primary %ul %li{class: ('active' if (%w[pages photos attachments] + Spina.plugins(:website_resource).map { |plugin| plugin.config.controller if current_theme.config.plugins.include?(plugin.name.downcase) }).include? controller_name)} = link_to spina.admin_pages_path do = icon('home') = t('spina.website.title') %li{class: ('active' if %w[inquiries].include? controller_name)} - if @new_messages.present? = link_to spina.inbox_admin_inquiries_path, data: {badge: "#{@new_messages.size}"} do = icon('comment') = t('spina.inquiries.title') - else = link_to spina.admin_inquiries_path do = icon('comment') = t('spina.inquiries.title') %li{class: ('active' if %w[accounts users tenants].include? controller_name)} = link_to spina.edit_admin_account_path do = icon('gear') = t('spina.preferences.title') %li.bottom = link_to spina.admin_logout_path, data: {no_turbolink: true} do = icon('power-off') = t('spina.logout')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spina-0.6.25 | app/views/spina/admin/shared/_navigation.html.haml |