carrierwave_gallery 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa01a7417972f85f4a1f4bbd5bb827c4e4250559
|
4
|
+
data.tar.gz: 6fee9ee401482696414a955f27aa5610f4ce0af9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfc689e818e949fb54bb68e63eb19e2d53f8d6bcf4f53633227aedce06b5a64541eb964f2e0707303917804cb010b0b7fc27b1029a5cf533820aff59b487db7c
|
7
|
+
data.tar.gz: 7f48fa4078eefca664c80513b0fc103762b356a50e00be53334ebe5c42f33b06d8992456cff636ee61fd69540d49fe0123408f4b4151de441720ad67ff93c1a3
|
@@ -8,14 +8,14 @@
|
|
8
8
|
<% if @gallery.images.any? %>
|
9
9
|
<% @gallery.images.each do |image| %>
|
10
10
|
<div class="col-lg-3 image ajaxed">
|
11
|
-
|
12
|
-
|
11
|
+
<div class="thumbnail">
|
12
|
+
<%= render image %>
|
13
|
+
|
14
|
+
<div class="actions">
|
13
15
|
<%= link_to 'Изменить', edit_admin_gallery_image_path(@gallery, image), :class => 'btn btn-default btn-xs' %>
|
14
16
|
<%= link_to 'Удалить', admin_gallery_image_path(@gallery, image), :method => :delete, :class => 'btn btn-danger btn-xs js-delete', :remote => true %>
|
15
|
-
</
|
16
|
-
|
17
|
-
|
18
|
-
<%= render image %>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
19
|
</div>
|
20
20
|
<% end %>
|
21
21
|
<% else %>
|
@@ -1,16 +1,13 @@
|
|
1
|
-
|
2
|
-
<%= image_tag image.file.thumb.url %>
|
3
|
-
<ul class="info">
|
4
|
-
<li class="truncated">
|
5
|
-
<strong>Название:</strong> <%= image.title? ? image.title : 'не задано' %>
|
6
|
-
</li>
|
7
|
-
<li class="truncated">
|
8
|
-
<strong>ALT-тег:</strong> <%= image.alt? ? image.alt : 'не задано' %>
|
9
|
-
</li>
|
10
|
-
<li class="truncated">
|
11
|
-
<strong>Описание:</strong> <%= image.description? ? image.description : 'не задано' %>
|
12
|
-
</li>
|
13
|
-
<%= yield :image_actions %>
|
14
|
-
</ul>
|
15
|
-
</div>
|
1
|
+
<%= image_tag image.file.thumb.url %>
|
16
2
|
|
3
|
+
<ul class="info">
|
4
|
+
<li class="truncated">
|
5
|
+
<strong>Название:</strong> <%= image.title? ? image.title : 'не задано' %>
|
6
|
+
</li>
|
7
|
+
<li class="truncated">
|
8
|
+
<strong>ALT-тег:</strong> <%= image.alt? ? image.alt : 'не задано' %>
|
9
|
+
</li>
|
10
|
+
<li class="truncated">
|
11
|
+
<strong>Описание:</strong> <%= image.description? ? image.description : 'не задано' %>
|
12
|
+
</li>
|
13
|
+
</ul>
|