ish_manager 0.1.8.215 → 0.1.8.216

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
  SHA256:
3
- metadata.gz: 9791d88698bca243d242655198761878359131f3101117d2451cef018afe5bb6
4
- data.tar.gz: 15f1b4e28488b8c160097203e304c0d874dcff4be3501b537a3ed23b9237246f
3
+ metadata.gz: 1b5a6397946f98611b448657c8ae78a4f18012c40b2e3cc696eed13b7acb78f4
4
+ data.tar.gz: 046eddb0c9c5876f8fbceae118e373ee02997db43ad1ccf83b49c0c1cd064b7e
5
5
  SHA512:
6
- metadata.gz: 7169b82928108aaa8a6bbc1306037899f9bea30623ee40a16cf7ec63064a8e3332557e538f2af63264ab1b0a00f68461e8aa610546d848c4bd1d5ae651827338
7
- data.tar.gz: b86760c6d526595e2a10971fc3e493b5c11d1ae25f93204eb2e0536686ada3242936dd640087b4c2027007acd470449fdaf4eaea3bd4fd743b944965c05d09e2
6
+ metadata.gz: 1b9ce87b17e16bd5e409cc146f7f41cf3aa8881afe9485e0040042d8342193d81845c2cb3ca389dce1508a7182c670053d6a7054a895753fa782ce11ae4e17dd
7
+ data.tar.gz: fe37678bcf85c80b629afa1aecdf09544a1267953dcd45ece3c3999386d24533a0f054f2db9d83b18027fc3d539e90465007c5206387aac958e41e314e171806
@@ -2,7 +2,7 @@
2
2
  -#
3
3
  -# ish_manager / cities / show
4
4
  -#
5
-
5
+
6
6
  = render 'header', :city => @city
7
7
  .row
8
8
  .col-sm-6
@@ -0,0 +1,34 @@
1
+
2
+ -# = render 'ish_manager/sites/header', :site => @site if @site
3
+
4
+ = render 'ish_manager/galleries/menu'
5
+
6
+ - n_thumbs ||= 8
7
+ - param_name ||= :galleries_page
8
+
9
+ - if @galleries.length > 0
10
+ .galleries--list
11
+ - if @galleries.respond_to? :total_pages
12
+ = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
13
+
14
+ - @galleries.each do |g|
15
+ .panel
16
+ .panel-body
17
+ %h3
18
+ = link_to '[~]', edit_gallery_path( g )
19
+ = link_to g.name, gallery_path(g.galleryname)
20
+ = render 'meta', :item => g
21
+
22
+ -# = render 'meta', :item => g
23
+ - if g.photos.length == 0
24
+ = image_missing
25
+ - else
26
+ - g.photos.limit( n_thumbs ).each do |photo|
27
+ = link_to image_tag(photo.photo.url(:thumb), :alt => g.name, :class => :thumb ), gallery_path(g.galleryname)
28
+
29
+ - if @galleries.respond_to? :total_pages
30
+ = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
31
+
32
+ - else
33
+ %h5 No Galleries
34
+
@@ -1,35 +1 @@
1
-
2
- -# = render 'ish_manager/sites/header', :site => @site if @site
3
-
4
- = render 'menu'
5
-
6
-
7
- - n_thumbs ||= 8
8
- - param_name ||= :galleries_page
9
-
10
- - if @galleries.length > 0
11
- .galleries--list
12
- - if @galleries.respond_to? :total_pages
13
- = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
14
-
15
- - @galleries.each do |g|
16
- .panel
17
- .panel-body
18
- %h3
19
- = link_to '[~]', edit_gallery_path( g )
20
- = link_to g.name, gallery_path(g.galleryname)
21
- = render 'meta', :item => g
22
-
23
- -# = render 'meta', :item => g
24
- - if g.photos.length == 0
25
- = image_missing
26
- - else
27
- - g.photos.limit( n_thumbs ).each do |photo|
28
- = link_to image_tag(photo.photo.url(:thumb), :alt => g.name, :class => :thumb ), gallery_path(g.galleryname)
29
-
30
- - if @galleries.respond_to? :total_pages
31
- = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
32
-
33
- - else
34
- %h5 No Galleries
35
-
1
+ = render 'index'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.215
4
+ version: 0.1.8.216
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -261,6 +261,7 @@ files:
261
261
  - app/views/ish_manager/features/show.haml
262
262
  - app/views/ish_manager/friends/index.haml
263
263
  - app/views/ish_manager/galleries/_form.haml
264
+ - app/views/ish_manager/galleries/_index.haml
264
265
  - app/views/ish_manager/galleries/_menu.haml
265
266
  - app/views/ish_manager/galleries/_thumbs.haml
266
267
  - app/views/ish_manager/galleries/_title.haml