ish_manager 0.1.8.159 → 0.1.8.160

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: 4cd6906e41c087c32303fd9f19417302f213c318
4
- data.tar.gz: b7b2234f19641723723cfd418c056baf4ae819b8
3
+ metadata.gz: eae76425006ac7309342177e9833bbf13ec8f41e
4
+ data.tar.gz: 127ac112594c2fa5487a198b5029d52abba7a195
5
5
  SHA512:
6
- metadata.gz: 114a1a595972b5d3fc2f691435f63dae20e907e8b60828950b973ef9c819160bfc23aab4772c522b95a403924463fd3cf8b217e4623a0570f9f9618108f350dc
7
- data.tar.gz: 984f48b469c879bf0724885f0218a833212c49777eace5c93e9f13d43660cf96ea64340a17bf05c4d2f997c30aed571daba3f96348337c17bb14f1bcc5d47822
6
+ metadata.gz: 1458877c501b56ebdf292de31ec9cfe8c3296ee367d1558f8daba9eebfbbbf692e81c1b909c4c28ce80159c685597717f2382880b6d18555a99b2a9299c38e14
7
+ data.tar.gz: 7627ffa0a9dbe2df0cef566f881708e380db392e81afaf225c1be6803326a56d9fc548945963a1445acfa80745cf28eefb40cdda45f8f6d6e34764f91e1910fe
@@ -1,40 +1,37 @@
1
- .a
2
- .b
3
- %h2
4
- = @city.name
5
- = link_to image_edit, edit_city_path(@city)
6
- <#{@city.x}, #{@city.y}>
7
- <em>#{@city.cityname}</em>
8
- %br
9
- - unless @city.profile_photo.blank?
10
- = image_tag @city.profile_photo.photo.url(:thumb)
11
1
 
12
- %ul.menu-secondary
13
- %li
14
- = link_to image_new, new_city_feature_path( @city )
15
- Features (#{@city.features.length})
16
- %li
17
- = link_to image_new, new_city_newsitem_path( @city )
18
- Newsitems (#{@city.newsitems.length})
19
- %li
20
- = link_to image_new, new_city_report_path( @city )
21
- Reports (#{@city.reports.count})
22
- %li
23
- = link_to image_new, new_city_gallery_path( @city )
24
- Galleries (#{@city.galleries.count})
25
- %li
26
- = link_to image_new, new_city_video_path( @city )
27
- Videos (#{@city.videos.count})
28
- %li
29
- = link_to image_new, new_city_venue_path( @city )
30
- = link_to 'Venues', venues_path( :city_id => @city.id )
31
- (#{@city.venues.count})
32
- %li
33
- = link_to image_new, new_city_event_path( @city )
34
- = link_to 'Events', city_events_path( @city )
35
- (#{@city.events.count})
36
- %li
37
- = link_to image_new, new_city_tag_path( @city )
38
- = link_to 'Tags', city_tags_path( @city )
39
- (#{@city.tags.count})
40
- %hr
2
+ %h2 #{@city.name} #{link_to image_edit, edit_city_path(@city)}
3
+ %ul
4
+ %li &lt;#{@city.x}, #{@city.y}&gt;
5
+ %li Cityname: <em>#{@city.cityname}</em>
6
+ - unless @city.profile_photo.blank?
7
+ %li Thumb: #{image_tag @city.profile_photo.photo.url(:thumb)}
8
+
9
+ %ul.menu
10
+ %li
11
+ = link_to image_new, new_city_feature_path( @city )
12
+ Features (#{@city.features.length})
13
+ %li
14
+ = link_to image_new, new_city_newsitem_path( @city )
15
+ Newsitems (#{@city.newsitems.length})
16
+ %li
17
+ = link_to image_new, new_city_report_path( @city )
18
+ Reports (#{@city.reports.count})
19
+ %li
20
+ = link_to image_new, new_city_gallery_path( @city )
21
+ Galleries (#{@city.galleries.count})
22
+ %li
23
+ = link_to image_new, new_city_video_path( @city )
24
+ Videos (#{@city.videos.count})
25
+ %li
26
+ = link_to image_new, new_city_venue_path( @city )
27
+ = link_to 'Venues', venues_path( :city_id => @city.id )
28
+ (#{@city.venues.count})
29
+ %li
30
+ = link_to image_new, new_city_event_path( @city )
31
+ = link_to 'Events', city_events_path( @city )
32
+ (#{@city.events.count})
33
+ %li
34
+ = link_to image_new, new_city_tag_path( @city )
35
+ = link_to 'Tags', city_tags_path( @city )
36
+ (#{@city.tags.count})
37
+ %hr
@@ -4,12 +4,14 @@
4
4
  -#
5
5
 
6
6
  = render 'header', :city => @city
7
- = render 'ish_manager/features/index', :features => @city.features, :city => @city
7
+ = render 'ish_manager/features/index', :features => @city.features, :city => @city
8
8
  = render 'ish_manager/newsitems/index', :newsitems => @city.newsitems, :city => @city
9
9
 
10
10
  .row
11
11
  .col-sm-6= render 'ish_manager/reports/index', :reports => @city.reports
12
- .col-sm-6= render 'ish_manager/galleries/index', :galleries => @city.galleries # @TODO: why not render index?
12
+ .col-sm-6
13
+ %h5 Galleries
14
+ = render 'ish_manager/galleries/index', :galleries => @city.galleries
13
15
  .row
14
16
  .col-sm-6= render 'ish_manager/videos/index', :videos => @city.videos
15
17
  .col-sm-6
@@ -19,7 +19,7 @@
19
19
  - if params[:render_type] == Gallery::RENDER_TITLES
20
20
  = render 'ish_manager/galleries/index_title', :galleries => @galleries, :param_name => :galleries_page
21
21
  - else
22
- = render 'ish_manager/galleries/list', :galleries => @galleries, :param_name => :galleries_page
22
+ = render 'ish_manager/galleries/index', :galleries => @galleries, :param_name => :galleries_page
23
23
  .col-sm-12.col-md-6
24
24
  %h4 Shared with me
25
- = render 'ish_manager/galleries/list', :galleries => @shared_galleries, :param_name => :shared_galleries_page
25
+ = render 'ish_manager/galleries/index', :galleries => @shared_galleries, :param_name => :shared_galleries_page
@@ -15,5 +15,5 @@
15
15
  %h4
16
16
  Galleries (#{@galleries.count})
17
17
  = link_to image_new, new_gallery_path
18
- = render 'ish_manager/galleries/list', :galleries => @galleries, :param_name => :galleries_page
18
+ = render 'ish_manager/galleries/index', :galleries => @galleries, :param_name => :galleries_page
19
19
 
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.159
4
+ version: 0.1.8.160
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -226,8 +226,8 @@ files:
226
226
  - app/views/ish_manager/features/show.haml
227
227
  - app/views/ish_manager/friends/index.haml
228
228
  - app/views/ish_manager/galleries/_form.haml
229
+ - app/views/ish_manager/galleries/_index.haml
229
230
  - app/views/ish_manager/galleries/_index_title.haml
230
- - app/views/ish_manager/galleries/_list.haml
231
231
  - app/views/ish_manager/galleries/_search.haml
232
232
  - app/views/ish_manager/galleries/_thumbs.haml
233
233
  - app/views/ish_manager/galleries/_title.haml