ecm_pictures2 1.0.3 → 1.0.4
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 +1 -1
- data/app/views/ecm/pictures/picture_galleries/index.html.erb +5 -1
- data/app/views/ecm/pictures/picture_galleries/show.html.erb +4 -6
- data/app/views/ecm/pictures/pictures/index.html.erb +5 -1
- data/app/views/ecm/pictures/pictures/show.html.erb +4 -6
- data/config/locales/ecm.pictures.de.yml +3 -1
- data/config/locales/ecm.pictures.en.yml +5 -2
- data/lib/ecm/pictures/version.rb +1 -1
- metadata +24 -11
- data/app/assets/stylesheets/ecm_pictures.css.less +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56efd2330fe8b7f52f39c203f30416e2b9f450da
|
4
|
+
data.tar.gz: b9c8d765cbd1402387f324d1f84cd797145f5f67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b9944e3cb14f066dfbc42e8a83311182972ee9c2f4800ca8d50d09d9634ff50234048ef5379c500754949a6ac6f7420dd1dd10841ae6d8cf6d54f95c4d53f9e
|
7
|
+
data.tar.gz: 8857b732b77defee31aeacaa277046aa1c703d0012cac146ceba7add2b5588501086149798f2adff133a3305f1a4432e9f75b94ebb5cccc9b1869c33d6adac5f
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<%= image_tag picture_gallery.pictures.first.image.url(:default_thumb) %>
|
5
5
|
<% end %>
|
6
6
|
<div class="caption">
|
7
|
-
<
|
7
|
+
<h4><%= picture_gallery.name %></h4>
|
8
8
|
<div class="truncate lines-3 bottom-margin-1"><%= mu(picture_gallery, :description) %></div>
|
9
9
|
<p><%= link_to t('ecm.pictures.actions.view'), picture_gallery, :class => 'btn btn-primary', :role => 'button' %></p>
|
10
10
|
</div>
|
@@ -4,4 +4,8 @@
|
|
4
4
|
<% @picture_galleries.each do |pg| %>
|
5
5
|
<%= render :partial => 'ecm/pictures/picture_galleries/picture_gallery_for_index', :locals => { :picture_gallery => pg } %>
|
6
6
|
<% end %>
|
7
|
-
</div>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class="well page-actions">
|
10
|
+
<%= link_to(t('ecm.pictures.views.actions.back'), main_app.root_path, class: 'btn btn-default') %>
|
11
|
+
</div>
|
@@ -2,11 +2,9 @@
|
|
2
2
|
|
3
3
|
<%= render @picture_gallery %>
|
4
4
|
|
5
|
-
<div class="actions well">
|
6
|
-
<div class="
|
7
|
-
|
8
|
-
|
9
|
-
<%= link_to t('back'), :back, class: 'btn btn-default' %>
|
10
|
-
</div>
|
5
|
+
<div class="page-actions well">
|
6
|
+
<div class="btn-group" role="group">
|
7
|
+
<%= link_to Ecm::Pictures::PictureGallery.model_name.human(:count => :other), ecm_pictures_picture_galleries_path, :class => 'btn btn-primary' %>
|
8
|
+
<%= link_to t('ecm.pictures.views.actions.back'), :back, class: 'btn btn-default' %>
|
11
9
|
</div>
|
12
10
|
</div>
|
@@ -2,4 +2,8 @@
|
|
2
2
|
|
3
3
|
<div class="row" data-target="#modal-gallery" data-toggle="modal-gallery">
|
4
4
|
<%= render @pictures %>
|
5
|
-
</div>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<div class="well page-actions">
|
8
|
+
<%= link_to(t('ecm.pictures.views.actions.back'), main_app.root_path, class: 'btn btn-default') %>
|
9
|
+
</div>
|
@@ -4,11 +4,9 @@
|
|
4
4
|
<%= render @picture %>
|
5
5
|
</div>
|
6
6
|
|
7
|
-
<div class="actions well">
|
8
|
-
<div class="
|
9
|
-
|
10
|
-
|
11
|
-
<%= link_to t('back'), :back, class: 'btn btn-default' %>
|
12
|
-
</div>
|
7
|
+
<div class="page-actions well">
|
8
|
+
<div class="btn-group" role="group">
|
9
|
+
<%= link_to(@picture.picture_gallery, @picture.picture_gallery, :class => 'btn btn-primary') if @picture.picture_gallery.present? %>
|
10
|
+
<%= link_to t('ecm.pictures.views.actions.back'), :back, class: 'btn btn-default' %>
|
13
11
|
</div>
|
14
12
|
</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.4
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -129,7 +129,7 @@ dependencies:
|
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
132
|
+
name: thin
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - ">="
|
@@ -143,7 +143,7 @@ dependencies:
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
146
|
+
name: sqlite3
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - ">="
|
@@ -157,7 +157,7 @@ dependencies:
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
160
|
+
name: less-rails
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - ">="
|
@@ -171,7 +171,7 @@ dependencies:
|
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '0'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
174
|
+
name: therubyracer
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - ">="
|
@@ -185,7 +185,7 @@ dependencies:
|
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
|
-
name:
|
188
|
+
name: twitter-bootstrap-rails
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - ">="
|
@@ -199,7 +199,7 @@ dependencies:
|
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
|
-
name:
|
202
|
+
name: devise
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
205
|
- - ">="
|
@@ -213,7 +213,21 @@ dependencies:
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
|
-
name:
|
216
|
+
name: activeadmin
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 1.0.0.pre2
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - "~>"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 1.0.0.pre2
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: coffee-rails
|
217
231
|
requirement: !ruby/object:Gem::Requirement
|
218
232
|
requirements:
|
219
233
|
- - ">="
|
@@ -241,7 +255,7 @@ dependencies:
|
|
241
255
|
- !ruby/object:Gem::Version
|
242
256
|
version: '0'
|
243
257
|
- !ruby/object:Gem::Dependency
|
244
|
-
name:
|
258
|
+
name: yard
|
245
259
|
requirement: !ruby/object:Gem::Requirement
|
246
260
|
requirements:
|
247
261
|
- - ">="
|
@@ -365,7 +379,6 @@ files:
|
|
365
379
|
- app/admin/ecm_pictures_attached_pictures.rb
|
366
380
|
- app/admin/ecm_pictures_picture_galleries.rb
|
367
381
|
- app/admin/ecm_pictures_pictures.rb
|
368
|
-
- app/assets/stylesheets/ecm_pictures.css.less
|
369
382
|
- app/controllers/ecm/pictures/picture_galleries_controller.rb
|
370
383
|
- app/controllers/ecm/pictures/pictures_controller.rb
|
371
384
|
- app/helpers/ecm/pictures_helper.rb
|