app/views/layouts/spina/admin/website.html.haml in spina-0.6.24 vs app/views/layouts/spina/admin/website.html.haml in spina-0.6.25
- old
+ new
@@ -2,15 +2,17 @@
%nav#secondary
%h1= t('spina.website.title')
%ul
%li{class: ('active' if params[:controller] == "spina/admin/pages")}
- = link_to spina.admin_pages_path, data: {icon: 'B'} do
+ = link_to spina.admin_pages_path do
+ = icon('file-o')
= t('spina.website.pages')
%small= t('spina.website.pages_description')
%li{class: ('active' if params[:controller] == "spina/admin/photos" || params[:controller] == "spina/admin/attachments")}
- = link_to spina.admin_photos_path, data: {icon: 'N'} do
+ = link_to spina.admin_photos_path do
+ = icon('file-image-o')
= t('spina.website.media_library')
%small= t('spina.website.media_library_description')
- Spina.plugins(:website_resource).each do |plugin|
- if current_theme.config.plugins.include? plugin.name.downcase
\ No newline at end of file