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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9979410c8557b9b4676872c4f417068d0771f0bcaa8408a5db9eed053f8fd3f4
4
- data.tar.gz: 4d452b7679081dc7cb00fbb604a04dd5f879a08b4412ae795e61c259116deee3
3
+ metadata.gz: 8fe7b94002a913b6805f53ffb89528cd888b31b0602bf802133032165240b9c4
4
+ data.tar.gz: da64adc9bb9e9c7d690260a4a5513ebfcd6586d99ffb0fb9cd35683317ef13a9
5
5
  SHA512:
6
- metadata.gz: e3e934d24ddbe30f198ca76f624c480ef70baf5af4e78ca825d3bb32535870e0997e2be471400cdc94717cabfc9007b78430a9650ad457c54ea11f34b32cff0f
7
- data.tar.gz: 61fac52abe403a2a868427cd5d111839d8a85710f99ba23ecbd817605354cf2e6b6c337fc897d6ec28a0fac29e17908e8ce04c990931242bb1aec9af507ca6de
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 resource_image_path
15
- model.attached_uploader(:hero_image).path
14
+ def resource_image_url
15
+ model.attached_uploader(:hero_image).url
16
16
  end
17
17
 
18
18
  def metadata_cell
@@ -1,3 +1,3 @@
1
1
  <div class="conference__grid-item-img">
2
- <%= image_tag model.attached_uploader(:logo).path(variant: :medium), alt: "logo" %>
2
+ <%= image_tag model.attached_uploader(:logo).variant_url(:medium), alt: "logo" %>
3
3
  </div>
@@ -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).path(variant: :medium), alt: "logo"} </div>"
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
- <li class="exports--format--<%= format.downcase %> exports--registrations"><%= link_to t("decidim.admin.exports.export_as", name: t("decidim.admin.conferences.exports.registrations"), export_format: format), export_conference_conference_registrations_path(conference_id: conference, format:) %></li>
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.attached_uploader(:logo).path %>
39
- <%= image_tag(partner.attached_uploader(:logo).path(variant: :thumb)) %>
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">
@@ -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).url(variant: :thumb, host: @conference.organization.host) %>
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).url(variant: :thumb, host: @conference.organization.host) %>
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).path %>');" data-conference-hero>
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).path,
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
@@ -229,7 +229,7 @@ de:
229
229
  admin: Administrator
230
230
  collaborator: Mitarbeiter
231
231
  moderator: Moderator
232
- valuator: Schätzer
232
+ valuator: Bewertende
233
233
  media_link:
234
234
  fields:
235
235
  date: Datum
@@ -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: Omfång
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: Huvudbild
18
+ main_logo: Logotyp
19
19
  objectives: Mål
20
- participatory_processes_ids: Relaterade dialoger
20
+ participatory_processes_ids: Relaterade deltagandeprocesser
21
21
  promoted: Uppmärksammad
22
22
  published_at: Publicerad
23
- registration_terms: Registreringsvillkor
23
+ registration_terms: Villkor för registrering
24
24
  registrations_enabled: Registrering aktiverad
25
- scope_id: Omfång
26
- scopes_enabled: Omfång aktiverat
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: Signaturnamn
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: Logga
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: Registreringstyp
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: Anknytning
60
- avatar: 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: Plats
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: Värderare
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 dialoger
484
+ related_participatory_processes: Relaterade deltagandeprocesser
485
485
  events:
486
486
  conferences:
487
487
  conference_registration_confirmed:
@@ -16,7 +16,7 @@ module Decidim
16
16
  field :updated_at, Decidim::Core::DateTimeType, "The time this partner was updated", null: true
17
17
 
18
18
  def logo
19
- object.attached_uploader(:logo).path
19
+ object.attached_uploader(:logo).url
20
20
  end
21
21
  end
22
22
  end
@@ -20,7 +20,7 @@ module Decidim
20
20
  field :updated_at, Decidim::Core::DateTimeType, "The time this member was updated", null: true
21
21
 
22
22
  def avatar
23
- object.attached_uploader(:avatar).path
23
+ object.attached_uploader(:avatar).url
24
24
  end
25
25
  end
26
26
  end
@@ -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).path
42
+ object.attached_uploader(:hero_image).url
43
43
  end
44
44
 
45
45
  def banner_image
46
- object.attached_uploader(:banner_image).path
46
+ object.attached_uploader(:banner_image).url
47
47
  end
48
48
  end
49
49
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-conferences version.
5
5
  module Conferences
6
6
  def self.version
7
- "0.28.2"
7
+ "0.28.3"
8
8
  end
9
9
  end
10
10
  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.2
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-07-16 00:00:00.000000000 Z
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.2
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.2
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.2
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.2
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.2
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.2
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.2
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.2
96
+ version: 0.28.3
97
97
  description: Conferences component for decidim.
98
98
  email:
99
99
  - isaac.mg@coditramuntana.com