ish_manager 0.1.8.472 → 0.1.8.474
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbbc91cb570b304f736dd6e68707c5c7edfff70ad472c69abc16c3843da06ed8
|
4
|
+
data.tar.gz: fa2e9004f24a7a65712a3cec0958a84cac0bd2897dc6ea0f2cc86373671447ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 556eeb65e43c306a5c38083d24dcc524e84cc29e0949f7dbf0f9c845181a58aafbc050887c98a53021b1000d686dfe796107a27119a7eea3e15dc082965aa66e
|
7
|
+
data.tar.gz: cae31230ce606af64343b8dcb8401a1317da7b40dea460f345e492f5c3fb46286ce9def4a30c5ae2f1f225cd66941804783c982db65e19d38cd7283ef809dc1c
|
@@ -127,8 +127,12 @@ $(function () {
|
|
127
127
|
lengthMenu: [[10, 25, 100, -1], [10, 25, 100, 'All']],
|
128
128
|
lengthChange: true,
|
129
129
|
}
|
130
|
-
$('#dataTable').DataTable(_props)
|
131
|
-
$('.data-table').DataTable(_props)
|
130
|
+
// $('#dataTable').DataTable(_props)
|
131
|
+
var dataTable = $('.data-table').DataTable(_props)
|
132
|
+
|
133
|
+
$('#dataTableSearch').on( 'keyup', function () {
|
134
|
+
dataTable.search( this.value ).draw();
|
135
|
+
} );
|
132
136
|
}
|
133
137
|
|
134
138
|
if ('function' === typeof $('body').datepicker) {
|
@@ -40,14 +40,14 @@ class IshManager::GalleriesController < IshManager::ApplicationController
|
|
40
40
|
authorize! :index, Gallery
|
41
41
|
@page_title = 'Galleries'
|
42
42
|
@galleries = Gallery.unscoped.where( ## This must be so for role `guy`. _vp_ 2022-10-03
|
43
|
-
:is_done.in
|
43
|
+
# :is_done.in => [false, nil],
|
44
44
|
:is_trash.in => [false, nil],
|
45
|
-
:user_profile => @current_profile,
|
45
|
+
# :user_profile => @current_profile,
|
46
46
|
).order_by( :created_at => :desc )
|
47
47
|
|
48
48
|
if params[:q]
|
49
|
-
|
50
|
-
|
49
|
+
q = URI.decode(params[:q])
|
50
|
+
@galleries = @galleries.where({ :name => /#{q}/i })
|
51
51
|
end
|
52
52
|
|
53
53
|
@galleries = @galleries.page( params[:galleries_page] ).per( 10 )
|
@@ -40,9 +40,10 @@ class IshManager::VideosController < IshManager::ApplicationController
|
|
40
40
|
|
41
41
|
def index
|
42
42
|
authorize! :index, Video.new
|
43
|
-
@videos = Video.unscoped.where(
|
44
|
-
:
|
45
|
-
|
43
|
+
@videos = Video.unscoped.where({
|
44
|
+
is_trash: false,
|
45
|
+
# :user_profile => @current_profile
|
46
|
+
}).order_by( :created_at => :desc )
|
46
47
|
|
47
48
|
if params[:q]
|
48
49
|
@videos = @videos.where({ :name => /#{params[:q]}/i })
|
@@ -5,19 +5,21 @@
|
|
5
5
|
Email Filters (#{@email_filters.length})
|
6
6
|
= link_to '[+]', new_email_filter_path
|
7
7
|
|
8
|
-
%
|
9
|
-
|
10
|
-
|
11
|
-
%
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
8
|
+
-# %input#dataTableSearch
|
9
|
+
%table.bordered.data-table
|
10
|
+
%thead
|
11
|
+
%tr
|
12
|
+
%th
|
13
|
+
%th
|
14
|
+
%th From Regex
|
15
|
+
%th From Exact
|
16
|
+
%th Subject Regex
|
17
|
+
%th Subject Exact
|
18
|
+
%th Body Exact
|
19
|
+
%th Kind
|
20
|
+
%th Email Action
|
21
|
+
%th Email Template
|
22
|
+
%th Email Tag
|
21
23
|
- @email_filters.each do |ef|
|
22
24
|
|
23
25
|
%tr
|
@@ -25,8 +27,10 @@
|
|
25
27
|
%td
|
26
28
|
= link_to '[~]', edit_email_filter_path(ef)
|
27
29
|
.inline-block= button_to '[x]', email_filter_path(ef), method: :delete, data: { confirm: 'Are you sure?' }
|
28
|
-
%td
|
29
|
-
|
30
|
+
%td
|
31
|
+
`#{ef.from_regex}`
|
32
|
+
%td
|
33
|
+
`#{ef.from_exact}`
|
30
34
|
%td= ef.subject_regex
|
31
35
|
%td= ef.subject_exact
|
32
36
|
%td= ef.body_exact
|