ish_manager 0.1.8.24 → 0.1.8.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/bg/gplaypattern.png +0 -0
  3. data/app/assets/images/bg/triangular.png +0 -0
  4. data/app/assets/stylesheets/ish_manager/application.css +9 -0
  5. data/app/controllers/ish_manager/cities_controller.rb +1 -0
  6. data/app/controllers/ish_manager/photos_controller.rb +1 -0
  7. data/app/controllers/ish_manager/videos_controller.rb +18 -3
  8. data/app/views/ish_manager/application/_meta.haml +16 -0
  9. data/app/views/ish_manager/application/_meta.haml~ +3 -0
  10. data/app/views/ish_manager/cities/_header.haml +33 -1
  11. data/app/views/ish_manager/cities/index.haml +1 -1
  12. data/app/views/ish_manager/cities/show.haml +15 -57
  13. data/app/views/ish_manager/events/_index.haml +6 -0
  14. data/app/views/ish_manager/events/_index.haml~ +7 -0
  15. data/app/views/ish_manager/features/_index.haml +7 -7
  16. data/app/views/ish_manager/features/_item.haml +9 -12
  17. data/app/views/ish_manager/galleries/_index.haml +7 -3
  18. data/app/views/ish_manager/galleries/_list_short.haml +2 -2
  19. data/app/views/ish_manager/newsitems/_index.haml +21 -15
  20. data/app/views/ish_manager/reports/_index.haml +4 -1
  21. data/app/views/ish_manager/sites/_title.haml +5 -0
  22. data/app/views/ish_manager/sites/show.haml +7 -26
  23. data/app/views/ish_manager/tags/_index.haml +10 -11
  24. data/app/views/ish_manager/users/_index.haml +5 -0
  25. data/app/views/ish_manager/users/_index.haml~ +6 -0
  26. data/app/views/ish_manager/venues/_index.haml +15 -14
  27. data/app/views/ish_manager/videos/_form.haml +1 -2
  28. data/app/views/ish_manager/videos/_index.haml +12 -3
  29. data/app/views/ish_manager/videos/edit.haml +1 -1
  30. data/app/views/ish_manager/videos/index.haml +1 -8
  31. data/app/views/ish_manager/videos/show.haml +3 -3
  32. data/config/routes.rb +6 -0
  33. metadata +11 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a38a20e38b5e29c8e5f4258bd58942a922a0b369
4
- data.tar.gz: bab59f30485aee9d86b95ef9c02627e1be30f985
3
+ metadata.gz: 79cc055b9d3e917ac21026239f608927adbafe20
4
+ data.tar.gz: cc41131395bc16f82ef15005b02c5819157e78de
5
5
  SHA512:
6
- metadata.gz: 008e4acf1a5b152bf3c947f08877224205ece3b4c356ddda3763094ce6ecb6fcb7480345e045f2dda5dc582d54a9e7d5c22814c574530d78636f527cf5f42264
7
- data.tar.gz: 604ca5f41e82ef3327774aa48aeaa613cbf279c7377b2f618d66ada64bdf544cf25ced91ae815b67c328f62af91b9df9051e48f8a0b6d2341fb19e8a786502ae
6
+ metadata.gz: 071945a0da857fcfb94340b896b714f50a77eced3fa6f48bf18ae9d56a1974b36f2fae3163f823210ef161be91be51a5dce24c2823802ab8e750039dd4b381d4
7
+ data.tar.gz: 81156a531ce00a71e6c94957c9081f8269aae09bfd5c5b1acab1e2a87ab29fb1c9f92f91b250786bad249ca367cc117bf1cc400b3b012fc87edd3a9670d1cf92
Binary file
@@ -51,3 +51,12 @@ hr {
51
51
  .clearfix {
52
52
  clear: both;
53
53
  }
54
+
55
+ .manager-galleries--index .mini {
56
+ float: left;
57
+ }
58
+
59
+ .manager-sites--title {
60
+ padding: 1em .2em;
61
+ background: url('/assets/bg/triangular.png');
62
+ }
@@ -11,6 +11,7 @@ class IshManager::CitiesController < IshManager::ApplicationController
11
11
 
12
12
  def show
13
13
  authorize! :show, @city
14
+ @videos = @city.videos.page( params[:videos_page] ).per( 10 )
14
15
  end
15
16
 
16
17
  def new
@@ -14,6 +14,7 @@ class IshManager::PhotosController < IshManager::ApplicationController
14
14
  authorize! :destroy, @photo
15
15
  @photo.is_trash = true
16
16
  @photo.save
17
+ @photo.gallery.touch
17
18
  redirect_to request.referrer || root_path
18
19
  end
19
20
 
@@ -72,7 +72,7 @@ class IshManager::VideosController < IshManager::ApplicationController
72
72
  end
73
73
 
74
74
  def edit
75
- @video = Video.unscoped.find params[:video_id]
75
+ @video = Video.unscoped.find params[:id]
76
76
  authorize! :edit, @video
77
77
 
78
78
  @tags_list = Tag.unscoped.or( { :is_public => true }, { :user_id => current_user.id } ).list
@@ -80,17 +80,32 @@ class IshManager::VideosController < IshManager::ApplicationController
80
80
  end
81
81
 
82
82
  def update
83
- @video = Video.unscoped.find params[:video_id]
83
+ @video = Video.unscoped.find params[:id]
84
84
  authorize! :update, @video
85
85
 
86
86
  @video.update params[:video].permit!
87
87
  if @video.save
88
88
  flash[:notice] = 'Success.'
89
- redirect_to organizer_path
89
+ redirect_to videos_path
90
90
  else
91
91
  flash[:error] = "No luck: #{@video.errors}"
92
92
  render :edit
93
93
  end
94
94
  end
95
+
96
+ def destroy
97
+ @video = Video.unscoped.find params[:id]
98
+ authorize! :destroy, @video
99
+ flag = @video.update_attributes( :is_trash => true )
100
+ @video.city.touch if @video.city
101
+ @video.site.touch if @video.site
102
+ @video.tag.touch if @video.tag
103
+ if flag
104
+ flash[:notice] = "deleted video"
105
+ else
106
+ flash[:alert] = "Cannot delete video: #{@video.errors.messages}"
107
+ end
108
+ redirect_to :action => 'index'
109
+ end
95
110
 
96
111
  end
@@ -0,0 +1,16 @@
1
+
2
+ .meta
3
+ - if item.city
4
+ <b>City:</b> #{link_to item.city.name, city_path( item.city )}
5
+ %br
6
+ - if item.tag
7
+ <b>Tag:</b> #{link_to item.tag.name, tag_path( item.tag )}
8
+ %br
9
+ - if item.site
10
+ <b>Site:</b>
11
+ = link_to "#{item.site.domain}/#{item.site.lang}", site_path( item.site )
12
+ %br
13
+ - if item.user
14
+ <b>User:</b> #{item.user.email}
15
+ %br
16
+
@@ -0,0 +1,3 @@
1
+
2
+ .meta
3
+
@@ -1,2 +1,34 @@
1
+ .a
2
+ .b
3
+ %h2
4
+ = @city.name
5
+ = link_to '[~]', edit_city_path(@city)
6
+ &lt;#{@city.x}, #{@city.y}&gt;
7
+ <em>#{@city.cityname}</em>
8
+ %br
9
+ - unless @city.profile_photo.blank?
10
+ = image_tag @city.profile_photo.photo.url(:thumb)
1
11
 
2
- %h5 Cities #{link_to '[+]', new_city_path}
12
+ %ul.menu-secondary
13
+ %li
14
+ = link_to '[+]', new_city_feature_path( @city )
15
+ Features (#{@city.features.length})
16
+ %li
17
+ = link_to '[+]', new_city_newsitem_path( @city )
18
+ Newsitems (#{@city.newsitems.length})
19
+ %li
20
+ = link_to '[+]', new_city_report_path( @city )
21
+ Reports (#{@city.reports.count})
22
+ %li
23
+ = link_to '[+]', new_city_gallery_path( @city )
24
+ Galleries (#{@city.galleries.count})
25
+ %li
26
+ = link_to '[+]', new_city_video_path( @city )
27
+ Videos (#{@city.videos.count})
28
+ %li
29
+ = link_to '[+]', new_city_venue_path( @city )
30
+ Venues (#{@city.venues.count})
31
+ %li
32
+ = link_to '[+]', new_city_event_path( @city )
33
+ Events (#{@city.events.count})
34
+ %hr
@@ -11,7 +11,7 @@
11
11
  = link_to city.name, city_path(city)
12
12
  = link_to '[~]', edit_city_path(city)
13
13
  .small.gray= city.id
14
- .cities-meta= "(#{city.reports.length}) (#{city.galleries.length}) (#{city.current_users.length})"
14
+ .cities-meta= "R(#{city.reports.length}) G(#{city.galleries.length}) V(#{city.videos.length}) U(#{city.current_users.length})"
15
15
 
16
16
  - if city.profile_photo.blank?
17
17
  = image_missing
@@ -1,59 +1,17 @@
1
1
 
2
- -# - title "City #{@city.name}"
3
-
2
+ -#
3
+ -# ish_manager / cities / show
4
+ -#
5
+
6
+ = render 'header', :city => @city
7
+ = render 'ish_manager/features/index', :features => @city.features, :city => @city
8
+ = render 'ish_manager/newsitems/index', :newsitems => @city.newsitems, :city => @city
4
9
  .row
5
- .large-12.columns
6
-
7
- %h2
8
- = @city.name
9
- = link_to '[~]', edit_city_path(@city)
10
-
11
- - unless @city.profile_photo.blank?
12
- = image_tag @city.profile_photo.photo.url(:thumb)
13
-
14
- %hr
15
- %ul.menu-secondary
16
- %li
17
- = link_to '[+]', new_city_feature_path( @city )
18
- Features (#{@city.features.length})
19
- %li
20
- = link_to '[+]', new_city_newsitem_path( @city )
21
- Newsitems (#{@city.newsitems.length})
22
- %li New Report
23
- %li New Gallery
24
- %li New Video
25
- %li New Venue
26
- %li New Event
27
- %li New Community
28
- %hr
29
-
30
- = render 'ish_manager/features/index', :features => @city.features, :city => @city
31
- = render 'ish_manager/newsitems/index', :newsitems => @city.newsitems, :city => @city
32
-
33
- %h3
34
- = t('reports.list')
35
- (#{@city.reports.length})
36
- %ul
37
- - @city.reports.each do |report|
38
- %li
39
- = link_to '[~]', edit_report_path(report)
40
- = report.name
41
-
42
- .galleries-list
43
- %h3
44
- = t('galleries.list')
45
- (#{@city.galleries.length})
46
- = render 'ish_manager/galleries/list_short', :galleries => @city.galleries
47
-
48
- %h3
49
- = t('users.list')
50
- (#{@city.current_users.length})
51
-
52
- %h3 Events (#{@city.events.length})
53
- %ul
54
- - @city.events.each do |event|
55
- %li= event.name
56
-
57
- = render :partial => 'ish_manager/venues/index', :locals => { :venues => @city.venues }
58
-
59
- %h3 Videos (#{@city.videos.length})
10
+ .col-sm-6= render 'ish_manager/reports/index', :reports => @city.reports
11
+ .col-sm-6= render 'ish_manager/galleries/index', :galleries => @city.galleries # @TODO: why not render index?
12
+ .row
13
+ .col-sm-6= render 'ish_manager/videos/index', :videos => @city.videos
14
+ .col-sm-6
15
+ = render 'ish_manager/users/index', :users => @city.current_users
16
+ = render 'ish_manager/events/index', :events => @city.events
17
+ = render 'ish_manager/venues/index', :venues => @city.venues
@@ -0,0 +1,6 @@
1
+ .manager-events--index
2
+ %h2 Events (#{@city.events.length})
3
+ %ul
4
+ - @city.events.each do |event|
5
+ %li= event.name
6
+ %hr
@@ -0,0 +1,7 @@
1
+ .manager-events--index
2
+ .a
3
+ %h3 Events (#{@city.events.length})
4
+ %ul
5
+ - @city.events.each do |event|
6
+ %li= event.name
7
+ %hr
@@ -13,11 +13,11 @@
13
13
  Features (#{features.length})
14
14
  = link_to '[+]', new_path
15
15
 
16
- -# = paginate features, :param_name => 'features_page'
17
- %ul.large-block-grid-4
16
+ .row
18
17
  - features.each_with_index do |feature, idx|
19
- %li
20
- = link_to '[~]', edit_url.call( feature )
21
- = link_to '[x]', delete_url.call( feature ), :method => :delete, :data => { :confirm => 'Are you sure?' }
22
- .item= render 'ish_manager/features/item', :feature => feature
23
-
18
+ .col-sm-3
19
+ .panel.panel-default
20
+ = link_to '[~]', edit_url.call( feature )
21
+ = link_to '[x]', delete_url.call( feature ), :method => :delete, :data => { :confirm => 'Are you sure?' }
22
+ = render 'ish_manager/features/item', :feature => feature
23
+ %hr
@@ -1,14 +1,11 @@
1
1
 
2
2
  .panel
3
- - if !feature.partial_name.blank?
4
- = render feature.partial_name
5
- - else
6
- - unless feature[:name].blank?
7
- %h3= link_to feature[:name].titleize, feature[:link_path]
8
- - unless feature[:image_path].blank?
9
- = link_to image_tag( feature[:image_path] ), feature[:link_path]
10
- - unless feature[:subhead].blank?
11
- .descr= raw feature[:subhead]
12
- - unless feature.report.blank?
13
- %h3= link_to feature.report.name, report_path(feature.report.name_seo)
14
- .descr= raw feature.report.subhead
3
+ - unless feature[:name].blank?
4
+ %h3= link_to feature[:name].titleize, feature[:link_path]
5
+ - unless feature[:image_path].blank?
6
+ = link_to image_tag( feature[:image_path] ), feature[:link_path]
7
+ - unless feature[:subhead].blank?
8
+ .descr= raw feature[:subhead]
9
+ - unless feature.report.blank?
10
+ %h3= link_to feature.report.name, report_path(feature.report.name_seo)
11
+ .descr= raw feature.report.subhead
@@ -1,14 +1,18 @@
1
1
 
2
+ - galleries = galleries.page( params[:galleries_page] ).per( 10 )
3
+
2
4
  .manager-galleries--index
3
5
  .row
4
- .large-12.columns
6
+ .col-sm-12
5
7
  %h2 Galleries (#{galleries.length})
6
8
 
7
9
  = paginate galleries, :param_name => :galleries_page
8
10
  %ol
9
11
  - galleries.each do |gallery|
10
12
  %li
11
- - gallery.photos.unscoped.where({ :is_trash => false })[0..4].each do |photo|
12
- .mini= image_tag photo.photo.url( :mini ), :alt => ''
13
+ - gallery.photos.unscoped.where({ :is_trash => false })[0...4].each do |photo|
14
+ .mini= image_tag photo.photo.url( :thumb ), :alt => ''
15
+ .clearfix
13
16
  #{link_to gallery.name, gallery_path( gallery )} (#{gallery.photos.unscoped.where({ :is_trash => false }).length})
14
17
  = paginate galleries, :param_name => :galleries_page
18
+ %hr
@@ -2,8 +2,8 @@
2
2
  %ul
3
3
  - galleries.each do |gallery|
4
4
  %li
5
- = link_to '[~]', edit_manager_gallery_path( gallery )
6
- = link_to gallery.name, manager_gallery_path( gallery )
5
+ = link_to '[~]', edit_gallery_path( gallery )
6
+ = link_to gallery.name, gallery_path( gallery )
7
7
  %br
8
8
  \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
9
9
  N photos: #{gallery.photos.length}
@@ -5,18 +5,24 @@
5
5
  - if defined? city
6
6
  - edit_url = ->(n) { edit_city_newsitem_path( city, n ) }
7
7
  - delete_url = ->(n) { city_newsitem_path( city, n ) }
8
-
9
- .row
10
- .small-12.columns
11
- %h2 Newsitems (#{newsitems.count})
12
- %ol
13
- - newsitems.each do |n|
14
- %li
15
- %ul
16
- %li
17
- = link_to '[~]', edit_url.call( n )
18
- = link_to '[x]', delete_url.call( n ), :method => :delete, :data => { :confirm => 'Are you sure?' }
19
- Name: #{n.name}
20
- Desc: #{n.descr}
21
- %li Report id: #{n.report_id}
22
- %li Gallery id: #{n.gallery_id}
8
+
9
+ - newsitems = newsitems.page( params[:newsitems_page] ).per( 10 )
10
+
11
+ .manager-newsitems--index
12
+ .row
13
+ .col-sm-12
14
+ %h2 Newsitems (#{newsitems.count})
15
+ = paginate newsitems, :param_name => 'newsitems_page'
16
+ %ol
17
+ - newsitems.each do |n|
18
+ %li
19
+ %ul
20
+ %li
21
+ = link_to '[~]', edit_url.call( n )
22
+ = link_to '[x]', delete_url.call( n ), :method => :delete, :data => { :confirm => 'Are you sure?' }
23
+ Name: #{n.name}
24
+ Desc: #{n.descr}
25
+ %li Report id: #{n.report_id}
26
+ %li Gallery id: #{n.gallery_id}
27
+ = render 'ish_manager/newsitems/item', :newsitem => newsitem
28
+ %hr
@@ -1,7 +1,9 @@
1
1
 
2
+ - reports = reports.page( params[:reports_page] ).per( 10 )
3
+
2
4
  .manager-reports--index
3
5
  .row
4
- .large-12.columns
6
+ .col-sm-12
5
7
  %h2 Reports (#{reports.length})
6
8
 
7
9
  = paginate reports, :param_name => :reports_page
@@ -14,3 +16,4 @@
14
16
  - if report.subhead && report.subhead.length > 3
15
17
  .subhead= report.subhead
16
18
  = paginate reports, :param_name => :reports_page
19
+ %hr
@@ -0,0 +1,5 @@
1
+
2
+ .manager-sites--title
3
+ %h1
4
+ Site http://#{@site.domain}/#{@site.lang}
5
+ = link_to '[~]', edit_site_path( @site.id )
@@ -1,37 +1,18 @@
1
1
 
2
2
  .manager-sites-show
3
- .row
4
- .large-12.columns
5
- %h1
6
- Site http://#{@site.domain}/#{@site.lang}
7
- = link_to '[~]', edit_site_path( @site.id )
3
+ = render 'title', :site => @site
4
+ = render 'ish_manager/features/index', :features => @features, :site => @site
5
+ = render 'ish_manager/newsitems/index', :newsitems => @newsitems
8
6
 
9
7
  .row
10
- .large-6.columns
8
+ .col-sm-6
11
9
  = render 'ish_manager/galleries/index', :galleries => @galleries
12
- .large-6.columns
10
+ .col-sm-6
13
11
  = render 'ish_manager/reports/index', :reports => @reports
14
12
 
15
13
  .row
16
- .large-6.columns
14
+ .col-sm-6
17
15
  = render 'ish_manager/videos/index', :videos => @videos
18
- .large-6.columns
16
+ .col-sm-6
19
17
  = render 'ish_manager/tags/index', :tags => @tags
20
-
21
- .row
22
- .large-12.columns
23
- = render 'ish_manager/features/index', :features => @features, :site => @site
24
18
 
25
- .row
26
- .large-12.columns
27
- %h4
28
- Newsitems (#{@newsitems.length})
29
- = link_to "[+]", new_site_newsitem_path( @site )
30
-
31
- %ol
32
- - @newsitems.each do |newsitem|
33
- %li
34
- %ul
35
- %li= button_to '[x]', site_newsitem_path(@site.id, newsitem.id), :method => :delete, :data => { :confirm => 'Are you sure?' }
36
- = render 'ish_manager/newsitems/item', :newsitem => newsitem
37
- = paginate @newsitems, :param_name => 'newsitems_page'
@@ -1,17 +1,16 @@
1
1
 
2
2
  - content_for :title do
3
- = t('tags.list')
3
+ Tags
4
4
 
5
- .row
6
- .small-12.columns
7
- .center
8
- %h1= t('tags.list')
9
-
10
- %ul.large-block-grid-2
11
- - @tags.each do |tag|
12
- = render 'ish_manager/tags/item', :tag => tag
13
- - if @tags.blank?
14
- %li No Tags
5
+ .manager-tags--index
6
+ .center
7
+ %h1 Tags (#{tags.count})
15
8
 
9
+ %ul.large-block-grid-2
10
+ - @tags.each do |tag|
11
+ = render 'ish_manager/tags/item', :tag => tag
12
+ - if @tags.blank?
13
+ %li No Tags
14
+ %hr
16
15
 
17
16
 
@@ -0,0 +1,5 @@
1
+ .manager-users--index
2
+ %h2
3
+ People
4
+ (#{@city.current_users.length})
5
+ %hr
@@ -0,0 +1,6 @@
1
+ .manager-users--index
2
+ .a
3
+ %h3
4
+ People
5
+ (#{@city.current_users.length})
6
+ %hr
@@ -1,14 +1,15 @@
1
- .a
2
- .b
3
- %h3
4
- Venues (#{venues.length})
5
- = link_to '[+]', new_venue_path
6
- %ol
7
- - venues.each do |venue|
8
- %li
9
- = link_to '[~]', edit_venue_path( venue )
10
- .float-left= button_to '[x]', venue_path( venue ), :method => 'delete', :html => { :confirm => 'Are you sure?' }
11
- = link_to venue.name, venue_path( venue )
12
- %br
13
- %br
14
- .clearfix
1
+
2
+ .manager-venues--index
3
+ %h2
4
+ Venues (#{venues.length})
5
+ = link_to '[+]', new_venue_path
6
+ %ol
7
+ - venues.each do |venue|
8
+ %li
9
+ = link_to '[~]', edit_venue_path( venue )
10
+ .float-left= button_to '[x]', venue_path( venue ), :method => 'delete', :html => { :confirm => 'Are you sure?' }
11
+ = link_to venue.name, venue_path( venue )
12
+ %br
13
+ %br
14
+ .clearfix
15
+ %hr
@@ -1,6 +1,5 @@
1
1
 
2
- - url = video.persisted? ? update_video_path( video ) : videos_path
3
- = form_for video, :url => url do |f|
2
+ = form_for video do |f|
4
3
 
5
4
  = render 'form_errors', :item => @video
6
5
 
@@ -1,12 +1,21 @@
1
1
 
2
+ - videos = videos.page( params[:videos_page] ).per( 10 )
3
+
2
4
  .manager-videos--index
3
5
  .row
4
- .large-12.columns
6
+ .col-sm-12
5
7
  %h2 Videos (#{videos.length})
6
8
 
7
9
  = paginate videos, :param_name => :videos_page
8
10
  %ol
9
11
  - videos.each do |video|
10
- %li= video.name
12
+ %li
13
+ = button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
14
+ = link_to '[~]', edit_video_path( video )
15
+ = link_to video.name, video_path( video )
16
+ = render 'meta', :item => video
17
+ -# = render 'embed', :video => video
18
+ = image_tag "https://img.youtube.com/vi/#{video.youtube_id}/0.jpg"
11
19
  = paginate videos, :param_name => :videos_page
12
-
20
+ %hr
21
+
@@ -4,4 +4,4 @@
4
4
  .row
5
5
  .large-12.columns
6
6
  %h2 Edit video
7
- = render 'videos/form', :video => @video
7
+ = render 'form', :video => @video
@@ -5,12 +5,5 @@
5
5
  %h2
6
6
  Videos (#{Video.count})
7
7
  = link_to '[+]', new_video_path
8
-
9
- = paginate @videos, :param_name => :videos_page
10
- %ol
11
- - @videos.each do |video|
12
- %li
13
- = video.name
14
- = render :partial => 'embed', :locals => { :video => video }
15
- = paginate @videos, :param_name => :videos_page
8
+ = render 'index', :videos => @videos
16
9
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  - content_for :title do
3
- #{@video.name} | #{@site.title}
3
+ #{@video.name} | #{@site ? @site.title : ''}
4
4
 
5
5
  .row
6
6
  .large-12.columns
@@ -10,7 +10,7 @@
10
10
  = t('videos.no_title')
11
11
  - else
12
12
  = @video.name
13
- = render 'application/meta', :item => @video
13
+ = render 'ish_manager/application/meta', :item => @video
14
14
  .text-center= render 'embed', :video => @video
15
15
 
16
- = render 'disqus'
16
+ -# = render 'disqus'
data/config/routes.rb CHANGED
@@ -4,6 +4,12 @@ IshManager::Engine.routes.draw do
4
4
  resources :cities do
5
5
  resources :features
6
6
  resources :newsitems
7
+ resources :reports
8
+ resources :galleries
9
+ resources :users
10
+ resources :videos
11
+ resources :events
12
+ resources :venues
7
13
  end
8
14
  resources :events
9
15
  resources :galleries do
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.24
4
+ version: 0.1.8.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-17 00:00:00.000000000 Z
11
+ date: 2017-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -119,6 +119,8 @@ files:
119
119
  - README.md
120
120
  - Rakefile
121
121
  - app/assets/config/ish_manager_manifest.js
122
+ - app/assets/images/bg/gplaypattern.png
123
+ - app/assets/images/bg/triangular.png
122
124
  - app/assets/images/favicon.gif
123
125
  - app/assets/images/missing.png
124
126
  - app/assets/images/wait.gif
@@ -156,6 +158,8 @@ files:
156
158
  - app/views/ish_manager/application/_main_footer.haml
157
159
  - app/views/ish_manager/application/_main_header.haml
158
160
  - app/views/ish_manager/application/_main_header.haml~
161
+ - app/views/ish_manager/application/_meta.haml
162
+ - app/views/ish_manager/application/_meta.haml~
159
163
  - app/views/ish_manager/application/home.haml
160
164
  - app/views/ish_manager/cities/_form.haml
161
165
  - app/views/ish_manager/cities/_header.haml
@@ -166,6 +170,8 @@ files:
166
170
  - app/views/ish_manager/cities/new_feature.haml
167
171
  - app/views/ish_manager/cities/new_newsitem.haml
168
172
  - app/views/ish_manager/cities/show.haml
173
+ - app/views/ish_manager/events/_index.haml
174
+ - app/views/ish_manager/events/_index.haml~
169
175
  - app/views/ish_manager/features/_form.haml
170
176
  - app/views/ish_manager/features/_index.haml
171
177
  - app/views/ish_manager/features/_index.haml~
@@ -221,6 +227,7 @@ files:
221
227
  - app/views/ish_manager/reports/new.haml
222
228
  - app/views/ish_manager/reports/show.haml
223
229
  - app/views/ish_manager/sites/_form.haml
230
+ - app/views/ish_manager/sites/_title.haml
224
231
  - app/views/ish_manager/sites/edit.haml
225
232
  - app/views/ish_manager/sites/index.haml
226
233
  - app/views/ish_manager/sites/new.haml
@@ -234,6 +241,8 @@ files:
234
241
  - app/views/ish_manager/tags/index.haml
235
242
  - app/views/ish_manager/tags/new.haml
236
243
  - app/views/ish_manager/tags/show.haml
244
+ - app/views/ish_manager/users/_index.haml
245
+ - app/views/ish_manager/users/_index.haml~
237
246
  - app/views/ish_manager/venues/_form.haml
238
247
  - app/views/ish_manager/venues/_form.haml~
239
248
  - app/views/ish_manager/venues/_index.haml