decidim-conferences 0.29.7 → 0.30.0.rc1
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 +4 -4
- data/app/cells/decidim/conferences/content_blocks/highlighted_conferences_settings_form/show.erb +1 -1
- data/app/commands/decidim/conferences/admin/copy_conference.rb +2 -12
- data/app/commands/decidim/conferences/admin/create_conference.rb +1 -1
- data/app/commands/decidim/conferences/admin/invite_user_to_join_conference.rb +1 -1
- data/app/commands/decidim/conferences/admin/update_conference.rb +1 -1
- data/app/controllers/decidim/conferences/admin/component_share_tokens_controller.rb +18 -0
- data/app/controllers/decidim/conferences/admin/concerns/conference_admin.rb +1 -1
- data/app/controllers/decidim/conferences/admin/conference_share_tokens_controller.rb +18 -0
- data/app/controllers/decidim/conferences/admin/conferences_controller.rb +17 -4
- data/app/forms/decidim/conferences/admin/conference_copy_form.rb +0 -1
- data/app/forms/decidim/conferences/admin/conference_form.rb +3 -8
- data/app/helpers/decidim/conferences/conference_program_helper.rb +4 -2
- data/app/mailers/decidim/conferences/admin/send_conference_diploma_mailer.rb +1 -11
- data/app/models/decidim/conference.rb +19 -0
- data/app/models/decidim/conferences/conference_invite.rb +10 -0
- data/app/permissions/decidim/conferences/permissions.rb +11 -10
- data/app/presenters/decidim/conferences/admin_log/conference_presenter.rb +1 -1
- data/app/presenters/decidim/conferences/conference_presenter.rb +19 -0
- data/app/serializers/decidim/conferences/conference_serializer.rb +24 -0
- data/app/serializers/decidim/conferences/download_your_data_conference_invite_serializer.rb +3 -4
- data/app/serializers/decidim/conferences/download_your_data_conference_registration_serializer.rb +4 -4
- data/app/serializers/decidim/conferences/open_data_conference_serializer.rb +30 -0
- data/app/views/decidim/conferences/admin/conference_copies/_form.html.erb +0 -3
- data/app/views/decidim/conferences/admin/conferences/_actions.html.erb +35 -0
- data/app/views/decidim/conferences/admin/conferences/_conference_row.html.erb +28 -0
- data/app/views/decidim/conferences/admin/conferences/_conferences_thead.html.erb +8 -0
- data/app/views/decidim/conferences/admin/conferences/_form.html.erb +27 -8
- data/app/views/decidim/conferences/admin/conferences/index.html.erb +14 -52
- data/app/views/decidim/conferences/admin/conferences/manage_trash.html.erb +20 -0
- data/app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma_user.html.erb +3 -1
- data/app/views/decidim/conferences/conference_program/_program_item.html.erb +1 -1
- data/app/views/decidim/conferences/conference_program/show.html.erb +3 -1
- data/app/views/decidim/conferences/conference_speakers/index.html.erb +4 -1
- data/app/views/decidim/conferences/conferences/index.html.erb +3 -2
- data/app/views/decidim/conferences/conferences/show.html.erb +6 -6
- data/app/views/decidim/conferences/media/index.html.erb +3 -1
- data/app/views/decidim/conferences/registration_types/index.html.erb +3 -1
- data/app/views/layouts/decidim/admin/conference.html.erb +1 -1
- data/config/locales/ar.yml +16 -3
- data/config/locales/bg.yml +6 -3
- data/config/locales/ca.yml +62 -6
- data/config/locales/cs.yml +61 -3
- data/config/locales/de.yml +70 -12
- data/config/locales/el.yml +6 -3
- data/config/locales/en.yml +62 -6
- data/config/locales/es-MX.yml +64 -8
- data/config/locales/es-PY.yml +65 -9
- data/config/locales/es.yml +63 -7
- data/config/locales/eu.yml +84 -28
- data/config/locales/fi-plain.yml +63 -5
- data/config/locales/fi.yml +63 -5
- data/config/locales/fr-CA.yml +21 -6
- data/config/locales/fr.yml +22 -7
- data/config/locales/ga-IE.yml +0 -2
- data/config/locales/gl.yml +6 -3
- data/config/locales/hu.yml +6 -3
- data/config/locales/id-ID.yml +6 -3
- data/config/locales/it.yml +6 -3
- data/config/locales/ja.yml +62 -6
- data/config/locales/lb.yml +4 -3
- data/config/locales/lt.yml +6 -3
- data/config/locales/lv.yml +6 -3
- data/config/locales/nl.yml +6 -3
- data/config/locales/no.yml +6 -3
- data/config/locales/pl.yml +6 -3
- data/config/locales/pt-BR.yml +7 -4
- data/config/locales/pt.yml +6 -3
- data/config/locales/ro-RO.yml +6 -5
- data/config/locales/sk.yml +6 -3
- data/config/locales/sv.yml +37 -43
- data/config/locales/tr-TR.yml +6 -3
- data/config/locales/zh-CN.yml +6 -3
- data/config/locales/zh-TW.yml +6 -3
- data/db/migrate/20210310134942_add_followable_counter_cache_to_conferences.rb +1 -1
- data/db/migrate/20240822161330_add_deleted_at_to_decidim_conferences.rb +8 -0
- data/decidim-conferences.gemspec +1 -2
- data/lib/decidim/api/conference_media_link_type.rb +4 -4
- data/lib/decidim/api/conference_partner_type.rb +4 -4
- data/lib/decidim/api/conference_speaker_type.rb +7 -8
- data/lib/decidim/api/conference_type.rb +17 -19
- data/lib/decidim/conferences/admin_engine.rb +87 -58
- data/lib/decidim/conferences/conference_diploma_pdf.rb +242 -0
- data/lib/decidim/conferences/engine.rb +6 -1
- data/lib/decidim/conferences/menu.rb +23 -9
- data/lib/decidim/conferences/participatory_space.rb +13 -0
- data/lib/decidim/conferences/seeds.rb +134 -115
- data/lib/decidim/conferences/test/factories.rb +10 -9
- data/lib/decidim/conferences/version.rb +1 -1
- data/lib/decidim/conferences.rb +1 -0
- metadata +23 -29
- data/app/controllers/decidim/conferences/admin/categories_controller.rb +0 -13
- data/config/initializers/wicked_pdf.rb +0 -22
- data/config/locales/ca-IT.yml +0 -605
data/config/locales/sv.yml
CHANGED
|
@@ -22,8 +22,6 @@ sv:
|
|
|
22
22
|
published_at: Publicerad
|
|
23
23
|
registration_terms: Villkor för registrering
|
|
24
24
|
registrations_enabled: Registrering aktiverad
|
|
25
|
-
scope_id: Indelning
|
|
26
|
-
scopes_enabled: Aktivera indelningar
|
|
27
25
|
short_description: Kort beskrivning
|
|
28
26
|
show_statistics: Visa statistik
|
|
29
27
|
sign_date: Datum för underskrift
|
|
@@ -48,7 +46,7 @@ sv:
|
|
|
48
46
|
conference_registration_invite:
|
|
49
47
|
email: E-post
|
|
50
48
|
name: Namn
|
|
51
|
-
registration_type_id: Typ av
|
|
49
|
+
registration_type_id: Typ av registrering
|
|
52
50
|
user_id: Användare
|
|
53
51
|
conference_registration_type:
|
|
54
52
|
description: Beskrivning
|
|
@@ -63,20 +61,11 @@ sv:
|
|
|
63
61
|
personal_url: Personlig hemsida
|
|
64
62
|
position: Befattning
|
|
65
63
|
short_bio: Kort beskrivning
|
|
66
|
-
twitter_handle: Användarnamn till X
|
|
67
64
|
user_id: Användare
|
|
68
65
|
conference_user_role:
|
|
69
66
|
email: E-post
|
|
70
67
|
name: Namn
|
|
71
68
|
role: Roll
|
|
72
|
-
partner:
|
|
73
|
-
logo: Logotyp
|
|
74
|
-
errors:
|
|
75
|
-
models:
|
|
76
|
-
conference_registration_invite:
|
|
77
|
-
attributes:
|
|
78
|
-
email:
|
|
79
|
-
already_invited: Det här e-postadressen har redan blivit inbjuden.
|
|
80
69
|
activerecord:
|
|
81
70
|
models:
|
|
82
71
|
decidim/conference:
|
|
@@ -92,16 +81,12 @@ sv:
|
|
|
92
81
|
admin:
|
|
93
82
|
actions:
|
|
94
83
|
confirm: Bekräfta
|
|
95
|
-
new_conference: Ny konferens
|
|
96
|
-
new_conference_user_role: Ny konferensadministratör
|
|
97
|
-
new_media_link: Ny medialänk
|
|
98
|
-
new_partner: Ny partner
|
|
99
|
-
new_registration_type: Ny registreringstyp
|
|
100
|
-
new_speaker: Ny talare
|
|
101
84
|
send_diplomas: Skicka deltagarbevis
|
|
102
85
|
conference_copies:
|
|
103
86
|
new:
|
|
104
87
|
copy: Kopiera
|
|
88
|
+
select: Välj vilka data som du vill duplicera
|
|
89
|
+
title: Duplicera konferens
|
|
105
90
|
conference_publications:
|
|
106
91
|
create:
|
|
107
92
|
error: Det gick inte att publicera konferensen.
|
|
@@ -120,15 +105,12 @@ sv:
|
|
|
120
105
|
destroy:
|
|
121
106
|
success: Talaren har tagits bort.
|
|
122
107
|
edit:
|
|
123
|
-
title: Uppdatera konferenstalare
|
|
124
108
|
update: Uppdatera
|
|
125
109
|
index:
|
|
126
110
|
conference_speakers_title: Talare
|
|
127
111
|
new:
|
|
128
112
|
create: Skapa
|
|
129
|
-
title: Ny konferenstalare
|
|
130
113
|
publish:
|
|
131
|
-
invalid: Det gick inte att publicera talaren.
|
|
132
114
|
success: Konferensens talare har publicerats.
|
|
133
115
|
unpublish:
|
|
134
116
|
invalid: Det gick inte att avpublicera talaren.
|
|
@@ -143,13 +125,9 @@ sv:
|
|
|
143
125
|
destroy:
|
|
144
126
|
success: Konferensadministratören har tagits bort.
|
|
145
127
|
edit:
|
|
146
|
-
title: Uppdatera konferensadministratör
|
|
147
128
|
update: Uppdatera
|
|
148
|
-
index:
|
|
149
|
-
conference_admins_title: Konferensadministratörer
|
|
150
129
|
new:
|
|
151
130
|
create: Skapa
|
|
152
|
-
title: Ny konferensadministratör
|
|
153
131
|
update:
|
|
154
132
|
error: Det gick inte att uppdatera konferensadministratören.
|
|
155
133
|
success: Konferensadministratören har uppdaterats.
|
|
@@ -165,19 +143,19 @@ sv:
|
|
|
165
143
|
title: Allmän information
|
|
166
144
|
index:
|
|
167
145
|
published: Publicerad
|
|
168
|
-
unpublished: Ej publicerad
|
|
169
146
|
new:
|
|
170
147
|
create: Skapa
|
|
171
148
|
title: Konferens
|
|
172
149
|
update:
|
|
173
150
|
error: Det gick inte att uppdatera konferensen.
|
|
174
151
|
success: Konferensen har uppdaterats.
|
|
152
|
+
conferences_copies:
|
|
153
|
+
create:
|
|
154
|
+
error: Det gick inte att duplicera konferensen.
|
|
155
|
+
success: Konferensen har duplicerats.
|
|
175
156
|
media_links:
|
|
176
157
|
create:
|
|
177
158
|
error: Det gick inte att skapa en ny medialänk.
|
|
178
|
-
success: Medielänken har skapats.
|
|
179
|
-
destroy:
|
|
180
|
-
success: Medielänken har raderats.
|
|
181
159
|
edit:
|
|
182
160
|
title: Uppdatera medialänk
|
|
183
161
|
update: Uppdatera
|
|
@@ -195,7 +173,6 @@ sv:
|
|
|
195
173
|
attachment_collections: Mappar
|
|
196
174
|
attachment_files: Filer
|
|
197
175
|
attachments: Bilagor
|
|
198
|
-
categories: Kategorier
|
|
199
176
|
components: Komponenter
|
|
200
177
|
conference_admins: Konferensadministratörer
|
|
201
178
|
conference_invites: Inbjudningar
|
|
@@ -205,7 +182,7 @@ sv:
|
|
|
205
182
|
media_links: Medialänkar
|
|
206
183
|
moderations: Moderering
|
|
207
184
|
partners: Partners
|
|
208
|
-
registration_types: Typer av
|
|
185
|
+
registration_types: Typer av registrering
|
|
209
186
|
registrations: Registreringar
|
|
210
187
|
see_conference: Visa konferens
|
|
211
188
|
user_registrations: Användarregistreringar
|
|
@@ -293,13 +270,21 @@ sv:
|
|
|
293
270
|
update:
|
|
294
271
|
error: Det gick inte att uppdatera en registreringstyp för konferensen.
|
|
295
272
|
success: Registreringstypen till konferensen har uppdaterats.
|
|
273
|
+
taxonomy_filters:
|
|
274
|
+
space_filter_for:
|
|
275
|
+
conferences: Alla konferenser
|
|
296
276
|
titles:
|
|
297
277
|
conferences: Konferenser
|
|
278
|
+
conferences_deleted: Borttagna konferenser
|
|
279
|
+
tooltips:
|
|
280
|
+
deleted_conferences_info: Konferenser kan endast tas bort om statusen är "Opublicerad".
|
|
298
281
|
admin_log:
|
|
299
282
|
conference:
|
|
300
283
|
create: "%{user_name} skapade konferensen %{resource_name}"
|
|
301
284
|
publish: "%{user_name} publicerade konferensen %{resource_name}"
|
|
285
|
+
restore: "%{user_name} återställde konferensen %{resource_name}"
|
|
302
286
|
send_conference_diplomas: "%{user_name} skickade närvarointyg till deltagarna på konferensen %{resource_name}"
|
|
287
|
+
soft_delete: "%{user_name} tog bort konferensen %{resource_name}"
|
|
303
288
|
unpublish: "%{user_name} avpublicerade konferensen %{resource_name}"
|
|
304
289
|
update: "%{user_name} uppdaterade konferensen %{resource_name}"
|
|
305
290
|
update_diploma: "%{user_name} uppdaterade konfigurationen av närvarointygen till konferensen %{resource_name}"
|
|
@@ -370,10 +355,13 @@ sv:
|
|
|
370
355
|
conferences:
|
|
371
356
|
form:
|
|
372
357
|
available_slots_help: Lämna det till 0 om du har obegränsat antal platser.
|
|
358
|
+
define_taxonomy_filters: Vänligen definiera några filter för deltagarutrymmet innan du använder den här inställningen.
|
|
359
|
+
no_taxonomy_filters_found: Inga filter för kategorier hittades.
|
|
373
360
|
registrations_count:
|
|
374
361
|
one: Det har gjorts en registrering.
|
|
375
362
|
other: Det har gjorts %{count} registreringar.
|
|
376
363
|
slug_help_html: 'URL-slugs används till att generera URL:er till konferensen. Använd bara bokstäver, siffror och bindestreck, och de måste börja med en bokstav. Exempel: %{url}'
|
|
364
|
+
taxonomies: Kategorier
|
|
377
365
|
content_blocks:
|
|
378
366
|
highlighted_conferences:
|
|
379
367
|
max_results: Maximalt antal element att visa
|
|
@@ -414,18 +402,16 @@ sv:
|
|
|
414
402
|
no_slots_available: Inga platser tillgängliga
|
|
415
403
|
registration: Registrering
|
|
416
404
|
conference_program:
|
|
417
|
-
program_item:
|
|
418
|
-
other_category: Övrigt
|
|
419
405
|
show:
|
|
420
406
|
program: Program
|
|
421
407
|
conference_registration_mailer:
|
|
422
408
|
confirmation:
|
|
423
409
|
confirmed_html: Din registrering för konferensen <a href="%{url}">%{title}</a> har bekräftats.
|
|
424
|
-
details_1: 'Du är
|
|
410
|
+
details_1: 'Du är registrerad till konferensen med registreringstypen %{registration_type}. Det kostar %{price} och du kan delta i följande arrangemang:'
|
|
425
411
|
details_2: Du hittar konferensens detaljer i bilagan.
|
|
426
412
|
pending_validation:
|
|
427
413
|
confirmation_pending: Du kommer snart att få bekräftelsen
|
|
428
|
-
details: 'Du har
|
|
414
|
+
details: 'Du har registrerat dig med registreringstypen %{registration_type} till en kostnad av %{price} och du kan delta i följande arrangemang:'
|
|
429
415
|
pending_html: Väntar på bekräftelse för din registrering till konferensen <a href="%{url}">%{title}</a>.
|
|
430
416
|
conference_registrations:
|
|
431
417
|
create:
|
|
@@ -464,7 +450,7 @@ sv:
|
|
|
464
450
|
login_as: Du är inloggad som %{name} <%{email}>
|
|
465
451
|
make_conference_registration: Anmäl dig till konferensen
|
|
466
452
|
manage_registration: Hantera anmälan
|
|
467
|
-
register:
|
|
453
|
+
register: Registrering
|
|
468
454
|
sign_in_description: Logga in för att anmäla dig till konferensen
|
|
469
455
|
sign_up_description: Skapa ett konto för att anmäla dig till konferensen
|
|
470
456
|
content_blocks:
|
|
@@ -516,7 +502,7 @@ sv:
|
|
|
516
502
|
index:
|
|
517
503
|
choose_an_option: 'Välj registreringsalternativ:'
|
|
518
504
|
no_registrations: Inga anmälningar
|
|
519
|
-
register:
|
|
505
|
+
register: Registrera
|
|
520
506
|
title: Registreringstyper
|
|
521
507
|
show:
|
|
522
508
|
details: Detaljer
|
|
@@ -524,6 +510,18 @@ sv:
|
|
|
524
510
|
objectives: Mål
|
|
525
511
|
related_assemblies: Relaterade samråd
|
|
526
512
|
related_participatory_processes: Relaterade deltagandeprocesser
|
|
513
|
+
download_your_data:
|
|
514
|
+
help:
|
|
515
|
+
conference_invites:
|
|
516
|
+
accepted_at: Datum då inbjudan till konferensen godkändes
|
|
517
|
+
conference: Konferensen som inbjudan gäller
|
|
518
|
+
confirmed_at: Datum då inbjudan bekräftades
|
|
519
|
+
created_at: Datum då inbjudan skapades
|
|
520
|
+
id: Unikt id för konferensinbjudan
|
|
521
|
+
registration_type: Typ av anmälan till konferensen som skickades
|
|
522
|
+
rejected_at: Datum då inbjudan till konferensen avvisades
|
|
523
|
+
sent_at: Datum då inbjudan till konferensen skickades
|
|
524
|
+
updated_at: Datum då inbjudan senast uppdaterades
|
|
527
525
|
events:
|
|
528
526
|
conferences:
|
|
529
527
|
conference_registration_confirmed:
|
|
@@ -541,7 +539,7 @@ sv:
|
|
|
541
539
|
email_subject: Konferensen "%{resource_title}" har uppdaterats
|
|
542
540
|
notification_title: Konferensen <a href="%{resource_path}">%{resource_title}</a> har uppdaterats.
|
|
543
541
|
registrations_enabled:
|
|
544
|
-
email_intro: 'Konferensen "%{resource_title}" har tar nu emot
|
|
542
|
+
email_intro: 'Konferensen "%{resource_title}" har tar nu emot registreringar. Du kan själv registrera dig på denna sida:'
|
|
545
543
|
email_outro: Du har fått det här meddelandet eftersom du följer konferensen "%{resource_title}". Du kan sluta att följa den via föregående länk.
|
|
546
544
|
email_subject: Konferensen "%{resource_title}" tar nu emot registreringar.
|
|
547
545
|
notification_title: Konferensen <a href="%{resource_path}">%{resource_title}</a> tar nu emot registreringar.
|
|
@@ -561,10 +559,6 @@ sv:
|
|
|
561
559
|
contextual: "<p>En <strong>konferens</strong> är en samling av möten som arrangeras i ett program, med ett antal personer inbjudna som talare, och andra informationsfält typiska för stora kongresser eller sociala evenemang (registrering, förteckning över organisationer som stöder eller sponsrar evenemanget, etc.).</p> <p>Exempel: En konferens kan vara ett relevant evenemang för en organisation och dess medlemmar, eller äga rum som en del av en deltagarprocess eller följa ett samråd.</p>\n"
|
|
562
560
|
page: "<p>En <strong>konferens</strong> är en samling av möten som arrangeras i ett program, med ett antal personer inbjudna som talare, och andra informationsfält typiska för stora kongresser eller sociala evenemang (registrering, förteckning över organisationer som stöder eller sponsrar evenemanget, etc.).</p> <p>Exempel: En konferens kan vara ett relevant evenemang för en organisation och dess medlemmar, eller äga rum som en del av en deltagarprocess eller följa ett samråd.</p>\n"
|
|
563
561
|
title: Vad är konferenser?
|
|
564
|
-
log:
|
|
565
|
-
value_types:
|
|
566
|
-
conference_presenter:
|
|
567
|
-
not_found: 'Konferensen hittades inte i databasen (ID: %{id}).'
|
|
568
562
|
media:
|
|
569
563
|
index:
|
|
570
564
|
description: Länkar om konferensen
|
|
@@ -580,7 +574,7 @@ sv:
|
|
|
580
574
|
layouts:
|
|
581
575
|
decidim:
|
|
582
576
|
conference_hero:
|
|
583
|
-
register:
|
|
577
|
+
register: Registrera
|
|
584
578
|
conferences:
|
|
585
579
|
conference:
|
|
586
580
|
more_info: Mer information
|
data/config/locales/tr-TR.yml
CHANGED
|
@@ -15,8 +15,6 @@ tr:
|
|
|
15
15
|
participatory_processes_ids: İlgili katılımcı süreçleri
|
|
16
16
|
promoted: Vurgulanan
|
|
17
17
|
published_at: Yayınlandı
|
|
18
|
-
scope_id: Kapsam
|
|
19
|
-
scopes_enabled: Kapsamlar etkinleştirildi
|
|
20
18
|
short_description: Kısa Açıklama
|
|
21
19
|
show_statistics: İstatistikleri göster
|
|
22
20
|
slogan: Slogan
|
|
@@ -53,6 +51,8 @@ tr:
|
|
|
53
51
|
conference_copies:
|
|
54
52
|
new:
|
|
55
53
|
copy: Kopyala
|
|
54
|
+
select: Çoğaltmak istediğiniz verileri seçin
|
|
55
|
+
title: Konferansı çoğalt
|
|
56
56
|
conference_publications:
|
|
57
57
|
create:
|
|
58
58
|
error: Bu konferansı yayınlarken bir sorun oluştu.
|
|
@@ -110,6 +110,10 @@ tr:
|
|
|
110
110
|
update:
|
|
111
111
|
error: Bu konferans güncellenirken bir hata oluştu.
|
|
112
112
|
success: Konferans başarıyla güncellendi.
|
|
113
|
+
conferences_copies:
|
|
114
|
+
create:
|
|
115
|
+
error: Bu konferansı çoğaltırken bir hata oluştu.
|
|
116
|
+
success: Konferans başarıyla kopyalandı.
|
|
113
117
|
media_links:
|
|
114
118
|
create:
|
|
115
119
|
error: Yeni bir medya bağlantısı oluştururken bir hata oluştu.
|
|
@@ -125,7 +129,6 @@ tr:
|
|
|
125
129
|
attachment_collections: Klasörler
|
|
126
130
|
attachment_files: Dosyalar
|
|
127
131
|
attachments: Ekler
|
|
128
|
-
categories: Kategoriler
|
|
129
132
|
components: Bileşenler
|
|
130
133
|
conference_admins: Konferans yöneticileri
|
|
131
134
|
conference_invites: Davetler
|
data/config/locales/zh-CN.yml
CHANGED
|
@@ -15,8 +15,6 @@ zh-CN:
|
|
|
15
15
|
participatory_processes_ids: 相关的参与进程
|
|
16
16
|
promoted: 高亮
|
|
17
17
|
published_at: 发布于
|
|
18
|
-
scope_id: 范围
|
|
19
|
-
scopes_enabled: 范围已启用
|
|
20
18
|
short_description: 简短描述
|
|
21
19
|
show_statistics: 显示统计
|
|
22
20
|
slogan: 斯洛根文
|
|
@@ -44,6 +42,8 @@ zh-CN:
|
|
|
44
42
|
conference_copies:
|
|
45
43
|
new:
|
|
46
44
|
copy: 复制
|
|
45
|
+
select: 选择要重复的数据
|
|
46
|
+
title: 复制会议
|
|
47
47
|
conference_publications:
|
|
48
48
|
create:
|
|
49
49
|
error: 发布此会议时出现问题。
|
|
@@ -101,6 +101,10 @@ zh-CN:
|
|
|
101
101
|
update:
|
|
102
102
|
error: 更新此会议时出现问题。
|
|
103
103
|
success: 会议已成功更新。
|
|
104
|
+
conferences_copies:
|
|
105
|
+
create:
|
|
106
|
+
error: 复制此会议时出现问题。
|
|
107
|
+
success: 会议成功重复。
|
|
104
108
|
media_links:
|
|
105
109
|
create:
|
|
106
110
|
error: 创建新媒体链接时出现问题。
|
|
@@ -116,7 +120,6 @@ zh-CN:
|
|
|
116
120
|
attachment_collections: 文件夹
|
|
117
121
|
attachment_files: 文件
|
|
118
122
|
attachments: 附件
|
|
119
|
-
categories: 类别管理
|
|
120
123
|
components: 组件
|
|
121
124
|
conference_admins: 会议管理员
|
|
122
125
|
conference_invites: 邀请
|
data/config/locales/zh-TW.yml
CHANGED
|
@@ -22,8 +22,6 @@ zh-TW:
|
|
|
22
22
|
published_at: 發佈於
|
|
23
23
|
registration_terms: 註冊條款
|
|
24
24
|
registrations_enabled: 啟用註冊
|
|
25
|
-
scope_id: 範圍
|
|
26
|
-
scopes_enabled: 啟用範圍
|
|
27
25
|
short_description: 簡短說明
|
|
28
26
|
show_statistics: 顯示統計資料
|
|
29
27
|
sign_date: 簽到日期
|
|
@@ -90,6 +88,8 @@ zh-TW:
|
|
|
90
88
|
conference_copies:
|
|
91
89
|
new:
|
|
92
90
|
copy: 複製
|
|
91
|
+
select: 請選擇您想要複製的資料
|
|
92
|
+
title: 複製研討會
|
|
93
93
|
conference_publications:
|
|
94
94
|
create:
|
|
95
95
|
error: 發布此研討會時出現問題。
|
|
@@ -149,6 +149,10 @@ zh-TW:
|
|
|
149
149
|
update:
|
|
150
150
|
error: 更新此研討會時發生問題。
|
|
151
151
|
success: 研討會更新成功。
|
|
152
|
+
conferences_copies:
|
|
153
|
+
create:
|
|
154
|
+
error: 複製此研討會時發生問題。
|
|
155
|
+
success: 研討會複製成功。
|
|
152
156
|
media_links:
|
|
153
157
|
create:
|
|
154
158
|
error: 創建新的媒體連結時出現問題。
|
|
@@ -164,7 +168,6 @@ zh-TW:
|
|
|
164
168
|
attachment_collections: 資料夾
|
|
165
169
|
attachment_files: 檔案
|
|
166
170
|
attachments: 附件
|
|
167
|
-
categories: 類別
|
|
168
171
|
components: 组件
|
|
169
172
|
conference_admins: 會議管理員
|
|
170
173
|
conference_invites: 邀請
|
|
@@ -7,7 +7,7 @@ class AddFollowableCounterCacheToConferences < ActiveRecord::Migration[5.2]
|
|
|
7
7
|
reversible do |dir|
|
|
8
8
|
dir.up do
|
|
9
9
|
Decidim::Conference.reset_column_information
|
|
10
|
-
Decidim::Conference.find_each do |record|
|
|
10
|
+
Decidim::Conference.unscoped.find_each do |record|
|
|
11
11
|
record.class.reset_counters(record.id, :follows)
|
|
12
12
|
end
|
|
13
13
|
end
|
data/decidim-conferences.gemspec
CHANGED
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
"homepage_uri" => "https://decidim.org",
|
|
18
18
|
"source_code_uri" => "https://github.com/decidim/decidim"
|
|
19
19
|
}
|
|
20
|
-
s.required_ruby_version = "~> 3.
|
|
20
|
+
s.required_ruby_version = "~> 3.3.0"
|
|
21
21
|
|
|
22
22
|
s.name = "decidim-conferences"
|
|
23
23
|
s.summary = "Decidim conferences module"
|
|
@@ -32,7 +32,6 @@ Gem::Specification.new do |s|
|
|
|
32
32
|
|
|
33
33
|
s.add_dependency "decidim-core", Decidim::Conferences.version
|
|
34
34
|
s.add_dependency "decidim-meetings", Decidim::Conferences.version
|
|
35
|
-
s.add_dependency "wicked_pdf", "~> 2.7"
|
|
36
35
|
|
|
37
36
|
s.add_development_dependency "decidim-admin", Decidim::Conferences.version
|
|
38
37
|
s.add_development_dependency "decidim-dev", Decidim::Conferences.version
|
|
@@ -4,15 +4,15 @@ module Decidim
|
|
|
4
4
|
module Conferences
|
|
5
5
|
# This type represents a conference.
|
|
6
6
|
class ConferenceMediaLinkType < Decidim::Api::Types::BaseObject
|
|
7
|
+
implements Decidim::Core::TimestampsInterface
|
|
8
|
+
|
|
7
9
|
description "A conference media link"
|
|
8
10
|
|
|
11
|
+
field :date, Decidim::Core::DateType, "Relevant date for the media link", null: true
|
|
9
12
|
field :id, GraphQL::Types::ID, "Internal ID for this media link", null: false
|
|
10
|
-
field :title, Decidim::Core::TranslatedFieldType, "Title for this media link", null: true
|
|
11
13
|
field :link, GraphQL::Types::String, "URL for this media link", null: true
|
|
12
|
-
field :
|
|
14
|
+
field :title, Decidim::Core::TranslatedFieldType, "Title for this media link", null: true
|
|
13
15
|
field :weight, GraphQL::Types::Int, "Order of appearance in which it should be presented", null: true
|
|
14
|
-
field :created_at, Decidim::Core::DateTimeType, "The time this entry was created", null: true
|
|
15
|
-
field :updated_at, Decidim::Core::DateTimeType, "The time this entry was updated", null: true
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
end
|
|
@@ -4,16 +4,16 @@ module Decidim
|
|
|
4
4
|
module Conferences
|
|
5
5
|
# This type represents a conference.
|
|
6
6
|
class ConferencePartnerType < Decidim::Api::Types::BaseObject
|
|
7
|
+
implements Decidim::Core::TimestampsInterface
|
|
8
|
+
|
|
7
9
|
description "A conference partner"
|
|
8
10
|
|
|
9
11
|
field :id, GraphQL::Types::ID, "ID of the resource", null: false
|
|
12
|
+
field :link, GraphQL::Types::String, "Relevant URL for this partner", null: true
|
|
13
|
+
field :logo, GraphQL::Types::String, "Link to the partner's logo", null: true
|
|
10
14
|
field :name, GraphQL::Types::String, "Partner name", null: true
|
|
11
15
|
field :partner_type, GraphQL::Types::String, "Partner type", null: true
|
|
12
16
|
field :weight, GraphQL::Types::Int, "Order of appearance in which it should be presented", null: true
|
|
13
|
-
field :link, GraphQL::Types::String, "Relevant URL for this partner", null: true
|
|
14
|
-
field :logo, GraphQL::Types::String, "Link to the partner's logo", null: true
|
|
15
|
-
field :created_at, Decidim::Core::DateTimeType, "The time this partner was created", null: true
|
|
16
|
-
field :updated_at, Decidim::Core::DateTimeType, "The time this partner was updated", null: true
|
|
17
17
|
|
|
18
18
|
def logo
|
|
19
19
|
object.attached_uploader(:logo).url
|
|
@@ -4,21 +4,20 @@ module Decidim
|
|
|
4
4
|
module Conferences
|
|
5
5
|
# This type represents a conference.
|
|
6
6
|
class ConferenceSpeakerType < Decidim::Api::Types::BaseObject
|
|
7
|
+
implements Decidim::Core::TimestampsInterface
|
|
8
|
+
|
|
7
9
|
description "A conference speaker"
|
|
8
10
|
|
|
9
|
-
field :
|
|
11
|
+
field :affiliation, Decidim::Core::TranslatedFieldType, "Affiliation of the speaker", null: true
|
|
12
|
+
field :avatar, GraphQL::Types::String, "Avatar of the speaker", null: true
|
|
10
13
|
field :full_name, GraphQL::Types::String, "Full name of the speaker", null: true
|
|
14
|
+
field :id, GraphQL::Types::ID, "Internal ID of the speaker", null: false
|
|
15
|
+
field :personal_url, GraphQL::Types::String, "Personal URL of the speaker", null: true
|
|
11
16
|
field :position, Decidim::Core::TranslatedFieldType, "Position of the speaker in the conference", null: true
|
|
12
|
-
field :affiliation, Decidim::Core::TranslatedFieldType, "Affiliation of the speaker", null: true
|
|
13
|
-
field :twitter_handle, GraphQL::Types::String, "X handle", null: true
|
|
14
17
|
field :short_bio, Decidim::Core::TranslatedFieldType, "Short biography of the speaker", null: true
|
|
15
|
-
field :
|
|
16
|
-
field :avatar, GraphQL::Types::String, "Avatar of the speaker", null: true
|
|
18
|
+
field :twitter_handle, GraphQL::Types::String, "X handle", null: true
|
|
17
19
|
field :user, Decidim::Core::UserType, "Decidim user corresponding to this speaker", null: true
|
|
18
20
|
|
|
19
|
-
field :created_at, Decidim::Core::DateTimeType, "The time this member was created ", null: true
|
|
20
|
-
field :updated_at, Decidim::Core::DateTimeType, "The time this member was updated", null: true
|
|
21
|
-
|
|
22
21
|
def avatar
|
|
23
22
|
object.attached_uploader(:avatar).url
|
|
24
23
|
end
|
|
@@ -7,36 +7,34 @@ module Decidim
|
|
|
7
7
|
implements Decidim::Core::ParticipatorySpaceInterface
|
|
8
8
|
implements Decidim::Core::ScopableInterface
|
|
9
9
|
implements Decidim::Core::AttachableInterface
|
|
10
|
+
implements Decidim::Core::TaxonomizableInterface
|
|
11
|
+
implements Decidim::Core::TimestampsInterface
|
|
10
12
|
implements Decidim::Core::CategoriesContainerInterface
|
|
11
13
|
|
|
12
14
|
description "A conference"
|
|
13
15
|
|
|
14
|
-
field :
|
|
15
|
-
field :
|
|
16
|
+
field :available_slots, GraphQL::Types::Int, "The number of available slots in this conference", null: true
|
|
17
|
+
field :banner_image, GraphQL::Types::String, "The banner image for this conference", null: true
|
|
16
18
|
field :description, Decidim::Core::TranslatedFieldType, "The description of this conference", null: true
|
|
17
|
-
field :
|
|
19
|
+
field :end_date, Decidim::Core::DateType, "The date this conference ends", null: true
|
|
18
20
|
field :hashtag, GraphQL::Types::String, "The hashtag for this conference", null: true
|
|
19
|
-
field :
|
|
21
|
+
field :hero_image, GraphQL::Types::String, "The hero image for this conference", null: true
|
|
22
|
+
field :id, GraphQL::Types::ID, "Internal ID for this conference", null: false
|
|
20
23
|
field :location, String, "The location of this conference", null: true
|
|
21
|
-
field :
|
|
22
|
-
field :
|
|
24
|
+
field :media_links, [Decidim::Conferences::ConferenceMediaLinkType, { null: true }], "List of media links in this conference", null: true
|
|
25
|
+
field :objectives, Decidim::Core::TranslatedFieldType, "The objectives of the conference", null: true
|
|
26
|
+
field :partners, [Decidim::Conferences::ConferencePartnerType, { null: true }], "List of partners in this conference", null: true
|
|
27
|
+
field :promoted, GraphQL::Types::Boolean, "If this conference is promoted (therefore in the homepage)", null: true
|
|
23
28
|
field :published_at, Decidim::Core::DateTimeType, "The time this conference was published", null: true
|
|
24
29
|
field :reference, GraphQL::Types::String, "Reference prefix for this conference", null: true
|
|
25
|
-
|
|
26
|
-
field :hero_image, GraphQL::Types::String, "The hero image for this conference", null: true
|
|
27
|
-
field :banner_image, GraphQL::Types::String, "The banner image for this conference", null: true
|
|
28
|
-
field :promoted, GraphQL::Types::Boolean, "If this conference is promoted (therefore in the homepage)", null: true
|
|
29
|
-
field :objectives, Decidim::Core::TranslatedFieldType, "The objectives of the conference", null: true
|
|
30
|
-
field :show_statistics, GraphQL::Types::Boolean, "If this conference shows the statistics", null: true
|
|
31
|
-
field :start_date, Decidim::Core::DateType, "The date this conference starts", null: true
|
|
32
|
-
field :end_date, Decidim::Core::DateType, "The date this conference ends", null: true
|
|
33
|
-
field :registrations_enabled, GraphQL::Types::Boolean, "If the registrations are enabled in this conference", null: true
|
|
34
|
-
field :available_slots, GraphQL::Types::Int, "The number of available slots in this conference", null: true
|
|
35
30
|
field :registration_terms, Decidim::Core::TranslatedFieldType, "The registration terms of this conference", null: true
|
|
36
|
-
|
|
31
|
+
field :registrations_enabled, GraphQL::Types::Boolean, "If the registrations are enabled in this conference", null: true
|
|
32
|
+
field :short_description, Decidim::Core::TranslatedFieldType, "The short description of this conference", null: true
|
|
33
|
+
field :show_statistics, GraphQL::Types::Boolean, "If this conference shows the statistics", null: true
|
|
34
|
+
field :slogan, Decidim::Core::TranslatedFieldType, "The slogan of the conference", null: true
|
|
35
|
+
field :slug, GraphQL::Types::String, "The slug of this conference", null: true
|
|
37
36
|
field :speakers, [Decidim::Conferences::ConferenceSpeakerType, { null: true }], "List of speakers in this conference", null: true
|
|
38
|
-
field :
|
|
39
|
-
field :media_links, [Decidim::Conferences::ConferenceMediaLinkType, { null: true }], "List of media links in this conference", null: true
|
|
37
|
+
field :start_date, Decidim::Core::DateType, "The date this conference starts", null: true
|
|
40
38
|
|
|
41
39
|
def hero_image
|
|
42
40
|
object.attached_uploader(:hero_image).url
|