effective_classifieds 0.4.4 → 0.4.5
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: f08a97cd9079f6baa93e5fc992db40dbeb951cbfe067614a06996770ef83d49c
|
4
|
+
data.tar.gz: 1ec2f2ca6b22fa02e6bf2ab43f008a886cd414f5b146a299278b04b57f6220b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 211355aecad1c8ce668aa4caed147d0304f695baeb531dc3951046bdf82c7027349671ff8032f364366e6a067506d82c86c24da7209a3d43a03d4726cb8c29b1
|
7
|
+
data.tar.gz: 8dd8f720c87fd1d5b17c56f700bb38c18bb0552bba6cf30195c6a5881f499e03b95a379b92a2d95e9fcee1da529919d48690fc0f68d1d7a62ef2bfad42358e40
|
@@ -5,6 +5,9 @@ module Admin
|
|
5
5
|
|
6
6
|
include Effective::CrudController
|
7
7
|
|
8
|
+
page_title(only: :index) { EffectiveClassifieds.classifieds_label }
|
9
|
+
page_title(only: :new) { "New #{EffectiveClassifieds.classifieds_label} Posting" }
|
10
|
+
|
8
11
|
submit :save, 'Save'
|
9
12
|
submit :save, 'Save and View', redirect: -> { effective_classifieds.classified_path(resource) }
|
10
13
|
submit :approve, 'Approve'
|
@@ -8,6 +8,7 @@ module Admin
|
|
8
8
|
scope :approved
|
9
9
|
end
|
10
10
|
|
11
|
+
scope :draft
|
11
12
|
scope :published
|
12
13
|
end
|
13
14
|
|
@@ -39,11 +40,10 @@ module Admin
|
|
39
40
|
col :email
|
40
41
|
col :phone
|
41
42
|
|
43
|
+
col :status
|
42
44
|
col :archived
|
43
45
|
|
44
|
-
|
45
|
-
col :status, search: ['submitted', 'approved']
|
46
|
-
end
|
46
|
+
col :status
|
47
47
|
|
48
48
|
col :purchased_order, visible: false
|
49
49
|
|
@@ -53,7 +53,7 @@ module Admin
|
|
53
53
|
end
|
54
54
|
|
55
55
|
collection do
|
56
|
-
Effective::Classified.all
|
56
|
+
Effective::Classified.all
|
57
57
|
end
|
58
58
|
|
59
59
|
def categories
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_classifieds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
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: 2022-11-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|