ish_manager 0.1.8.233 → 0.1.8.234

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
  SHA256:
3
- metadata.gz: f17a92c8d618a6bd6319320ee036ecbe43d8926630f1a077cc91e963507dcb4b
4
- data.tar.gz: 601a974e35562b98b15ebad0fb307e7b9f557d687bc17977ad2268c10e4f9192
3
+ metadata.gz: f48ce17fb0f6c207140dc356d4288631b0f197837c2ff269bb0affe989534fe4
4
+ data.tar.gz: b36bd9c26c6be28d3dc6447f8d017f736ed14418c71b861dff512d505db567c1
5
5
  SHA512:
6
- metadata.gz: 2e287c543f3dea2c784b0df34ce79d7c50f2a84c387c1c8eb4ef46eedfd43ee9fe8a63a1dc6eae8a6351cbb951902578c53d048986bfe679b34d02bd48f409f7
7
- data.tar.gz: 7d9de92299c327c44172abd06a73c331d5e0c2317a929d217af9aed9c1777c504b9e8174975d77e08c382efb6536f368b985dbab888895934e08ac1d8ab76021
6
+ metadata.gz: 8daa19513669a59ed6daa996c904578f7b1653f68778114495cf48aa46af4ebfb38d1b5212a85ec2826ec25f3d1baff8c1104ff8252adcdef93b17bed1e5c85a
7
+ data.tar.gz: 0de4bba9749abf87dec6bb5bb3f5b6fce99e0950636067b8d1116bd4ad077345e28a59090d4c9c83b9febbbe38a8021b01b4fda439beed53e72e4be12368fdb8
@@ -26,7 +26,7 @@ $(function () {
26
26
  var tempUrl = data.result[0].thumbnail_url;
27
27
  $('<img/>').attr('src', tempUrl).appendTo(photos);
28
28
  }
29
- });
29
+ });
30
30
  });
31
31
 
32
32
  $(document).ready(function () {
@@ -34,7 +34,7 @@ $(document).ready(function () {
34
34
  $('*[data-confirm]').click(function(){
35
35
  return confirm($(this).attr('data-confirm'));
36
36
  });
37
-
37
+
38
38
  if ($(".tinymce").length > 0) {
39
39
  tinymce.init({
40
40
  mode: "specific_textareas",
@@ -63,7 +63,7 @@ $(document).ready(function () {
63
63
  $(this).addClass('fa-compress')
64
64
  localStorage.setItem('mainHeaderCollapsed', 'false')
65
65
  $('.content', $(this).parent()).css('display', 'block')
66
- }
66
+ }
67
67
  })
68
68
  if (localStorage.getItem('mainHeaderCollapsed') === 'true') {
69
69
  $("#collapseHeader").addClass('fa-expand')
@@ -83,7 +83,7 @@ $(document).ready(function () {
83
83
  $(this).addClass('fa-compress')
84
84
  localStorage.setItem('mainFooterCollapsed', 'false')
85
85
  $('.content', $(this).parent()).css('display', 'block')
86
- }
86
+ }
87
87
  })
88
88
  if (localStorage.getItem('mainFooterCollapsed') === 'true') {
89
89
  console.log('here')
@@ -106,4 +106,4 @@ $(document).ready(function () {
106
106
  $(".datepicker").datepicker({ dateFormat: 'yy-mm-dd' });
107
107
 
108
108
  });
109
-
109
+
@@ -4,7 +4,7 @@ class IshManager::GalleriesController < IshManager::ApplicationController
4
4
 
5
5
  def index
6
6
  authorize! :index, Gallery
7
- @galleries = Gallery.unscoped.where( :is_trash => false, :user_profile => current_user.profile
7
+ @galleries = Gallery.unscoped.where( is_done: false, is_trash: false, :user_profile => current_user.profile
8
8
  ).order_by( :created_at => :desc )
9
9
  if params[:q]
10
10
  @galleries = @galleries.where({ :name => /#{params[:q]}/i })
@@ -0,0 +1,6 @@
1
+
2
+
3
+ %ul{ style: "margin: 2em;" }
4
+ %li= params.inspect
5
+ %li= "Cache key: #{@cache_key.inspect}" if @cache_key
6
+ %li= "Cached? #{Rails.application.config.action_controller.perform_caching}"
@@ -13,7 +13,7 @@
13
13
  .col-sm-6
14
14
  = f.label :galleryname
15
15
  = f.text_field :galleryname
16
-
16
+
17
17
  .row
18
18
  .col-sm-4
19
19
  = f.label :site
@@ -28,7 +28,7 @@
28
28
  .col-sm-4
29
29
  = f.label :tags
30
30
  = f.select :tag_ids, @tags_list, {}, { multiple: true }
31
-
31
+
32
32
  .row
33
33
  .panel
34
34
  .panel-body
@@ -46,7 +46,7 @@
46
46
  = f.text_area :subhead
47
47
  .row
48
48
  = f.text_area :descr, class: :tinymce
49
-
49
+
50
50
  .row
51
51
  .col-sm-3
52
52
  = f.check_box :is_public
@@ -54,6 +54,9 @@
54
54
  .col-sm-3
55
55
  = f.check_box :is_trash
56
56
  = f.label :is_trash
57
+ .col-sm-3
58
+ = f.check_box :is_done
59
+ = f.label :is_done
57
60
  .col-sm-3
58
61
  = f.label :premium_tier
59
62
  = f.number_field :premium_tier
@@ -7,7 +7,6 @@
7
7
  %meta{ :charset => 'UTF-8' }
8
8
  %meta{ :description => 'some description' }
9
9
  %script{ :src => "//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" }
10
- -# %script{ :src => "//code.jquery.com/jquery-3.3.1.slim.min.js" }
11
10
  %script{ :src => "//cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/jquery.tinymce.min.js" }
12
11
  %script{ :src => "//cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/tinymce.min.js" }
13
12
  %script{ :src => "//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" }
@@ -34,3 +33,5 @@
34
33
  = yield
35
34
  = render 'ish_manager/application/main_footer'
36
35
  = render 'analytics' unless Rails.env.development?
36
+ = render 'debug' if Rails.env.development?
37
+
@@ -30,3 +30,4 @@
30
30
  .container
31
31
  = yield
32
32
  = render :partial => 'ish_manager/application/main_footer'
33
+ = render 'debug' if Rails.env.development?
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.233
4
+ version: 0.1.8.234
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-06 00:00:00.000000000 Z
11
+ date: 2021-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -220,6 +220,7 @@ files:
220
220
  - app/models/ish_manager/ability.rb
221
221
  - app/models/ish_manager/application_record.rb
222
222
  - app/views/ish_manager/application/_analytics.html
223
+ - app/views/ish_manager/application/_debug.haml
223
224
  - app/views/ish_manager/application/_form_errors.haml
224
225
  - app/views/ish_manager/application/_main_footer.haml
225
226
  - app/views/ish_manager/application/_main_header.haml