Sha256: ebc8e75d60eecb5493d16ea0400b644ae8eca074da4efea14f0f05d5476085d0
Contents?: true
Size: 965 Bytes
Versions: 3
Compression:
Stored size: 965 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 t('spina.website.title'), spina.admin_pages_path, data: {icon: 'y'} %li{class: ('active' if %w[inquiries].include? controller_name)} - if @new_messages.present? = link_to t('spina.inquiries.title'), spina.inbox_admin_inquiries_path, data: {icon: 'A', badge: "#{@new_messages.size}"} - else = link_to t('spina.inquiries.title'), spina.admin_inquiries_path, data: {icon: 'A'} %li{class: ('active' if %w[accounts users tenants].include? controller_name)} = link_to t('spina.preferences.title'), spina.edit_admin_account_path, data: {icon: 'f'} %li.bottom = link_to t('spina.logout'), spina.admin_logout_path, data: {icon: 'h', :"no-turbolink" => true}
Version data entries
3 entries across 3 versions & 1 rubygems