Commit db0dabfe4c30e26dc4932ba3bef71043457822e1

Authored by Victor Costa
1 parent 25c05b5b

Preview images for highlights block

app/helpers/box_organizer_helper.rb
... ... @@ -41,7 +41,7 @@ module BoxOrganizerHelper
41 41  
42 42 content_tag(:ul,
43 43 images_path.map do |preview|
44   - content_tag(:li, image_tag(preview, height: '240', width: '384', alt: ''))
  44 + content_tag(:li, image_tag(preview, height: '240', alt: ''))
45 45 end.join("\n")
46 46 )
47 47 end
... ...
app/models/highlights_block.rb
... ... @@ -22,7 +22,7 @@ class HighlightsBlock < Block
22 22 end
23 23  
24 24 def self.description
25   - _('Highlights')
  25 + _('Creates image slideshow')
26 26 end
27 27  
28 28 def featured_images
... ...
public/images/blocks/highlights_block/previews/edit_block.png 0 → 100644

31.4 KB

public/images/blocks/highlights_block/previews/show_block.png 0 → 100644

73.5 KB