app/views/spina/admin/shared/_navigation.html.haml in spina-0.6.21 vs app/views/spina/admin/shared/_navigation.html.haml in spina-0.6.22

- old
+ new

@@ -1,16 +1,16 @@ %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, data: {icon: 'y'} + = 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 "", spina.inbox_admin_inquiries_path, data: {icon: 'A', badge: "#{@new_messages.size}"} + = link_to t('spina.inquiries.title'), spina.inbox_admin_inquiries_path, data: {icon: 'A', badge: "#{@new_messages.size}"} - else - = link_to "", spina.admin_inquiries_path, data: {icon: 'A'} + = 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 "", spina.edit_admin_account_path, data: {icon: 'f'} + = link_to t('spina.preferences.title'), spina.edit_admin_account_path, data: {icon: 'f'} %li.bottom - = link_to "", spina.admin_logout_path, data: {icon: 'h', :"no-turbolink" => true} + = link_to t('spina.logout'), spina.admin_logout_path, data: {icon: 'h', :"no-turbolink" => true}