ecm_pictures2 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb +6 -11
- data/app/views/ecm/pictures/picture_galleries/index.html.erb +1 -1
- data/lib/ecm/pictures/version.rb +1 -1
- metadata +2 -3
- data/app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index2.html.erb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c4230bdfdbbaf2deae688c3460f689a2cb4b24
|
4
|
+
data.tar.gz: 484358eda8d61f03afb19efcd8e5d0295d49610f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc5cd96e2b88fd93aafa1e540b4be4c32ae2b06d3ec396fd74421bc9588ffd5d4cdf5185818890cd8bdf6fdd79c31d2833c3f973b5b1111f8eaf787e5932c910
|
7
|
+
data.tar.gz: d28dbd78fc8122d4d1b7c17f680d4e4f02438d1bc7d78a90f875423f0c8a6f3235aedf5dd3078982a49f375758b81679cfb54b1688e9f906894121ce10e5a33c
|
@@ -1,17 +1,12 @@
|
|
1
|
-
<
|
2
|
-
<div class="
|
1
|
+
<div class="col-sm-6 col-md-3">
|
2
|
+
<div class="thumbnail">
|
3
3
|
<% if picture_gallery.pictures.first.respond_to?(:image) %>
|
4
|
-
|
5
|
-
<%= image_tag picture_gallery.pictures.first.image.url(:default_thumb) %>
|
6
|
-
</div>
|
4
|
+
<%= image_tag picture_gallery.pictures.first.image.url(:default_thumb) %>
|
7
5
|
<% end %>
|
8
6
|
<div class="caption">
|
9
7
|
<h3><%= picture_gallery.name %></h3>
|
10
|
-
<div class="
|
11
|
-
|
12
|
-
<div class="controls">
|
13
|
-
<%= link_to t('ecm.pictures.actions.view'), picture_gallery, :class => 'btn btn-primary' %>
|
14
|
-
<span class="pull-right small picture-count"><%= Ecm::Pictures::PictureGallery.human_attribute_name(:pictures) %>: <%= picture_gallery.pictures_count %></span>
|
8
|
+
<div class="truncate lines-3 bottom-margin-1"><%= mu(picture_gallery, :description) %></div>
|
9
|
+
<p><%= link_to t('ecm.pictures.actions.view'), picture_gallery, :class => 'btn btn-primary', :role => 'button' %></p>
|
15
10
|
</div>
|
16
11
|
</div>
|
17
|
-
</
|
12
|
+
</div>
|
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
<div class="row">
|
4
4
|
<% @picture_galleries.each do |pg| %>
|
5
|
-
<%= render :partial => 'ecm/pictures/picture_galleries/
|
5
|
+
<%= render :partial => 'ecm/pictures/picture_galleries/picture_gallery_for_index', :locals => { :picture_gallery => pg } %>
|
6
6
|
<% end %>
|
7
7
|
</div>
|
data/lib/ecm/pictures/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_pictures2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -375,7 +375,6 @@ files:
|
|
375
375
|
- app/models/ecm/pictures/picture_gallery.rb
|
376
376
|
- app/views/ecm/pictures/picture_galleries/_picture_gallery.html.erb
|
377
377
|
- app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb
|
378
|
-
- app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index2.html.erb
|
379
378
|
- app/views/ecm/pictures/picture_galleries/index.html.erb
|
380
379
|
- app/views/ecm/pictures/picture_galleries/show.html.erb
|
381
380
|
- app/views/ecm/pictures/pictures/_picture.html.erb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div class="col-sm-6 col-md-3">
|
2
|
-
<div class="thumbnail">
|
3
|
-
<% if picture_gallery.pictures.first.respond_to?(:image) %>
|
4
|
-
<%= image_tag picture_gallery.pictures.first.image.url(:default_thumb) %>
|
5
|
-
<% end %>
|
6
|
-
<div class="caption">
|
7
|
-
<h3><%= picture_gallery.name %></h3>
|
8
|
-
<p><%= mu(picture_gallery, :description) %></p>
|
9
|
-
<p><%= link_to t('ecm.pictures.actions.view'), picture_gallery, :class => 'btn btn-primary', :role => 'button' %></p>
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
</div>
|