ish_manager 0.1.8.121 → 0.1.8.122

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22a0ee908b1256f58c1acd9d32fd4ae7aae400e3
4
- data.tar.gz: e1000487f081267dc261930269a2d61e8eac8e87
3
+ metadata.gz: 4e6f9c39cc27d8b44e998be4fbb42f037beb20d4
4
+ data.tar.gz: 500aa4bfda9c3f8e135c9b8739112d232bd64b8f
5
5
  SHA512:
6
- metadata.gz: cdb18476ab3e77ac283ecf6ba72b7981a6fdac7fd2bab1252a5c649a53e0164fa70c4c191059d94eb3640f4d70fd6e32429ddeee21d8286a45c1eb723b2c57b5
7
- data.tar.gz: 4c0e3f8a65b5cf8ddba541302fffa32e23be10389a855bd97966e8130d81870fa61315748ee548742abecdb2f58c0a2ec79e3c2254c276633070675adbf8cb82
6
+ metadata.gz: 1874aa9677fd40fd60efae23fc3d2feb4dfc8e4e21818eae989a41f501dfd1938b758f3b56551a3ae4abf1522413426f46a6991cc56b0f9432bf17d05d9862d2
7
+ data.tar.gz: 67bf5e18d6f8b9a5c2f8f6f211785b13b6b73f80a0dcc573220d69b28be31037fdda080b123bdd96967b11cd60b00930e7a24dba295b1cf4c5f7e0b51ca31d05
@@ -29,7 +29,7 @@ class IshManager::SitesController < IshManager::ApplicationController
29
29
  @galleries = @site.galleries.unscoped.where({ :is_trash => false }).page( params[:galleries_page] ).per( 10 )
30
30
  @reports = @site.reports.unscoped.where({ :is_trash => false }).page( params[:reports_page] ).per( 10 )
31
31
  @videos = @site.videos.page( params[:videos_page] ).per( 5 )
32
- @tags = Tag.where( :site_id => @site.id ).page( params[:tags_page] ).per( 100 )
32
+ @tags = Tag.where( :site_id => @site.id, :parent_tag_id => nil ).page( params[:tags_page] ).per( 100 )
33
33
  @features = @site.features.page( params[:features_page] ).per( 9 )
34
34
  @newsitems = @site.newsitems.page( params[:newsitems_page] ).per( @site.newsitems_per_page )
35
35
  end
@@ -19,8 +19,8 @@
19
19
  = f.select :parent_tag_id, options_for_select( @tags_list, :selected => ( params[:for_tag] || @tag.parent_tag_id ) )
20
20
  .col-xs-12.col-md-6
21
21
  .input-field
22
- = f.select :site, options_for_select( @sites_list, :selected => @tag.site_id )
23
22
  = f.label "site"
23
+ = f.select :site, options_for_select( @sites_list, :selected => @tag.site_id )
24
24
  .col-xs-12.col-md-12
25
25
  .input-field
26
26
  = f.check_box :is_public
@@ -3,14 +3,17 @@
3
3
  Tags
4
4
 
5
5
  .manager-tags--index
6
- .center
7
- %h1 Tags (#{tags.count})
6
+ .panel
7
+ .panel-body
8
+ .center
9
+ %h1 Tags (#{tags.count})
8
10
 
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
11
+
12
+ %ul.tags
13
+ - @tags.each do |tag|
14
+ = render 'ish_manager/tags/item', :tag => tag
15
+ - if @tags.blank?
16
+ %li No Tags
17
+ %hr
15
18
 
16
19
 
@@ -1,15 +1,11 @@
1
1
 
2
- - if !defined? is_panel
3
- - is_panel = true
4
2
  %li
5
- %div{ :class => is_panel ? 'panel' : '' }
3
+ %div
6
4
  = link_to tag.name, tag_path(tag)
7
5
  = link_to '[+]', new_tag_path( :for_tag => tag.id )
8
6
  = link_to '[~]', edit_tag_path( tag )
9
7
  .inline= button_to '[x]', tag_path( tag ), :method => :delete, :data => { :confirm => 'Are you sure?' }
10
8
  (R #{tag.reports.length}) (G #{tag.galleries.length}) (V #{tag.videos.length})
11
-
12
- -# .descr= tag.descr
13
9
 
14
10
  - if tag.children_tags.length > 0
15
11
  %ul.tags
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.121
4
+ version: 0.1.8.122
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox