Sha256: d08a443d7c0b38b6877fa13b390a152faaf620ebebce0d7eb0de929006de90fc
Contents?: true
Size: 888 Bytes
Versions: 10
Compression:
Stored size: 888 Bytes
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') %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('mail') - else = link_to spina.admin_inquiries_path do = icon('mail') %li{class: ('active' if %w[accounts users tenants].include? controller_name)} = link_to spina.edit_admin_account_path do = icon('cog') %li.bottom = link_to spina.admin_logout_path, data: {no_turbolink: true} do = icon('power-off')
Version data entries
10 entries across 10 versions & 1 rubygems