effective_posts 0.5.3 → 0.5.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c03d511441a728916ffa2939d0aa4fed00089af
|
|
4
|
+
data.tar.gz: eeaa4308707fdd55bedffc9ff9326a05db55b198
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e403162201e8eb0ba56df880803704b64308d07770c1af517b90e2dae31dbd9c0d70090953c2cdaacdeb6fdbae92f9ddbd35e54768986d809f8d100bdfa432fb
|
|
7
|
+
data.tar.gz: 944fe595f6a180fba9daca80c413f7460735c66eaff3db2a87812cfbfd25cdc655e4d6ab8c536bce9d8fc199bb00af7c490934dcd4e7f09bbc607bee0f740d50
|
|
@@ -19,6 +19,10 @@ unless Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
|
|
|
19
19
|
col :draft
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
+
col :start_at
|
|
23
|
+
col :end_at, visible: false
|
|
24
|
+
col :location, visible: false
|
|
25
|
+
|
|
22
26
|
col :created_at, label: 'Submitted at', visible: false
|
|
23
27
|
|
|
24
28
|
actions_col partial: '/admin/posts/actions', partial_as: :post
|
|
@@ -21,6 +21,10 @@ if Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
|
|
|
21
21
|
table_column :draft
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
+
table_column :start_at
|
|
25
|
+
table_column :end_at, visible: false
|
|
26
|
+
table_column :location, visible: false
|
|
27
|
+
|
|
24
28
|
table_column :created_at, label: 'Submitted at', visible: false
|
|
25
29
|
|
|
26
30
|
table_column :actions, sortable: false, filter: false, partial: '/admin/posts/actions'
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
.effective-post-category-events.well{style: ('display: none' unless f.object.category == 'events')}
|
|
5
5
|
%h4 Event Information
|
|
6
6
|
= form.input :start_at, as: (:effective_date_time_picker if defined?(EffectiveFormInputs)),
|
|
7
|
-
required:
|
|
7
|
+
required: false,
|
|
8
8
|
hint: 'Display a start time for this event.'
|
|
9
9
|
|
|
10
10
|
= form.input :end_at, as: (:effective_date_time_picker if defined?(EffectiveFormInputs)),
|
|
11
11
|
hint: 'Display an end time of this event.'
|
|
12
12
|
|
|
13
|
-
= form.input :location, hint: 'Display a location where this event is taking place.'
|
|
13
|
+
= form.input :location, required: false, hint: 'Display a location where this event is taking place.'
|
|
14
14
|
|
|
15
15
|
= form.input :website_name, label: 'External website',
|
|
16
16
|
placeholder: 'Buy Tickets', hint: 'The label of an external website.'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_posts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|