decidim-meetings 0.26.3 → 0.26.5
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/meetings/meeting_list_item_cell.rb +1 -1
- data/app/cells/decidim/meetings/meeting_m_cell.rb +1 -1
- data/app/cells/decidim/meetings/meeting_s_cell.rb +0 -6
- data/app/commands/decidim/meetings/admin/copy_meeting.rb +23 -4
- data/app/controllers/decidim/meetings/admin/meeting_copies_controller.rb +2 -2
- data/app/forms/decidim/meetings/admin/meeting_form.rb +5 -9
- data/app/views/decidim/meetings/admin/meeting_copies/new.html.erb +1 -1
- data/app/views/decidim/meetings/admin/meetings/_form.html.erb +1 -1
- data/app/views/decidim/meetings/admin/meetings/index.html.erb +1 -1
- data/config/locales/ar.yml +0 -6
- data/config/locales/bg.yml +0 -6
- data/config/locales/ca.yml +17 -10
- data/config/locales/cs.yml +15 -8
- data/config/locales/de.yml +12 -10
- data/config/locales/el.yml +0 -6
- data/config/locales/en.yml +17 -10
- data/config/locales/es-MX.yml +17 -10
- data/config/locales/es-PY.yml +17 -10
- data/config/locales/es.yml +17 -10
- data/config/locales/eu.yml +195 -156
- data/config/locales/fi-plain.yml +17 -10
- data/config/locales/fi.yml +17 -10
- data/config/locales/fr-CA.yml +16 -9
- data/config/locales/fr.yml +16 -9
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +0 -9
- data/config/locales/gn-PY.yml +1 -0
- data/config/locales/hu.yml +0 -10
- data/config/locales/id-ID.yml +0 -6
- data/config/locales/is-IS.yml +0 -2
- data/config/locales/it.yml +0 -7
- data/config/locales/ja.yml +17 -10
- data/config/locales/ka-GE.yml +1 -0
- data/config/locales/lb.yml +0 -6
- data/config/locales/lo-LA.yml +1 -0
- data/config/locales/lt.yml +0 -10
- data/config/locales/lv.yml +0 -6
- data/config/locales/nl.yml +0 -10
- data/config/locales/no.yml +0 -10
- data/config/locales/pl.yml +1 -6
- data/config/locales/pt-BR.yml +0 -6
- data/config/locales/pt.yml +0 -7
- data/config/locales/ro-RO.yml +20 -10
- data/config/locales/ru.yml +0 -6
- data/config/locales/sk.yml +0 -6
- data/config/locales/sl.yml +0 -3
- data/config/locales/sv.yml +11 -9
- data/config/locales/tr-TR.yml +0 -6
- data/config/locales/uk.yml +0 -6
- data/config/locales/zh-CN.yml +0 -6
- data/lib/decidim/meetings/engine.rb +1 -1
- data/lib/decidim/meetings/version.rb +1 -1
- metadata +17 -16
- data/app/forms/decidim/meetings/admin/meeting_copy_form.rb +0 -51
- data/app/views/decidim/meetings/admin/meeting_copies/_form.html.erb +0 -64
data/config/locales/pt-BR.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
pt-BR:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Descrição
|
6
|
-
duration: Duração
|
7
|
-
title: Título
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Número de Participantes
|
10
6
|
attending_organizations: Lista de organizações que participaram
|
@@ -22,7 +18,6 @@ pt-BR:
|
|
22
18
|
decidim_scope_id: Âmbito
|
23
19
|
decidim_user_group_id: Grupo de usuários
|
24
20
|
description: Descrição
|
25
|
-
end_time: Fim do tempo
|
26
21
|
location: Localização
|
27
22
|
location_hints: Dicas de localização
|
28
23
|
online_meeting_url: URL da reunião on-line
|
@@ -34,7 +29,6 @@ pt-BR:
|
|
34
29
|
registration_terms: Termos de registro
|
35
30
|
registration_url: URL de Registro
|
36
31
|
registrations_enabled: Registos habilitados
|
37
|
-
start_time: Hora de início
|
38
32
|
title: Título
|
39
33
|
transparent: Transparente
|
40
34
|
type_of_meeting: Tipo
|
data/config/locales/pt.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
pt:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Descrição
|
6
|
-
duration: Duração
|
7
|
-
title: Título
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Número de participantes
|
10
6
|
attending_organizations: Lista de organizações que participaram
|
@@ -22,7 +18,6 @@ pt:
|
|
22
18
|
decidim_scope_id: Âmbito
|
23
19
|
decidim_user_group_id: Grupo de utilizadores
|
24
20
|
description: Descrição
|
25
|
-
end_time: Hora de fim
|
26
21
|
id: IDENTIFICAÇÃO
|
27
22
|
location: Localização
|
28
23
|
location_hints: Dicas de localização
|
@@ -35,8 +30,6 @@ pt:
|
|
35
30
|
registration_terms: Termos de registo
|
36
31
|
registration_url: URL de registo
|
37
32
|
registrations_enabled: Registos ativados
|
38
|
-
show_embedded_iframe: Mostrar iframe embutido para este URL
|
39
|
-
start_time: Hora de início
|
40
33
|
title: Título
|
41
34
|
transparent: Transparente
|
42
35
|
type_of_meeting: Tipo
|
data/config/locales/ro-RO.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
ro:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Descriere
|
6
|
-
duration: Durată
|
7
|
-
title: Titlu
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Număr de participanți
|
10
6
|
attending_organizations: Lista organizaţiilor care au participat
|
@@ -22,7 +18,6 @@ ro:
|
|
22
18
|
decidim_scope_id: Domeniu de interes
|
23
19
|
decidim_user_group_id: Grup de utilizatori
|
24
20
|
description: Descriere
|
25
|
-
end_time: Ora de încheiere
|
26
21
|
id: ID
|
27
22
|
location: Locaţie
|
28
23
|
location_hints: Sugestii de localizare
|
@@ -35,13 +30,20 @@ ro:
|
|
35
30
|
registration_terms: Termeni de înregistrare
|
36
31
|
registration_url: URL înregistrare
|
37
32
|
registrations_enabled: Înregistrări activate
|
38
|
-
show_embedded_iframe: Arată iframe încorporat pentru acest URL
|
39
|
-
start_time: Ora de începere
|
40
33
|
title: Titlu
|
41
34
|
transparent: Transparentă
|
42
35
|
type_of_meeting: Tip
|
36
|
+
meeting_agenda:
|
37
|
+
title: Titlu
|
38
|
+
meeting_agenda_items:
|
39
|
+
duration: Durată
|
40
|
+
title: Titlu
|
43
41
|
errors:
|
44
42
|
models:
|
43
|
+
meeting:
|
44
|
+
attributes:
|
45
|
+
iframe_embed_type:
|
46
|
+
not_embeddable: Această adresă URL nu poate fi încorporată în ședință sau în pagina de evenimente live
|
45
47
|
meeting_agenda:
|
46
48
|
attributes:
|
47
49
|
base:
|
@@ -99,6 +101,7 @@ ro:
|
|
99
101
|
type_eq:
|
100
102
|
label: Tip de întâlnire
|
101
103
|
values:
|
104
|
+
hybrid: Hibrid
|
102
105
|
in_person: În persoană
|
103
106
|
online: Online
|
104
107
|
meeting_copies:
|
@@ -180,6 +183,9 @@ ro:
|
|
180
183
|
email_outro: Ai primit această notificare deoarece te-ai înregistrate pentru întâlnirea „%{resource_title}”. O puteți anula de la link-ul anterior.
|
181
184
|
email_subject: Întâlnirea „%{resource_title}” va începe în mai puțin de 48 de ore.
|
182
185
|
notification_title: Ședința <a href="%{resource_path}">%{resource_title}</a> va începe în mai puțin de 48 de ore.
|
186
|
+
forms:
|
187
|
+
meetings:
|
188
|
+
attendees_count_help_text: Nu uitați să includeți numărul total de participanți la întâlnire, fie că este vorba de persoane fizice, online sau hibride.
|
183
189
|
gamification:
|
184
190
|
badges:
|
185
191
|
attended_meetings:
|
@@ -278,9 +284,6 @@ ro:
|
|
278
284
|
edit:
|
279
285
|
close: Închide
|
280
286
|
title: Închide ședința
|
281
|
-
meeting_copies:
|
282
|
-
form:
|
283
|
-
select_a_meeting_type: Te rugăm să selectezi un tip de ședință
|
284
287
|
meetings:
|
285
288
|
close:
|
286
289
|
invalid: A apărut o problemă la închiderea acestei întâlniri
|
@@ -309,6 +312,8 @@ ro:
|
|
309
312
|
registration_url_help: 'Link: permite participanților să acceseze serviciul extern pe care îl utilizezi pentru înregistrare'
|
310
313
|
select_a_meeting_type: Te rugăm să selectezi un tip de ședință
|
311
314
|
select_a_registration_type: Te rugăm să selectezi un tip de înregistrare
|
315
|
+
select_an_iframe_access_level: Vă rugăm să selectați un nivel de acces iframe
|
316
|
+
show_embedded_iframe_help: Doar câteva servicii permit încorporarea în întâlniri sau evenimente live (YouTube, Twitch și Jitsi)
|
312
317
|
index:
|
313
318
|
title: Întâlniri
|
314
319
|
new:
|
@@ -406,6 +411,7 @@ ro:
|
|
406
411
|
registered: Participanții înregistrați la acest eveniment
|
407
412
|
iframe_embed_type:
|
408
413
|
embed_in_meeting_page: Incorporează în pagina de şedinţe
|
414
|
+
none: Niciunul
|
409
415
|
open_in_live_event_page: Deschide în pagina de evenimente live (cu sondaje opționale)
|
410
416
|
open_in_new_tab: Deschideți în filă nouă
|
411
417
|
last_activity:
|
@@ -471,6 +477,7 @@ ro:
|
|
471
477
|
type: Tip
|
472
478
|
type_values:
|
473
479
|
all: Toate
|
480
|
+
hybrid: Hibrid
|
474
481
|
in_person: În persoană
|
475
482
|
online: Online
|
476
483
|
filters_small_view:
|
@@ -490,6 +497,7 @@ ro:
|
|
490
497
|
select_a_category: Te rugăm să selectezi o categorie
|
491
498
|
select_a_meeting_type: Te rugăm să selectezi un tip de ședință
|
492
499
|
select_a_registration_type: Te rugăm să selectezi un tip de înregistrare
|
500
|
+
show_embedded_iframe_help: Doar câteva servicii permit încorporarea în întâlniri sau evenimente live (YouTube, Twitch și Jitsi)
|
493
501
|
index:
|
494
502
|
click_here: Vezi toate întâlnirile
|
495
503
|
new_meeting: Întâlnire nouă
|
@@ -572,6 +580,7 @@ ro:
|
|
572
580
|
empty_questions: Pe parcursul acestei întâlniri, vor fi trimise câteva întrebări și vei putea răspunde la acestea. Acestea vor fi afișate aici.
|
573
581
|
index_admin:
|
574
582
|
admin_dashboard: Panou de administrare
|
583
|
+
edit: Editează în panoul de administrare
|
575
584
|
question: Întrebare
|
576
585
|
received_answer: răspuns primit
|
577
586
|
received_answers: răspunsuri primite
|
@@ -610,6 +619,7 @@ ro:
|
|
610
619
|
invalid: A existat o problemă la părăsirea acestei reuniuni.
|
611
620
|
success: Ai părăsit şedinţa cu succes.
|
612
621
|
type_of_meeting:
|
622
|
+
hybrid: Hibrid
|
613
623
|
in_person: În persoană
|
614
624
|
online: Online
|
615
625
|
types:
|
data/config/locales/ru.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
ru:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Описание
|
6
|
-
duration: Длительность
|
7
|
-
title: Заголовок
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Количество участников
|
10
6
|
attending_organizations: Список принявших участие организаций
|
@@ -18,7 +14,6 @@ ru:
|
|
18
14
|
decidim_category_id: Категория
|
19
15
|
decidim_scope_id: Охват
|
20
16
|
description: Описание
|
21
|
-
end_time: Время окончания
|
22
17
|
location: Место
|
23
18
|
location_hints: Как добраться
|
24
19
|
organizer_id: Организация
|
@@ -26,7 +21,6 @@ ru:
|
|
26
21
|
registration_form_enabled: Регистрационная форма включена
|
27
22
|
registration_terms: Условия регистрации
|
28
23
|
registrations_enabled: Регистрация включена
|
29
|
-
start_time: Время начала
|
30
24
|
title: Название
|
31
25
|
transparent: Прозрачная
|
32
26
|
errors:
|
data/config/locales/sk.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
sk:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Popis
|
6
|
-
duration: Čas trvania
|
7
|
-
title: Názov
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Počet účastníkov
|
10
6
|
attending_organizations: Zoznam organizácií, ktoré sa zúčastnili
|
@@ -18,7 +14,6 @@ sk:
|
|
18
14
|
decidim_category_id: Kategória
|
19
15
|
decidim_scope_id: Rozsah
|
20
16
|
description: Popis
|
21
|
-
end_time: Čas ukončenia
|
22
17
|
location: Umiestnenie
|
23
18
|
location_hints: Tipy pre umiestnenie
|
24
19
|
organizer_id: Organizátor
|
@@ -26,7 +21,6 @@ sk:
|
|
26
21
|
registration_form_enabled: Registračný formulár je povolený
|
27
22
|
registration_terms: Podmienky registrácie
|
28
23
|
registrations_enabled: Registrácia povolené
|
29
|
-
start_time: Čas začatia
|
30
24
|
title: Názov
|
31
25
|
transparent: Transparentné
|
32
26
|
errors:
|
data/config/locales/sl.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
sv:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Beskrivning
|
6
|
-
duration: Varaktighet
|
7
|
-
title: Titel
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Antal deltagare
|
10
6
|
attending_organizations: Lista över organisationer som deltog
|
@@ -35,11 +31,20 @@ sv:
|
|
35
31
|
registration_terms: Registreringsvillkor
|
36
32
|
registration_url: URL för anmälan
|
37
33
|
registrations_enabled: Registreringar aktiverade
|
38
|
-
show_embedded_iframe: Visa integrerad iframe för denna URL
|
39
|
-
start_time: Starttid
|
40
34
|
title: Titel
|
41
35
|
transparent: Transparent
|
42
36
|
type_of_meeting: Typ
|
37
|
+
meeting_agenda:
|
38
|
+
title: Titel
|
39
|
+
visible: Synlig
|
40
|
+
meeting_agenda_items:
|
41
|
+
duration: Varaktighet
|
42
|
+
title: Titel
|
43
|
+
meeting_registration_invite:
|
44
|
+
email: E-post
|
45
|
+
name: Namn
|
46
|
+
validate_registration_code:
|
47
|
+
code: Kod
|
43
48
|
errors:
|
44
49
|
models:
|
45
50
|
meeting:
|
@@ -279,9 +284,6 @@ sv:
|
|
279
284
|
edit:
|
280
285
|
close: Stäng
|
281
286
|
title: Stäng mötet
|
282
|
-
meeting_copies:
|
283
|
-
form:
|
284
|
-
select_a_meeting_type: Välj mötestyp
|
285
287
|
meetings:
|
286
288
|
close:
|
287
289
|
invalid: Det gick inte att stänga mötet
|
data/config/locales/tr-TR.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
tr:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Açıklama
|
6
|
-
duration: süre
|
7
|
-
title: Başlık
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Katılımcı sayısı
|
10
6
|
attending_organizations: Katılan kuruluşların listesi
|
@@ -21,7 +17,6 @@ tr:
|
|
21
17
|
decidim_scope_id: kapsam
|
22
18
|
decidim_user_group_id: Kullanıcı grubu
|
23
19
|
description: Açıklama
|
24
|
-
end_time: Bitiş zamanı
|
25
20
|
location: yer
|
26
21
|
location_hints: Yer ipuçları
|
27
22
|
online_meeting_url: Çevrimiçi Toplantı URL
|
@@ -32,7 +27,6 @@ tr:
|
|
32
27
|
registration_terms: Kayıt şartları
|
33
28
|
registration_url: Kayıt URL
|
34
29
|
registrations_enabled: Kayıtlar etkinleştirildi
|
35
|
-
start_time: Başlama zamanı
|
36
30
|
title: Başlık
|
37
31
|
transparent: Şeffaf
|
38
32
|
type_of_meeting: Tür
|
data/config/locales/uk.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
uk:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: Опис
|
6
|
-
duration: Тривалість
|
7
|
-
title: Заголовок
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: Кількість учасників
|
10
6
|
attending_organizations: Перелік організацій, які брали участь
|
@@ -18,14 +14,12 @@ uk:
|
|
18
14
|
decidim_category_id: Категорія
|
19
15
|
decidim_scope_id: Обсяг
|
20
16
|
description: Опис
|
21
|
-
end_time: Час завершення
|
22
17
|
location: Розташування
|
23
18
|
location_hints: Як дістатися до цього місця
|
24
19
|
organizer_id: Організатор
|
25
20
|
private_meeting: Приватна зустріч
|
26
21
|
registration_terms: Умови реєстрації
|
27
22
|
registrations_enabled: Реєстрацію відкрито
|
28
|
-
start_time: Час початку
|
29
23
|
title: Назва
|
30
24
|
transparent: Прозора
|
31
25
|
errors:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
zh-CN:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
-
agenda:
|
5
|
-
description: 描述
|
6
|
-
duration: 期限
|
7
|
-
title: 标题
|
8
4
|
close_meeting:
|
9
5
|
attendees_count: 参与者人数
|
10
6
|
attending_organizations: 与会组织名单
|
@@ -19,7 +15,6 @@ zh-CN:
|
|
19
15
|
decidim_scope_id: 范围
|
20
16
|
decidim_user_group_id: 用户组
|
21
17
|
description: 描述
|
22
|
-
end_time: 结束时间
|
23
18
|
location: 地点
|
24
19
|
location_hints: 位置提示
|
25
20
|
organizer_gid: 创建为
|
@@ -28,7 +23,6 @@ zh-CN:
|
|
28
23
|
registration_form_enabled: 注册表单已启用
|
29
24
|
registration_terms: 注册条款
|
30
25
|
registrations_enabled: 注册已启用
|
31
|
-
start_time: 开始时间
|
32
26
|
title: 标题
|
33
27
|
transparent: 透明的
|
34
28
|
errors:
|
@@ -57,7 +57,7 @@ module Decidim
|
|
57
57
|
# meeting for the given participatory space.
|
58
58
|
Decidim.view_hooks.register(:upcoming_meeting_for_card, priority: Decidim::ViewHooks::LOW_PRIORITY) do |view_context|
|
59
59
|
published_components = Decidim::Component.where(participatory_space: view_context.current_participatory_space).published
|
60
|
-
upcoming_meeting = Decidim::Meetings::Meeting.where(component: published_components).upcoming.order(:start_time, :end_time).first
|
60
|
+
upcoming_meeting = Decidim::Meetings::Meeting.where(component: published_components).published.upcoming.order(:start_time, :end_time).first
|
61
61
|
|
62
62
|
next unless upcoming_meeting
|
63
63
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-meetings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.26.
|
21
|
+
version: 0.26.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.26.
|
28
|
+
version: 0.26.5
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-forms
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.26.
|
35
|
+
version: 0.26.5
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.26.
|
42
|
+
version: 0.26.5
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: icalendar
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,56 +60,56 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.26.
|
63
|
+
version: 0.26.5
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.26.
|
70
|
+
version: 0.26.5
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: decidim-assemblies
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.26.
|
77
|
+
version: 0.26.5
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.26.
|
84
|
+
version: 0.26.5
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: decidim-dev
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.26.
|
91
|
+
version: 0.26.5
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.26.
|
98
|
+
version: 0.26.5
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: decidim-participatory_processes
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - '='
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.26.
|
105
|
+
version: 0.26.5
|
106
106
|
type: :development
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - '='
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.26.
|
112
|
+
version: 0.26.5
|
113
113
|
description: A meetings component for decidim's participatory spaces.
|
114
114
|
email:
|
115
115
|
- josepjaume@gmail.com
|
@@ -224,7 +224,6 @@ files:
|
|
224
224
|
- app/forms/decidim/meetings/admin/close_meeting_form.rb
|
225
225
|
- app/forms/decidim/meetings/admin/meeting_agenda_form.rb
|
226
226
|
- app/forms/decidim/meetings/admin/meeting_agenda_items_form.rb
|
227
|
-
- app/forms/decidim/meetings/admin/meeting_copy_form.rb
|
228
227
|
- app/forms/decidim/meetings/admin/meeting_form.rb
|
229
228
|
- app/forms/decidim/meetings/admin/meeting_registration_invite_form.rb
|
230
229
|
- app/forms/decidim/meetings/admin/meeting_registrations_form.rb
|
@@ -319,7 +318,6 @@ files:
|
|
319
318
|
- app/views/decidim/meetings/admin/meeting_closes/_form.html.erb
|
320
319
|
- app/views/decidim/meetings/admin/meeting_closes/edit.html.erb
|
321
320
|
- app/views/decidim/meetings/admin/meeting_closes/proposals_picker.html.erb
|
322
|
-
- app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
|
323
321
|
- app/views/decidim/meetings/admin/meeting_copies/new.html.erb
|
324
322
|
- app/views/decidim/meetings/admin/meetings/_form.html.erb
|
325
323
|
- app/views/decidim/meetings/admin/meetings/_service.html.erb
|
@@ -406,6 +404,7 @@ files:
|
|
406
404
|
- config/locales/fr.yml
|
407
405
|
- config/locales/ga-IE.yml
|
408
406
|
- config/locales/gl.yml
|
407
|
+
- config/locales/gn-PY.yml
|
409
408
|
- config/locales/hr-HR.yml
|
410
409
|
- config/locales/hr.yml
|
411
410
|
- config/locales/hu.yml
|
@@ -414,10 +413,12 @@ files:
|
|
414
413
|
- config/locales/is.yml
|
415
414
|
- config/locales/it.yml
|
416
415
|
- config/locales/ja.yml
|
416
|
+
- config/locales/ka-GE.yml
|
417
417
|
- config/locales/ko-KR.yml
|
418
418
|
- config/locales/ko.yml
|
419
419
|
- config/locales/lb-LU.yml
|
420
420
|
- config/locales/lb.yml
|
421
|
+
- config/locales/lo-LA.yml
|
421
422
|
- config/locales/lt-LT.yml
|
422
423
|
- config/locales/lt.yml
|
423
424
|
- config/locales/lv.yml
|
@@ -1,51 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Decidim
|
4
|
-
module Meetings
|
5
|
-
module Admin
|
6
|
-
# A form object used to copy a meeting from the admin
|
7
|
-
# dashboard.
|
8
|
-
#
|
9
|
-
class MeetingCopyForm < ::Decidim::Meetings::BaseMeetingForm
|
10
|
-
include TranslatableAttributes
|
11
|
-
|
12
|
-
translatable_attribute :title, String
|
13
|
-
translatable_attribute :description, String
|
14
|
-
translatable_attribute :location, String
|
15
|
-
translatable_attribute :location_hints, String
|
16
|
-
|
17
|
-
attribute :show_embedded_iframe, Boolean, default: false
|
18
|
-
attribute :private_meeting, Boolean
|
19
|
-
attribute :transparent, Boolean
|
20
|
-
attribute :services, Array[MeetingServiceForm]
|
21
|
-
|
22
|
-
mimic :meeting
|
23
|
-
|
24
|
-
validates :online_meeting_url, url: true, if: ->(form) { form.online_meeting? || form.hybrid_meeting? }
|
25
|
-
validates :title, translatable_presence: true
|
26
|
-
validates :description, translatable_presence: true
|
27
|
-
validates :location, translatable_presence: true, if: ->(form) { form.in_person_meeting? || form.hybrid_meeting? }
|
28
|
-
|
29
|
-
def map_model(model)
|
30
|
-
self.services = model.services.map do |service|
|
31
|
-
MeetingServiceForm.new(service.attributes)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
def services_to_persist
|
36
|
-
services.reject(&:deleted)
|
37
|
-
end
|
38
|
-
|
39
|
-
def number_of_services
|
40
|
-
services.size
|
41
|
-
end
|
42
|
-
|
43
|
-
alias component current_component
|
44
|
-
|
45
|
-
def questionnaire
|
46
|
-
Decidim::Forms::Questionnaire.new
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
@@ -1,64 +0,0 @@
|
|
1
|
-
<div class="card" id="meetings">
|
2
|
-
<div class="card-divider">
|
3
|
-
<h2 class="card-title"><%= title %></h2>
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<div class="card-section">
|
7
|
-
<div class="row column hashtags__container">
|
8
|
-
<%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, value: @meeting.present? ? present(@meeting).title(all_locales: true) : @form.title.with_indifferent_access %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="row column hashtags__container">
|
12
|
-
<%= form.translated :editor, :description, hashtaggable: true, value: @meeting.present? ? present(@meeting).description(all_locales: true) : @form.description.with_indifferent_access %>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="row column">
|
16
|
-
<%= form.select :type_of_meeting,
|
17
|
-
@form.type_of_meeting_select,
|
18
|
-
{ include_blank: t(".select_a_meeting_type") },
|
19
|
-
{ multiple: false } %>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<div class="row column field" data-meeting-type="in_person">
|
23
|
-
<%= form.geocoding_field :address %>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<div class="row column field" data-meeting-type="in_person">
|
27
|
-
<%= form.translated :text_area, :location %>
|
28
|
-
</div>
|
29
|
-
|
30
|
-
<div class="row column">
|
31
|
-
<%= form.translated :text_area, :location_hints %>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
<div class="row column field" data-meeting-type="online">
|
35
|
-
<%= form.text_field :online_meeting_url %>
|
36
|
-
</div>
|
37
|
-
|
38
|
-
<div class="row column field" data-meeting-type="online">
|
39
|
-
<%= form.check_box :show_embedded_iframe %>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<div class="row">
|
43
|
-
<div class="columns xlarge-6">
|
44
|
-
<%= form.datetime_field :start_time %>
|
45
|
-
</div>
|
46
|
-
|
47
|
-
<div class="columns xlarge-6">
|
48
|
-
<%= form.datetime_field :end_time %>
|
49
|
-
</div>
|
50
|
-
</div>
|
51
|
-
|
52
|
-
<div class="row column" id="private_meeting">
|
53
|
-
<%= form.check_box :private_meeting %>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
<div class="row column" id="transparent">
|
57
|
-
<%= form.check_box :transparent %>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<%= render "decidim/meetings/admin/meetings/services", form: form %>
|
63
|
-
|
64
|
-
<%= javascript_pack_tag "decidim_meetings_admin" %>
|