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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32c4230bdfdbbaf2deae688c3460f689a2cb4b24
4
- data.tar.gz: 484358eda8d61f03afb19efcd8e5d0295d49610f
3
+ metadata.gz: 56efd2330fe8b7f52f39c203f30416e2b9f450da
4
+ data.tar.gz: b9c8d765cbd1402387f324d1f84cd797145f5f67
5
5
  SHA512:
6
- metadata.gz: fc5cd96e2b88fd93aafa1e540b4be4c32ae2b06d3ec396fd74421bc9588ffd5d4cdf5185818890cd8bdf6fdd79c31d2833c3f973b5b1111f8eaf787e5932c910
7
- data.tar.gz: d28dbd78fc8122d4d1b7c17f680d4e4f02438d1bc7d78a90f875423f0c8a6f3235aedf5dd3078982a49f375758b81679cfb54b1688e9f906894121ce10e5a33c
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
- <h3><%= picture_gallery.name %></h3>
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="page-actions">
7
- <div class="btn-group" role="group">
8
- <%= link_to Ecm::Pictures::PictureGallery.model_name.human(:count => :other), ecm_pictures_picture_galleries_path, :class => 'btn btn-primary' %>
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="page-actions">
9
- <div class="btn-group" role="group">
10
- <%= link_to(@picture.picture_gallery, @picture.picture_gallery, :class => 'btn btn-primary') if @picture.picture_gallery.present? %>
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>
@@ -14,4 +14,6 @@ de:
14
14
  picture_gallery:
15
15
  warnings:
16
16
  missing: "Die Galerie %{name} wurde nicht gefunden."
17
-
17
+ views:
18
+ actions:
19
+ back: 'Zurück'
@@ -1,5 +1,6 @@
1
1
  en:
2
- back: back
2
+ active_admin:
3
+ delete_link: Remove Link"
3
4
  ecm:
4
5
  pictures:
5
6
  actions:
@@ -12,4 +13,6 @@ en:
12
13
  picture_gallery:
13
14
  warnings:
14
15
  missing_gallery: "Could not find picture gallery %{name}"
15
-
16
+ views:
17
+ actions:
18
+ back: 'Back'
@@ -1,6 +1,6 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
6
6
 
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.3
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-25 00:00:00.000000000 Z
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: sqlite3
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: twitter-bootstrap-rails
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: devise
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: thin
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: yard
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: coffee-rails
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: less-rails
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: therubyracer
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
@@ -1,5 +0,0 @@
1
- .picture-gallery .row-fluid [class*="span"] {
2
- margin-left: 0px;
3
- margin-right: 1.9%;
4
- }
5
-