effective_classifieds 0.4.1 → 0.4.3
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: c468d322f47a4191356c1f7bfa55c598ef3ddcb0a1770083ef53e62745d7e8c1
|
4
|
+
data.tar.gz: d178bba98e606daae6faed532924a109dcd431b58edbed8817e759fc02bc7632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07decbc51f2546fd0e15a2e3ab64c94ce38916fb9b55999a9f38e0709eba936aad535bfdda894db24b2331bda3d84ac3e8d5d7f7698abccafcfa390be7b5b742
|
7
|
+
data.tar.gz: 14e1a65cfa4322c509f6364d3adc047d3f86ae52a99005d47c31b924dc704d98cdd54041120be9449f96cb9c76dbb00cb5b521f590bcba00af42d6e4ad41983d
|
@@ -1,8 +1,50 @@
|
|
1
|
-
|
2
|
-
-
|
3
|
-
|
1
|
+
= render 'layout' do
|
2
|
+
.effective-classified
|
3
|
+
- unless @classified.published?
|
4
|
+
.alert.alert-warning.mb-4 This posting is not published.
|
4
5
|
|
5
|
-
|
6
|
+
.row
|
7
|
+
.col-md-4
|
8
|
+
%ul.list-unstyled
|
9
|
+
%li
|
10
|
+
%strong Company
|
11
|
+
= @classified.organization
|
6
12
|
|
7
|
-
|
8
|
-
|
13
|
+
- if @classified.location.present?
|
14
|
+
%li
|
15
|
+
%strong Location
|
16
|
+
= @classified.location
|
17
|
+
|
18
|
+
%li
|
19
|
+
%strong Published
|
20
|
+
#{@classified.start_on&.strftime("%b %d, %Y")}
|
21
|
+
|
22
|
+
%li
|
23
|
+
%strong Closing
|
24
|
+
#{@classified.end_on&.strftime("%b %d, %Y")}
|
25
|
+
|
26
|
+
|
27
|
+
- if @classified.file.attached?
|
28
|
+
%li
|
29
|
+
%strong Attachment
|
30
|
+
= link_to(@classified.file.filename, main_app.url_for(@classified.file), target: '_blank')
|
31
|
+
|
32
|
+
|
33
|
+
%ul.list-unstyled
|
34
|
+
- if @classified.website.present?
|
35
|
+
%li
|
36
|
+
%strong Website
|
37
|
+
= link_to(@classified.website, @classified.website, target: '_blank')
|
38
|
+
|
39
|
+
- if @classified.email.present?
|
40
|
+
%li
|
41
|
+
%strong Email
|
42
|
+
= mail_to(@classified.email)
|
43
|
+
|
44
|
+
- if @classified.phone.present?
|
45
|
+
%li
|
46
|
+
%strong Phone
|
47
|
+
= @classified.phone
|
48
|
+
|
49
|
+
.col-md-8
|
50
|
+
= @classified.body.to_s
|
data/config/routes.rb
CHANGED
@@ -8,6 +8,7 @@ EffectiveClassifieds::Engine.routes.draw do
|
|
8
8
|
# Public routes
|
9
9
|
scope module: 'effective' do
|
10
10
|
resources :classifieds, only: [:index, :show, :edit, :update]
|
11
|
+
resources :jobs, only: [:index, :show, :edit, :update], controller: 'classifieds'
|
11
12
|
|
12
13
|
resources :classified_wizards, only: [:new, :show, :destroy] do
|
13
14
|
resources :build, controller: :classified_wizards, only: [:show, :update]
|
@@ -19,6 +20,8 @@ EffectiveClassifieds::Engine.routes.draw do
|
|
19
20
|
resources :classifieds, except: [:show] do
|
20
21
|
post :approve, on: :member
|
21
22
|
end
|
23
|
+
|
24
|
+
resources :jobs, except: [:show], controller: 'classifieds'
|
22
25
|
end
|
23
26
|
|
24
27
|
end
|
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.3
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
262
|
- !ruby/object:Gem::Version
|
263
263
|
version: '0'
|
264
264
|
requirements: []
|
265
|
-
rubygems_version: 3.
|
265
|
+
rubygems_version: 3.1.2
|
266
266
|
signing_key:
|
267
267
|
specification_version: 4
|
268
268
|
summary: Users submit classified ads for job openings and equipment sales
|