app/views/spina/admin/images/index.html.haml in spina-1.2.0 vs app/views/spina/admin/images/index.html.haml in spina-2.0.0.alpha

- old
+ new

@@ -1,13 +1,15 @@ - content_for(:header_actions) do - if @media_folders.any? - = link_to '#', class: 'button organize-switch', data: {organize_images: t('spina.photos.organize'), done_organizing: t('spina.photos.done_organizing')} do - = icon('random') - = t('spina.photos.organize') + = link_to '#', class: 'button button-default organize-switch', data: {organize_images: t('spina.photos.organize'), done_organizing: t('spina.photos.done_organizing')} do + .button-content + = icon('random') + = t('spina.photos.organize') = link_to new_admin_media_folder_path, class: 'button button-primary', style: 'margin-right: 0; margin-left: 4px', data: {remote: true} do - = icon('plus') - =t 'spina.photos.new_folder' + .button-content + = icon('plus') + =t 'spina.photos.new_folder' .gallery-container .gallery .item.new-image-form = render 'form'