effective_classifieds 0.4.1 → 0.4.2
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: df39e5bbe0e896642cdc96ad0c9cdbdc57212336c65525fbf2043d1dc28ff388
|
4
|
+
data.tar.gz: 59ebf626938ba7ce8e1b36ccb93ecee56a716bf82f976cc93bfde44d9a9b9292
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e88a56f3e13df16ff3f9c1d61b876ad2af12e0d063e51ffa8a5e48fb8867d8e0f5854da72a277e543c1a8fe32a550a856ac8685c5ad73ea4ae75e9e2993693d8
|
7
|
+
data.tar.gz: 915e64ffa124a81dd8ae883e324538069fdbfb145b04f359524c495e794fdb821861d854c1ef11a70b82a525b98d96a73e0ae38ede67b9570608aa738fbe77d2
|
@@ -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
|
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.2
|
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
|