decidim-conferences 0.30.2 → 0.30.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6db2d7011e1e1833c7c2daf06cec7d89bb2477be82ee56b6b549866f0cd51048
4
- data.tar.gz: faf1d8ed82e6792632d119b05b8241f4659af976d5428087c35f70d269f161bd
3
+ metadata.gz: 6e4912b2d3f2c2c7934c32f14460c7dbe97bf0be41f7b07a531cef9e6817a3b7
4
+ data.tar.gz: c5b1f97cbb97a3457831628a0155e8a72a4d257feb0c25090114a2f47d4998c9
5
5
  SHA512:
6
- metadata.gz: 0c69694944b98d42da33468573aa3f24e3c644c169d5b232d486b3577f2c8188d54728e1ffc2d9b13b2e9cfc5c3f640db166d61d65ac7ed87a8ef6f889bac57f
7
- data.tar.gz: fefcb46942129fabeccb62262679bdea34c6ba3bd705799df8836d863afef6a55156bc1f33ff300e35a47fc1964c821b62c7649063c3bf82efc7e2348128b12a
6
+ metadata.gz: 1a7819dabaf7d60f2810774feb4f74f850f10a432cdc0765b776588b5168ea4c887409ddc62d3489bd3d138dd56e4f30bd67d9f6dfaf67805dbb8648a22b8c0c
7
+ data.tar.gz: ebd34a2ffb38394a167ebd643161e4fc42c81e37b2f6766a1d3679943ade759dd12548178a61ce919c7092072cfe22c1be5665f81cd75da6d2004c7568623647
@@ -13,7 +13,7 @@
13
13
  @apply h-10 grid place-items-center border-b-2 border-tertiary text-center text-xl text-gray-2 font-semibold;
14
14
  }
15
15
 
16
- &-category {
16
+ &-taxonomy {
17
17
  @apply h-10 w-full bg-background-4 border-b-2 border-secondary text-center text-secondary font-semibold text-md truncate leading-10;
18
18
 
19
19
  &-container {
@@ -4,23 +4,23 @@
4
4
  <%= start_time.to_fs(:time) %> - <%= end_time.to_fs(:time) %>
5
5
  </div>
6
6
  <div>
7
- <% categories = meetings.map(&:category).uniq %>
7
+ <% taxonomies = meetings.map(&:taxonomies).uniq %>
8
8
  <% seed = SecureRandom.hex(3).to_s %>
9
- <% if categories.present? %>
10
- <ul class="conference__program-category-container">
11
- <% categories.each do |category| %>
9
+ <% if taxonomies.present? %>
10
+ <ul class="conference__program-taxonomy-container">
11
+ <% taxonomies.each do |taxonomy| %>
12
12
  <li>
13
- <div class="conference__program-category">
14
- <%= category.present? ? translated_attribute(category.name) : "other" %>
13
+ <div class="conference__program-taxonomy">
14
+ <%= taxonomy.first.present? ? translated_attribute(taxonomy.first.name) : t(".other_category") %>
15
15
  </div>
16
16
  </li>
17
17
  <% end %>
18
18
  </ul>
19
19
  <% end %>
20
20
 
21
- <% meetings.group_by(&:category).each do |categories_block| %>
22
- <div class="conference__program-category-content">
23
- <% categories_block.last.each do |meeting| %>
21
+ <% meetings.group_by(&:taxonomies).each do |taxonomies_block| %>
22
+ <div class="conference__program-taxonomy-content">
23
+ <% taxonomies_block.last.each do |meeting| %>
24
24
  <%= render partial: "program_meeting", locals: { meeting: } %>
25
25
  <% end %>
26
26
  </div>
@@ -432,6 +432,8 @@ ca-IT:
432
432
  no_slots_available: No hi ha places disponibles
433
433
  registration: Inscripció
434
434
  conference_program:
435
+ program_item:
436
+ other_category: Altre
435
437
  show:
436
438
  program: Programa
437
439
  conference_registration_mailer:
@@ -432,6 +432,8 @@ ca:
432
432
  no_slots_available: No hi ha places disponibles
433
433
  registration: Inscripció
434
434
  conference_program:
435
+ program_item:
436
+ other_category: Altre
435
437
  show:
436
438
  program: Programa
437
439
  conference_registration_mailer:
@@ -440,6 +440,8 @@ cs:
440
440
  no_slots_available: Žádné sloty nejsou k dispozici
441
441
  registration: Registrace
442
442
  conference_program:
443
+ program_item:
444
+ other_category: Ostatní
443
445
  show:
444
446
  program: Program
445
447
  conference_registration_mailer:
@@ -432,6 +432,8 @@ en:
432
432
  no_slots_available: No slots available
433
433
  registration: Registration
434
434
  conference_program:
435
+ program_item:
436
+ other_category: Other
435
437
  show:
436
438
  program: Program
437
439
  conference_registration_mailer:
@@ -432,6 +432,8 @@ es-MX:
432
432
  no_slots_available: No hay plazas disponibles
433
433
  registration: Inscripción
434
434
  conference_program:
435
+ program_item:
436
+ other_category: Otro
435
437
  show:
436
438
  program: Programa
437
439
  conference_registration_mailer:
@@ -432,6 +432,8 @@ es-PY:
432
432
  no_slots_available: No hay espacios disponibles
433
433
  registration: Registro
434
434
  conference_program:
435
+ program_item:
436
+ other_category: Otro
435
437
  show:
436
438
  program: Programa
437
439
  conference_registration_mailer:
@@ -432,6 +432,8 @@ es:
432
432
  no_slots_available: No hay plazas disponibles
433
433
  registration: Inscripción
434
434
  conference_program:
435
+ program_item:
436
+ other_category: Otro
435
437
  show:
436
438
  program: Programa
437
439
  conference_registration_mailer:
@@ -432,6 +432,8 @@ eu:
432
432
  no_slots_available: Ez dago plazarik
433
433
  registration: Izen-ematea
434
434
  conference_program:
435
+ program_item:
436
+ other_category: Beste bat
435
437
  show:
436
438
  program: Egitaraua
437
439
  conference_registration_mailer:
@@ -427,6 +427,8 @@ fr-CA:
427
427
  no_slots_available: Il ne reste plus de place
428
428
  registration: Inscription
429
429
  conference_program:
430
+ program_item:
431
+ other_category: Autre
430
432
  show:
431
433
  program: Programme
432
434
  conference_registration_mailer:
@@ -427,6 +427,8 @@ fr:
427
427
  no_slots_available: Il ne reste plus de place
428
428
  registration: Inscription
429
429
  conference_program:
430
+ program_item:
431
+ other_category: Autre
430
432
  show:
431
433
  program: Programme
432
434
  conference_registration_mailer:
@@ -428,6 +428,8 @@ ja:
428
428
  no_slots_available: 利用可能なスロットがありません
429
429
  registration: 登録
430
430
  conference_program:
431
+ program_item:
432
+ other_category: その他
431
433
  show:
432
434
  program: プログラム
433
435
  conference_registration_mailer:
@@ -426,6 +426,8 @@ sv:
426
426
  no_slots_available: Inga platser tillgängliga
427
427
  registration: Registrering
428
428
  conference_program:
429
+ program_item:
430
+ other_category: Övrigt
429
431
  show:
430
432
  program: Program
431
433
  conference_registration_mailer:
@@ -37,10 +37,8 @@ Decidim.register_participatory_space(:conferences) do |participatory_space|
37
37
  end
38
38
 
39
39
  participatory_space.exports :conferences do |export|
40
- export.collection do
41
- Decidim::Conference
42
- .public_spaces
43
- .includes(:taxonomies, :attachment_collections)
40
+ export.collection do |space, _user|
41
+ Decidim::Conference.public_spaces.includes(:taxonomies, :attachment_collections).where(id: space)
44
42
  end
45
43
 
46
44
  export.include_in_open_data = true
@@ -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.30.2"
7
+ "0.30.4"
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.30.2
4
+ version: 0.30.4
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: 2025-09-23 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.30.2
19
+ version: 0.30.4
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.30.2
26
+ version: 0.30.4
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.30.2
33
+ version: 0.30.4
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.30.2
40
+ version: 0.30.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-admin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.30.2
47
+ version: 0.30.4
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.30.2
54
+ version: 0.30.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-dev
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.30.2
61
+ version: 0.30.4
62
62
  type: :development
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: 0.30.2
68
+ version: 0.30.4
69
69
  description: Conferences component for decidim.
70
70
  email:
71
71
  - isaac.mg@coditramuntana.com