app/views/wco/galleries/_title.haml in wco_models-3.1.0.67 vs app/views/wco/galleries/_title.haml in wco_models-3.1.0.69
- old
+ new
@@ -4,10 +4,10 @@
Gallery
= link_to gallery.name, gallery_path(gallery)
(#{gallery.photos.length})
= link_to '[~]', edit_gallery_path( gallery )
.d-inline-block= button_to 'x', gallery_path(gallery), method: :delete, data: { confirm: 'Are you sure?' }
- - if gallery.is_public && !gallery.is_trash && !gallery.is_done
+ - if gallery.is_public
%i.material-icons visibility
- else
%i.material-icons visibility_off
%ul
%li slug :: #{gallery.slug}