decidim-conferences 0.28.2 → 0.28.3
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/conference_registrations/index.html.erb +3 -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/config/locales/sv.yml +14 -14
- 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 +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fe7b94002a913b6805f53ffb89528cd888b31b0602bf802133032165240b9c4
|
4
|
+
data.tar.gz: da64adc9bb9e9c7d690260a4a5513ebfcd6586d99ffb0fb9cd35683317ef13a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6635a3153e0f3fde41040a39a9cae01be483bb21afc68c469b284b531c2194d5c10f8cb2f6c61ceaa9768e388a52e97b8ace6feb46b2be3dbe9b6629d3422018
|
7
|
+
data.tar.gz: 206bf1cb296243068affc8d8754958be0ab72294bff47635667567f1736c4ca1fe6a33a969cba5c5e9a176fb4cc8efc4052291f8774036df206ed644390aa669
|
@@ -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
|
@@ -11,7 +11,9 @@
|
|
11
11
|
<div class="dropdown-pane" id="export-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true">
|
12
12
|
<ul class="vertical menu add-components">
|
13
13
|
<% %w(CSV JSON Excel).each do |format| %>
|
14
|
-
|
14
|
+
<%= link_to export_conference_conference_registrations_path(conference_id: conference, format:) do %>
|
15
|
+
<li class="exports--format--<%= format.downcase %> exports--registrations"><%= t("decidim.admin.exports.export_as", name: t("decidim.admin.conferences.exports.registrations"), export_format: format) %></li>
|
16
|
+
<% end %>
|
15
17
|
<% end %>
|
16
18
|
</ul>
|
17
19
|
</div>
|
@@ -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 class="small-11 small-centered">
|
5
5
|
<div class="diploma__logo small-4 small-centered">
|
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 small-10 small-centered">
|
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,5 +1,5 @@
|
|
1
1
|
<% add_decidim_meta_tags({
|
2
|
-
image_url: current_participatory_space.attached_uploader(:hero_image).
|
2
|
+
image_url: current_participatory_space.attached_uploader(:hero_image).url,
|
3
3
|
description: translated_attribute(current_participatory_space.short_description),
|
4
4
|
url: conference_url(current_participatory_space),
|
5
5
|
twitter_handler: current_organization.twitter_handler
|
data/config/locales/de.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -9,26 +9,26 @@ sv:
|
|
9
9
|
copy_categories: Kopiera kategorier
|
10
10
|
copy_components: Kopiera komponenter
|
11
11
|
copy_features: Kopiera funktioner
|
12
|
-
decidim_scope_id:
|
12
|
+
decidim_scope_id: Indelning
|
13
13
|
description: Beskrivning
|
14
14
|
end_date: Slutdatum
|
15
15
|
hashtag: Hashtag
|
16
16
|
hero_image: Bild till startsida
|
17
17
|
location: Plats
|
18
|
-
main_logo:
|
18
|
+
main_logo: Logotyp
|
19
19
|
objectives: Mål
|
20
|
-
participatory_processes_ids: Relaterade
|
20
|
+
participatory_processes_ids: Relaterade deltagandeprocesser
|
21
21
|
promoted: Uppmärksammad
|
22
22
|
published_at: Publicerad
|
23
|
-
registration_terms:
|
23
|
+
registration_terms: Villkor för registrering
|
24
24
|
registrations_enabled: Registrering aktiverad
|
25
|
-
scope_id:
|
26
|
-
scopes_enabled:
|
25
|
+
scope_id: Indelning
|
26
|
+
scopes_enabled: Aktivera indelningar
|
27
27
|
short_description: Kort beskrivning
|
28
28
|
show_statistics: Visa statistik
|
29
29
|
sign_date: Underskriftsdatum
|
30
30
|
signature: Underskrift
|
31
|
-
signature_name:
|
31
|
+
signature_name: Signaturens namn
|
32
32
|
slogan: Slogan
|
33
33
|
slug: URL-slug
|
34
34
|
start_date: Startdatum
|
@@ -41,14 +41,14 @@ sv:
|
|
41
41
|
weight: Ordning
|
42
42
|
conference_partner:
|
43
43
|
link: Länk
|
44
|
-
logo:
|
44
|
+
logo: Logotyp
|
45
45
|
name: Namn
|
46
46
|
partner_type: Typ av partner
|
47
47
|
weight: Ordning
|
48
48
|
conference_registration_invite:
|
49
49
|
email: E-post
|
50
50
|
name: Namn
|
51
|
-
registration_type_id:
|
51
|
+
registration_type_id: Typ av registrering
|
52
52
|
user_id: Användare
|
53
53
|
conference_registration_type:
|
54
54
|
description: Beskrivning
|
@@ -56,12 +56,12 @@ sv:
|
|
56
56
|
title: Titel
|
57
57
|
weight: Ordning
|
58
58
|
conference_speaker:
|
59
|
-
affiliation:
|
60
|
-
avatar:
|
59
|
+
affiliation: Tillhörighet
|
60
|
+
avatar: Profilbild
|
61
61
|
conference_meeting_ids: Relaterade möten
|
62
62
|
full_name: Fullständigt namn
|
63
63
|
personal_url: Personlig URL
|
64
|
-
position:
|
64
|
+
position: Befattning
|
65
65
|
short_bio: Kort biographi
|
66
66
|
user_id: Användare
|
67
67
|
conference_user_role:
|
@@ -211,7 +211,7 @@ sv:
|
|
211
211
|
admin: Administratör
|
212
212
|
collaborator: Medarbetare
|
213
213
|
moderator: Moderator
|
214
|
-
valuator:
|
214
|
+
valuator: Handläggare
|
215
215
|
media_link:
|
216
216
|
fields:
|
217
217
|
date: Datum
|
@@ -481,7 +481,7 @@ sv:
|
|
481
481
|
introduction: Introduktion
|
482
482
|
objectives: Mål
|
483
483
|
related_assemblies: Relaterade grupper
|
484
|
-
related_participatory_processes: Relaterade
|
484
|
+
related_participatory_processes: Relaterade deltagandeprocesser
|
485
485
|
events:
|
486
486
|
conferences:
|
487
487
|
conference_registration_confirmed:
|
@@ -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
|
end
|
49
49
|
end
|
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.28.
|
4
|
+
version: 0.28.3
|
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-
|
11
|
+
date: 2024-09-10 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.28.
|
19
|
+
version: 0.28.3
|
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.28.
|
26
|
+
version: 0.28.3
|
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.28.
|
33
|
+
version: 0.28.3
|
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.28.
|
40
|
+
version: 0.28.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: wicked_pdf
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.28.
|
75
|
+
version: 0.28.3
|
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.28.
|
82
|
+
version: 0.28.3
|
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.28.
|
89
|
+
version: 0.28.3
|
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.28.
|
96
|
+
version: 0.28.3
|
97
97
|
description: Conferences component for decidim.
|
98
98
|
email:
|
99
99
|
- isaac.mg@coditramuntana.com
|