decidim-conferences 0.29.0.rc3 → 0.29.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/conferences/conference_g_cell.rb +2 -2
- data/app/cells/decidim/conferences/partner/image.erb +1 -1
- data/app/cells/decidim/conferences/partner_cell.rb +1 -1
- data/app/views/decidim/conferences/admin/partners/index.html.erb +2 -2
- data/app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma_user.html.erb +2 -2
- data/app/views/decidim/conferences/conferences/_conference_hero.html.erb +1 -1
- data/app/views/decidim/conferences/conferences/show.html.erb +1 -1
- data/config/locales/de.yml +1 -1
- data/decidim-conferences.gemspec +4 -1
- data/lib/decidim/api/conference_partner_type.rb +1 -1
- data/lib/decidim/api/conference_speaker_type.rb +1 -1
- data/lib/decidim/api/conference_type.rb +2 -2
- data/lib/decidim/conferences/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7412437d2936b2b200d446aacaae3ffd38d71249f828ba6e09ab73ebbdf08a9
|
4
|
+
data.tar.gz: d25d2f090350bbefb2687a914ff058bd79d709050237a668d3309f359b9633e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51003ac226b7d97874dd0f2205bc79f49e6be442d6110d6795619f087a6eaa97223b6fada4aee503ea539ccb996e4e1a717cf084d91cbf43014603842ebc97d5
|
7
|
+
data.tar.gz: 6120db34b12d8c4c43b08b9800cebf19f83e665cbe34d5a6ffd52a06f9e4ccbe8e905a06be734c29d82564c79a1ccc92dd33f9049eae92a01d76da1a65a74b22
|
@@ -11,8 +11,8 @@ module Decidim
|
|
11
11
|
Decidim::Conferences::Engine.routes.url_helpers.conference_path(model)
|
12
12
|
end
|
13
13
|
|
14
|
-
def
|
15
|
-
model.attached_uploader(:hero_image).
|
14
|
+
def resource_image_url
|
15
|
+
model.attached_uploader(:hero_image).url
|
16
16
|
end
|
17
17
|
|
18
18
|
def metadata_cell
|
@@ -21,7 +21,7 @@ module Decidim
|
|
21
21
|
def logo
|
22
22
|
return unless model.logo.attached?
|
23
23
|
|
24
|
-
"<div class='card p-m'> #{image_tag model.attached_uploader(:logo).
|
24
|
+
"<div class='card p-m'> #{image_tag model.attached_uploader(:logo).variant_url(:medium), alt: "logo"} </div>"
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -35,8 +35,8 @@
|
|
35
35
|
<% end %>
|
36
36
|
</td>
|
37
37
|
<td>
|
38
|
-
<% if partner.
|
39
|
-
<%= image_tag(partner.attached_uploader(:logo).
|
38
|
+
<% if partner.logo.attached? %>
|
39
|
+
<%= image_tag(partner.attached_uploader(:logo).variant_url(:thumb)) %>
|
40
40
|
<% end %>
|
41
41
|
</td>
|
42
42
|
<td class="table-list__actions">
|
data/app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma_user.html.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="diploma__content">
|
4
4
|
<div>
|
5
5
|
<div class="diploma__logo">
|
6
|
-
<%= wicked_pdf_image_tag @conference.attached_uploader(:main_logo).
|
6
|
+
<%= wicked_pdf_image_tag @conference.attached_uploader(:main_logo).variant_url(:thumb) %>
|
7
7
|
</div>
|
8
8
|
<div class="diploma__name">
|
9
9
|
<h2><strong><%= translated_attribute(@conference.title) %></strong></h2>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<div class="diploma__attendance">
|
15
15
|
<strong><%= t("decidim.conferences.admin.send_conference_diploma_mailer.diploma_user.attendance_verified_by") %></strong>
|
16
16
|
<div>
|
17
|
-
<%= wicked_pdf_image_tag @conference.attached_uploader(:signature).
|
17
|
+
<%= wicked_pdf_image_tag @conference.attached_uploader(:signature).variant_url(:thumb) %>
|
18
18
|
</div>
|
19
19
|
<%= l(@conference.sign_date, format: :decidim_short) %>, <%= @conference.signature_name %>
|
20
20
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<section style="background-image:url('<%= current_participatory_space.attached_uploader(:banner_image).
|
1
|
+
<section style="background-image:url('<%= current_participatory_space.attached_uploader(:banner_image).url %>');" data-conference-hero>
|
2
2
|
<div class="conference__hero">
|
3
3
|
<div class="conference__hero-text">
|
4
4
|
<h1 class="h1 text-5xl">
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<% add_decidim_meta_tags({
|
2
2
|
title: translated_attribute(current_participatory_space.title),
|
3
|
-
image_url: current_participatory_space.attached_uploader(:hero_image).
|
3
|
+
image_url: current_participatory_space.attached_uploader(:hero_image).url,
|
4
4
|
description: translated_attribute(current_participatory_space.short_description),
|
5
5
|
url: conference_url(current_participatory_space)
|
6
6
|
}) %>
|
data/config/locales/de.yml
CHANGED
data/decidim-conferences.gemspec
CHANGED
@@ -33,7 +33,10 @@ Gem::Specification.new do |s|
|
|
33
33
|
s.add_dependency "decidim-core", Decidim::Conferences.version
|
34
34
|
s.add_dependency "decidim-meetings", Decidim::Conferences.version
|
35
35
|
s.add_dependency "wicked_pdf", "~> 2.7"
|
36
|
-
|
36
|
+
# Latest version of wkhtmltopdf-binary downloads more versions of the binary
|
37
|
+
# This brings problems with deployment in certain environments, as Heroku
|
38
|
+
# Hopefully they will fix this situation soon
|
39
|
+
s.add_dependency "wkhtmltopdf-binary", "= 0.12.6.6"
|
37
40
|
|
38
41
|
s.add_development_dependency "decidim-admin", Decidim::Conferences.version
|
39
42
|
s.add_development_dependency "decidim-dev", Decidim::Conferences.version
|
@@ -39,11 +39,11 @@ module Decidim
|
|
39
39
|
field :media_links, [Decidim::Conferences::ConferenceMediaLinkType, { null: true }], "List of media links in this conference", null: true
|
40
40
|
|
41
41
|
def hero_image
|
42
|
-
object.attached_uploader(:hero_image).
|
42
|
+
object.attached_uploader(:hero_image).url
|
43
43
|
end
|
44
44
|
|
45
45
|
def banner_image
|
46
|
-
object.attached_uploader(:banner_image).
|
46
|
+
object.attached_uploader(:banner_image).url
|
47
47
|
end
|
48
48
|
|
49
49
|
def speakers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-conferences
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.29.0.
|
4
|
+
version: 0.29.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaac Massot Gil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-core
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.29.0.
|
19
|
+
version: 0.29.0.rc4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.29.0.
|
26
|
+
version: 0.29.0.rc4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: decidim-meetings
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.29.0.
|
33
|
+
version: 0.29.0.rc4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.29.0.
|
40
|
+
version: 0.29.0.rc4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: wicked_pdf
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,44 +56,44 @@ dependencies:
|
|
56
56
|
name: wkhtmltopdf-binary
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.12.6.6
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.12.6.6
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: decidim-admin
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.29.0.
|
75
|
+
version: 0.29.0.rc4
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.29.0.
|
82
|
+
version: 0.29.0.rc4
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: decidim-dev
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.29.0.
|
89
|
+
version: 0.29.0.rc4
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.29.0.
|
96
|
+
version: 0.29.0.rc4
|
97
97
|
description: Conferences component for decidim.
|
98
98
|
email:
|
99
99
|
- isaac.mg@coditramuntana.com
|