decidim-meetings 0.27.9 → 0.28.0.rc4
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/attending_organizations_list_cell.rb +32 -0
- data/app/cells/decidim/meetings/cancel_registration_meeting_button/cancelation_modal.erb +21 -0
- data/app/cells/decidim/meetings/cancel_registration_meeting_button/show.erb +10 -13
- data/app/cells/decidim/meetings/cancel_registration_meeting_button_cell.rb +2 -2
- data/app/cells/decidim/meetings/content_blocks/highlighted_meetings_cell.rb +8 -18
- data/app/cells/decidim/meetings/dates_and_map/show.erb +25 -0
- data/app/cells/decidim/meetings/dates_and_map/static_map.erb +1 -0
- data/app/cells/decidim/meetings/dates_and_map_cell.rb +35 -0
- data/app/cells/decidim/meetings/highlighted_meetings_for_component/show.erb +32 -30
- data/app/cells/decidim/meetings/highlighted_meetings_for_component_cell.rb +76 -16
- data/app/cells/decidim/meetings/join_meeting_button/registration_modal.erb +25 -0
- data/app/cells/decidim/meetings/join_meeting_button/remaining_slots.erb +4 -0
- data/app/cells/decidim/meetings/join_meeting_button/show.erb +6 -4
- data/app/cells/decidim/meetings/join_meeting_button_cell.rb +3 -7
- data/app/cells/decidim/meetings/meeting_activity_cell.rb +1 -12
- data/app/cells/decidim/meetings/meeting_card_metadata_cell.rb +64 -0
- data/app/cells/decidim/meetings/meeting_cell.rb +2 -6
- data/app/cells/decidim/meetings/meeting_l/image.erb +5 -0
- data/app/cells/decidim/meetings/meeting_l_cell.rb +33 -0
- data/app/cells/decidim/meetings/meeting_month/show.erb +33 -0
- data/app/cells/decidim/meetings/meeting_month_cell.rb +72 -0
- data/app/cells/decidim/meetings/meeting_s_cell.rb +5 -37
- data/app/cells/decidim/meetings/meetings_map/show.erb +9 -24
- data/app/cells/decidim/meetings/meetings_map_cell.rb +1 -1
- data/app/cells/decidim/meetings/online_meeting_cell.rb +1 -0
- data/app/cells/decidim/meetings/online_meeting_link/show.erb +18 -41
- data/app/cells/decidim/meetings/public_participants_list/show.erb +4 -15
- data/app/commands/decidim/meetings/admin/copy_meeting.rb +1 -1
- data/app/commands/decidim/meetings/admin/create_meeting.rb +1 -1
- data/app/commands/decidim/meetings/admin/invite_user_to_join_meeting.rb +5 -5
- data/app/commands/decidim/meetings/admin/publish_meeting.rb +1 -1
- data/app/commands/decidim/meetings/admin/unpublish_meeting.rb +1 -1
- data/app/commands/decidim/meetings/create_meeting.rb +14 -3
- data/app/commands/decidim/meetings/decline_invitation.rb +1 -1
- data/app/commands/decidim/meetings/join_meeting.rb +5 -5
- data/app/commands/decidim/meetings/update_meeting.rb +13 -3
- data/app/controllers/concerns/decidim/meetings/component_filterable.rb +4 -4
- data/app/controllers/decidim/meetings/admin/agenda_controller.rb +6 -6
- data/app/controllers/decidim/meetings/admin/invites_controller.rb +3 -3
- data/app/controllers/decidim/meetings/admin/meeting_closes_controller.rb +2 -4
- data/app/controllers/decidim/meetings/admin/meeting_copies_controller.rb +3 -3
- data/app/controllers/decidim/meetings/admin/meetings_controller.rb +7 -7
- data/app/controllers/decidim/meetings/admin/meetings_poll_controller.rb +4 -4
- data/app/controllers/decidim/meetings/admin/registrations_controller.rb +6 -6
- data/app/controllers/decidim/meetings/application_controller.rb +11 -0
- data/app/controllers/decidim/meetings/calendars_controller.rb +0 -1
- data/app/controllers/decidim/meetings/directory/application_controller.rb +12 -0
- data/app/controllers/decidim/meetings/directory/meetings_controller.rb +5 -30
- data/app/controllers/decidim/meetings/live_events_controller.rb +1 -0
- data/app/controllers/decidim/meetings/meeting_closes_controller.rb +2 -3
- data/app/controllers/decidim/meetings/meetings_controller.rb +75 -7
- data/app/controllers/decidim/meetings/polls/answers_controller.rb +2 -2
- data/app/controllers/decidim/meetings/polls/questions_controller.rb +1 -1
- data/app/controllers/decidim/meetings/registrations_controller.rb +5 -5
- data/app/events/decidim/meetings/close_meeting_event.rb +1 -1
- data/app/events/decidim/meetings/meeting_event.rb +1 -1
- data/app/events/decidim/meetings/meeting_registration_notification_event.rb +3 -3
- data/app/events/decidim/meetings/meeting_registrations_enabled_event.rb +1 -1
- data/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb +1 -1
- data/app/events/decidim/meetings/registration_code_validated_event.rb +1 -1
- data/app/forms/decidim/meetings/admin/meeting_form.rb +5 -1
- data/app/forms/decidim/meetings/admin/meeting_registrations_form.rb +2 -2
- data/app/forms/decidim/meetings/admin/validate_registration_code_form.rb +1 -1
- data/app/forms/decidim/meetings/base_meeting_form.rb +1 -1
- data/app/forms/decidim/meetings/meeting_form.rb +3 -3
- data/app/helpers/decidim/meetings/admin/application_helper.rb +1 -0
- data/app/helpers/decidim/meetings/application_helper.rb +18 -25
- data/app/helpers/decidim/meetings/directory/application_helper.rb +11 -59
- data/app/helpers/decidim/meetings/map_helper.rb +2 -9
- data/app/helpers/decidim/meetings/meetings_helper.rb +6 -5
- data/app/jobs/decidim/meetings/hide_all_created_by_author_job.rb +13 -0
- data/app/mailers/decidim/meetings/admin/invite_join_meeting_mailer.rb +1 -1
- data/app/mailers/decidim/meetings/registration_mailer.rb +1 -1
- data/app/models/decidim/meetings/meeting.rb +11 -32
- data/app/models/decidim/meetings/question.rb +1 -1
- data/app/packs/entrypoints/decidim_meetings.js +3 -0
- data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_attended_meetings.svg +42 -1
- data/app/packs/src/decidim/meetings/admin/agendas.js +3 -4
- data/app/packs/src/decidim/meetings/admin/registrations_form.js +12 -4
- data/app/packs/src/decidim/meetings/meetings_form.js +1 -1
- data/app/packs/src/decidim/meetings/poll.component.js +1 -28
- data/app/packs/stylesheets/decidim/meetings/_calendar.scss +47 -0
- data/app/packs/stylesheets/decidim/meetings/_item.scss +177 -0
- data/app/packs/stylesheets/decidim/meetings/_list.scss +58 -0
- data/app/packs/stylesheets/decidim/meetings/_live_event.scss +128 -0
- data/app/packs/stylesheets/decidim/meetings/meetings.scss +4 -0
- data/app/permissions/decidim/meetings/permissions.rb +15 -12
- data/app/presenters/decidim/meetings/admin_log/invite_presenter.rb +2 -2
- data/app/presenters/decidim/meetings/admin_log/meeting_presenter.rb +6 -2
- data/app/presenters/decidim/meetings/admin_log/questionnaire_presenter.rb +2 -2
- data/app/presenters/decidim/meetings/admin_log/value_types/meeting_title_description_presenter.rb +1 -1
- data/app/presenters/decidim/meetings/log/resource_presenter.rb +18 -0
- data/app/presenters/decidim/meetings/meeting_presenter.rb +8 -2
- data/app/services/decidim/meetings/calendar/component_calendar.rb +1 -1
- data/app/services/decidim/meetings/close_meeting_reminder_generator.rb +7 -13
- data/app/services/decidim/meetings/meeting_iframe_embedder.rb +1 -1
- data/app/views/decidim/meetings/_calendar_modal.html.erb +19 -21
- data/app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb +12 -12
- data/app/views/decidim/meetings/admin/agenda/_agenda_item_child.html.erb +8 -8
- data/app/views/decidim/meetings/admin/agenda/_agenda_item_child_template.html.erb +1 -1
- data/app/views/decidim/meetings/admin/agenda/_agenda_item_fields.html.erb +3 -3
- data/app/views/decidim/meetings/admin/agenda/_form.html.erb +54 -50
- data/app/views/decidim/meetings/admin/agenda/edit.html.erb +18 -6
- data/app/views/decidim/meetings/admin/agenda/new.html.erb +17 -5
- data/app/views/decidim/meetings/admin/invite_join_meeting_mailer/invite.html.erb +11 -2
- data/app/views/decidim/meetings/admin/invites/_form.html.erb +38 -28
- data/app/views/decidim/meetings/admin/invites/index.html.erb +77 -81
- data/app/views/decidim/meetings/admin/meeting_closes/_form.html.erb +26 -28
- data/app/views/decidim/meetings/admin/meeting_closes/edit.html.erb +17 -5
- data/app/views/decidim/meetings/admin/meeting_copies/new.html.erb +17 -6
- data/app/views/decidim/meetings/admin/meetings/_form.html.erb +76 -83
- data/app/views/decidim/meetings/admin/meetings/_service.html.erb +14 -10
- data/app/views/decidim/meetings/admin/meetings/_services.html.erb +9 -5
- data/app/views/decidim/meetings/admin/meetings/edit.html.erb +17 -7
- data/app/views/decidim/meetings/admin/meetings/index.html.erb +133 -129
- data/app/views/decidim/meetings/admin/meetings/new.html.erb +16 -6
- data/app/views/decidim/meetings/admin/poll/_answer_option.html.erb +1 -1
- data/app/views/decidim/meetings/admin/poll/_answer_option_template.html.erb +1 -1
- data/app/views/decidim/meetings/admin/poll/_form.html.erb +17 -32
- data/app/views/decidim/meetings/admin/poll/_question.html.erb +81 -75
- data/app/views/decidim/meetings/admin/poll/edit.html.erb +28 -8
- data/app/views/decidim/meetings/admin/registrations/_form.html.erb +32 -55
- data/app/views/decidim/meetings/admin/registrations/edit.html.erb +59 -26
- data/app/views/decidim/meetings/directory/meetings/index.html.erb +15 -20
- data/app/views/decidim/meetings/directory/meetings/index.js.erb +1 -23
- data/app/views/decidim/meetings/layouts/_aside_block.html.erb +8 -0
- data/app/views/decidim/meetings/layouts/live_event.html.erb +20 -19
- data/app/views/decidim/meetings/live_events/show.html.erb +4 -5
- data/app/views/decidim/meetings/meeting_closes/_form.html.erb +3 -10
- data/app/views/decidim/meetings/meeting_closes/edit.html.erb +17 -21
- data/app/views/decidim/meetings/meetings/_actions.html.erb +6 -0
- data/app/views/decidim/meetings/meetings/_add_to_calendar_modal.html.erb +17 -0
- data/app/views/decidim/meetings/meetings/_form.html.erb +26 -34
- data/app/views/decidim/meetings/meetings/_linked_meetings.html.erb +3 -22
- data/app/views/decidim/meetings/meetings/_meeting.html.erb +74 -0
- data/app/views/decidim/meetings/meetings/_meeting_agenda.html.erb +28 -26
- data/app/views/decidim/meetings/meetings/_meeting_aside.html.erb +98 -0
- data/app/views/decidim/meetings/meetings/_meeting_minutes.html.erb +23 -36
- data/app/views/decidim/meetings/meetings/edit.html.erb +17 -21
- data/app/views/decidim/meetings/meetings/index.html.erb +15 -33
- data/app/views/decidim/meetings/meetings/index.js.erb +1 -23
- data/app/views/decidim/meetings/meetings/new.html.erb +17 -21
- data/app/views/decidim/meetings/meetings/show.html.erb +8 -167
- data/app/views/decidim/meetings/polls/answers/_multiple_option.html.erb +9 -13
- data/app/views/decidim/meetings/polls/answers/_single_option.html.erb +4 -4
- data/app/views/decidim/meetings/polls/answers/create.js.erb +1 -1
- data/app/views/decidim/meetings/polls/questions/_index.html.erb +1 -1
- data/app/views/decidim/meetings/polls/questions/_index_admin.html.erb +5 -5
- data/app/views/decidim/meetings/polls/questions/_published_question.html.erb +9 -11
- data/app/views/decidim/meetings/polls/questions/_question.html.erb +3 -3
- data/app/views/decidim/meetings/polls/questions/index_admin.js.erb +1 -1
- data/app/views/decidim/meetings/shared/_filters.html.erb +20 -0
- data/app/views/decidim/meetings/shared/_index.html.erb +24 -0
- data/app/views/decidim/meetings/shared/_index.js.erb +16 -0
- data/app/views/decidim/meetings/shared/_meetings.html.erb +33 -0
- data/app/views/decidim/meetings/shared/_meetings_aside.html.erb +18 -0
- data/app/views/decidim/meetings/versions/show.html.erb +14 -4
- data/app/views/decidim/participatory_spaces/_conference_venues.html.erb +13 -15
- data/config/assets.rb +0 -2
- data/config/locales/ar.yml +6 -94
- data/config/locales/bg.yml +0 -673
- data/config/locales/ca.yml +52 -75
- data/config/locales/cs.yml +48 -71
- data/config/locales/de.yml +53 -76
- data/config/locales/el.yml +48 -51
- data/config/locales/en.yml +51 -74
- data/config/locales/es-MX.yml +50 -73
- data/config/locales/es-PY.yml +48 -71
- data/config/locales/es.yml +53 -76
- data/config/locales/eu.yml +53 -76
- data/config/locales/fi-plain.yml +46 -69
- data/config/locales/fi.yml +44 -67
- data/config/locales/fr-CA.yml +43 -69
- data/config/locales/fr.yml +48 -71
- data/config/locales/ga-IE.yml +2 -16
- data/config/locales/gl.yml +5 -63
- data/config/locales/hu.yml +6 -92
- data/config/locales/id-ID.yml +4 -60
- data/config/locales/is-IS.yml +1 -22
- data/config/locales/it.yml +6 -86
- data/config/locales/ja.yml +45 -74
- data/config/locales/lb.yml +6 -67
- data/config/locales/lt.yml +42 -65
- data/config/locales/lv.yml +4 -61
- data/config/locales/nl.yml +4 -92
- data/config/locales/no.yml +4 -80
- data/config/locales/pl.yml +2 -199
- data/config/locales/pt-BR.yml +4 -200
- data/config/locales/pt.yml +5 -85
- data/config/locales/ro-RO.yml +11 -81
- data/config/locales/ru.yml +5 -60
- data/config/locales/sk.yml +4 -61
- data/config/locales/sl.yml +0 -3
- data/config/locales/sr-CS.yml +0 -6
- data/config/locales/sv.yml +14 -94
- data/config/locales/tr-TR.yml +5 -78
- data/config/locales/uk.yml +5 -53
- data/config/locales/zh-CN.yml +3 -70
- data/config/locales/zh-TW.yml +24 -51
- data/db/migrate/20201016065302_fix_meetings_registration_terms.rb +1 -1
- data/db/migrate/20230427105701_change_types_and_registration_types_on_meetings.rb +49 -0
- data/lib/decidim/meetings/admin_engine.rb +2 -2
- data/lib/decidim/meetings/component.rb +4 -216
- data/lib/decidim/meetings/content_blocks/registry_manager.rb +17 -0
- data/lib/decidim/meetings/directory_engine.rb +4 -6
- data/lib/decidim/meetings/engine.rb +62 -27
- data/lib/decidim/meetings/meeting_serializer.rb +3 -3
- data/lib/decidim/meetings/seeds.rb +188 -0
- data/lib/decidim/meetings/test/factories.rb +124 -54
- data/lib/decidim/meetings/test/notifications_handling.rb +3 -3
- data/lib/decidim/meetings/test/translated_event.rb +1 -1
- data/lib/decidim/meetings/version.rb +1 -1
- metadata +58 -58
- data/app/cells/decidim/meetings/content_blocks/highlighted_meetings/elements.erb +0 -16
- data/app/cells/decidim/meetings/content_blocks/highlighted_meetings/heading.erb +0 -1
- data/app/cells/decidim/meetings/content_blocks/upcoming_meetings/show.erb +0 -26
- data/app/cells/decidim/meetings/content_blocks/upcoming_meetings_cell.rb +0 -63
- data/app/cells/decidim/meetings/join_meeting_button/registration_confirm.erb +0 -31
- data/app/cells/decidim/meetings/meeting_highlighted_list_item/show.erb +0 -21
- data/app/cells/decidim/meetings/meeting_highlighted_list_item_cell.rb +0 -10
- data/app/cells/decidim/meetings/meeting_list_item/show.erb +0 -14
- data/app/cells/decidim/meetings/meeting_list_item_cell.rb +0 -44
- data/app/cells/decidim/meetings/meeting_m/address.erb +0 -5
- data/app/cells/decidim/meetings/meeting_m/data.erb +0 -2
- data/app/cells/decidim/meetings/meeting_m/date.erb +0 -8
- data/app/cells/decidim/meetings/meeting_m/footer.erb +0 -9
- data/app/cells/decidim/meetings/meeting_m/multiple_dates.erb +0 -17
- data/app/cells/decidim/meetings/meeting_m/single_date.erb +0 -9
- data/app/cells/decidim/meetings/meeting_m/tags.erb +0 -1
- data/app/cells/decidim/meetings/meeting_m_cell.rb +0 -121
- data/app/cells/decidim/meetings/meeting_s/show.erb +0 -27
- data/app/controllers/concerns/decidim/meetings/filterable.rb +0 -27
- data/app/controllers/decidim/meetings/widgets_controller.rb +0 -30
- data/app/packs/stylesheets/decidim/meetings/_header.scss +0 -52
- data/app/packs/stylesheets/decidim/meetings/_main.scss +0 -178
- data/app/packs/stylesheets/decidim/meetings/_meetings.scss +0 -2
- data/app/queries/decidim/meetings/admin/invites.rb +0 -60
- data/app/views/decidim/meetings/admin/meeting_closes/proposals_picker.html.erb +0 -1
- data/app/views/decidim/meetings/directory/meetings/_filters.html.erb +0 -34
- data/app/views/decidim/meetings/directory/meetings/_meetings.html.erb +0 -26
- data/app/views/decidim/meetings/meeting_closes/proposals_picker.html.erb +0 -1
- data/app/views/decidim/meetings/meetings/_calendar_modal.html.erb +0 -26
- data/app/views/decidim/meetings/meetings/_filters.html.erb +0 -40
- data/app/views/decidim/meetings/meetings/_filters_small_view.html.erb +0 -18
- data/app/views/decidim/meetings/meetings/_meetings.html.erb +0 -48
- data/app/views/decidim/meetings/versions/index.html.erb +0 -8
- data/app/views/decidim/participatory_spaces/_upcoming_meeting_for_card.html.erb +0 -4
- data/config/locales/he-IL.yml +0 -1
- data/decidim-meetings.gemspec +0 -36
- data/lib/decidim/meetings/seeds/city.jpeg +0 -0
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.
|
4
|
+
version: 0.28.0.rc4
|
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-12-11 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.
|
21
|
+
version: 0.28.0.rc4
|
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.
|
28
|
+
version: 0.28.0.rc4
|
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.
|
35
|
+
version: 0.28.0.rc4
|
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.
|
42
|
+
version: 0.28.0.rc4
|
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.
|
63
|
+
version: 0.28.0.rc4
|
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.
|
70
|
+
version: 0.28.0.rc4
|
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.
|
77
|
+
version: 0.28.0.rc4
|
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.
|
84
|
+
version: 0.28.0.rc4
|
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.
|
91
|
+
version: 0.28.0.rc4
|
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.
|
98
|
+
version: 0.28.0.rc4
|
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.
|
105
|
+
version: 0.28.0.rc4
|
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.
|
112
|
+
version: 0.28.0.rc4
|
113
113
|
description: A meetings component for decidim's participatory spaces.
|
114
114
|
email:
|
115
115
|
- josepjaume@gmail.com
|
@@ -121,35 +121,29 @@ extra_rdoc_files: []
|
|
121
121
|
files:
|
122
122
|
- README.md
|
123
123
|
- Rakefile
|
124
|
+
- app/cells/decidim/meetings/attending_organizations_list_cell.rb
|
125
|
+
- app/cells/decidim/meetings/cancel_registration_meeting_button/cancelation_modal.erb
|
124
126
|
- app/cells/decidim/meetings/cancel_registration_meeting_button/show.erb
|
125
127
|
- app/cells/decidim/meetings/cancel_registration_meeting_button_cell.rb
|
126
|
-
- app/cells/decidim/meetings/content_blocks/highlighted_meetings/elements.erb
|
127
|
-
- app/cells/decidim/meetings/content_blocks/highlighted_meetings/heading.erb
|
128
128
|
- app/cells/decidim/meetings/content_blocks/highlighted_meetings_cell.rb
|
129
|
-
- app/cells/decidim/meetings/
|
130
|
-
- app/cells/decidim/meetings/
|
129
|
+
- app/cells/decidim/meetings/dates_and_map/show.erb
|
130
|
+
- app/cells/decidim/meetings/dates_and_map/static_map.erb
|
131
|
+
- app/cells/decidim/meetings/dates_and_map_cell.rb
|
131
132
|
- app/cells/decidim/meetings/highlighted_meetings/show.erb
|
132
133
|
- app/cells/decidim/meetings/highlighted_meetings_cell.rb
|
133
134
|
- app/cells/decidim/meetings/highlighted_meetings_for_component/show.erb
|
134
135
|
- app/cells/decidim/meetings/highlighted_meetings_for_component_cell.rb
|
135
|
-
- app/cells/decidim/meetings/join_meeting_button/
|
136
|
+
- app/cells/decidim/meetings/join_meeting_button/registration_modal.erb
|
137
|
+
- app/cells/decidim/meetings/join_meeting_button/remaining_slots.erb
|
136
138
|
- app/cells/decidim/meetings/join_meeting_button/show.erb
|
137
139
|
- app/cells/decidim/meetings/join_meeting_button_cell.rb
|
138
140
|
- app/cells/decidim/meetings/meeting_activity_cell.rb
|
141
|
+
- app/cells/decidim/meetings/meeting_card_metadata_cell.rb
|
139
142
|
- app/cells/decidim/meetings/meeting_cell.rb
|
140
|
-
- app/cells/decidim/meetings/
|
141
|
-
- app/cells/decidim/meetings/
|
142
|
-
- app/cells/decidim/meetings/
|
143
|
-
- app/cells/decidim/meetings/
|
144
|
-
- app/cells/decidim/meetings/meeting_m/address.erb
|
145
|
-
- app/cells/decidim/meetings/meeting_m/data.erb
|
146
|
-
- app/cells/decidim/meetings/meeting_m/date.erb
|
147
|
-
- app/cells/decidim/meetings/meeting_m/footer.erb
|
148
|
-
- app/cells/decidim/meetings/meeting_m/multiple_dates.erb
|
149
|
-
- app/cells/decidim/meetings/meeting_m/single_date.erb
|
150
|
-
- app/cells/decidim/meetings/meeting_m/tags.erb
|
151
|
-
- app/cells/decidim/meetings/meeting_m_cell.rb
|
152
|
-
- app/cells/decidim/meetings/meeting_s/show.erb
|
143
|
+
- app/cells/decidim/meetings/meeting_l/image.erb
|
144
|
+
- app/cells/decidim/meetings/meeting_l_cell.rb
|
145
|
+
- app/cells/decidim/meetings/meeting_month/show.erb
|
146
|
+
- app/cells/decidim/meetings/meeting_month_cell.rb
|
153
147
|
- app/cells/decidim/meetings/meeting_s_cell.rb
|
154
148
|
- app/cells/decidim/meetings/meeting_url/show.erb
|
155
149
|
- app/cells/decidim/meetings/meeting_url_cell.rb
|
@@ -189,7 +183,6 @@ files:
|
|
189
183
|
- app/commands/decidim/meetings/withdraw_meeting.rb
|
190
184
|
- app/controllers/concerns/decidim/meetings/admin/filterable.rb
|
191
185
|
- app/controllers/concerns/decidim/meetings/component_filterable.rb
|
192
|
-
- app/controllers/concerns/decidim/meetings/filterable.rb
|
193
186
|
- app/controllers/concerns/decidim/meetings/polls_resources.rb
|
194
187
|
- app/controllers/decidim/meetings/admin/agenda_controller.rb
|
195
188
|
- app/controllers/decidim/meetings/admin/application_controller.rb
|
@@ -213,7 +206,6 @@ files:
|
|
213
206
|
- app/controllers/decidim/meetings/polls/questions_controller.rb
|
214
207
|
- app/controllers/decidim/meetings/registrations_controller.rb
|
215
208
|
- app/controllers/decidim/meetings/versions_controller.rb
|
216
|
-
- app/controllers/decidim/meetings/widgets_controller.rb
|
217
209
|
- app/events/decidim/meetings/close_meeting_event.rb
|
218
210
|
- app/events/decidim/meetings/create_meeting_event.rb
|
219
211
|
- app/events/decidim/meetings/meeting_event.rb
|
@@ -247,6 +239,7 @@ files:
|
|
247
239
|
- app/helpers/decidim/meetings/map_helper.rb
|
248
240
|
- app/helpers/decidim/meetings/meeting_cells_helper.rb
|
249
241
|
- app/helpers/decidim/meetings/meetings_helper.rb
|
242
|
+
- app/jobs/decidim/meetings/hide_all_created_by_author_job.rb
|
250
243
|
- app/jobs/decidim/meetings/send_close_meeting_reminder_job.rb
|
251
244
|
- app/jobs/decidim/meetings/upcoming_meeting_notification_job.rb
|
252
245
|
- app/mailers/decidim/meetings/admin/invite_join_meeting_mailer.rb
|
@@ -277,9 +270,11 @@ files:
|
|
277
270
|
- app/packs/src/decidim/meetings/meetings_form.js
|
278
271
|
- app/packs/src/decidim/meetings/meetings_polls.js
|
279
272
|
- app/packs/src/decidim/meetings/poll.component.js
|
280
|
-
- app/packs/stylesheets/decidim/meetings/
|
281
|
-
- app/packs/stylesheets/decidim/meetings/
|
282
|
-
- app/packs/stylesheets/decidim/meetings/
|
273
|
+
- app/packs/stylesheets/decidim/meetings/_calendar.scss
|
274
|
+
- app/packs/stylesheets/decidim/meetings/_item.scss
|
275
|
+
- app/packs/stylesheets/decidim/meetings/_list.scss
|
276
|
+
- app/packs/stylesheets/decidim/meetings/_live_event.scss
|
277
|
+
- app/packs/stylesheets/decidim/meetings/meetings.scss
|
283
278
|
- app/permissions/decidim/meetings/admin/permissions.rb
|
284
279
|
- app/permissions/decidim/meetings/permissions.rb
|
285
280
|
- app/presenters/decidim/meetings/admin_log/invite_presenter.rb
|
@@ -287,10 +282,10 @@ files:
|
|
287
282
|
- app/presenters/decidim/meetings/admin_log/questionnaire_presenter.rb
|
288
283
|
- app/presenters/decidim/meetings/admin_log/value_types/meeting_title_description_presenter.rb
|
289
284
|
- app/presenters/decidim/meetings/invite_presenter.rb
|
285
|
+
- app/presenters/decidim/meetings/log/resource_presenter.rb
|
290
286
|
- app/presenters/decidim/meetings/meeting_edition_presenter.rb
|
291
287
|
- app/presenters/decidim/meetings/meeting_presenter.rb
|
292
288
|
- app/presenters/decidim/meetings/official_author_presenter.rb
|
293
|
-
- app/queries/decidim/meetings/admin/invites.rb
|
294
289
|
- app/queries/decidim/meetings/filtered_meetings.rb
|
295
290
|
- app/queries/decidim/meetings/metrics/meeting_followers_metric_measure.rb
|
296
291
|
- app/queries/decidim/meetings/metrics/meetings_metric_manage.rb
|
@@ -322,7 +317,6 @@ files:
|
|
322
317
|
- app/views/decidim/meetings/admin/invites/index.html.erb
|
323
318
|
- app/views/decidim/meetings/admin/meeting_closes/_form.html.erb
|
324
319
|
- app/views/decidim/meetings/admin/meeting_closes/edit.html.erb
|
325
|
-
- app/views/decidim/meetings/admin/meeting_closes/proposals_picker.html.erb
|
326
320
|
- app/views/decidim/meetings/admin/meeting_copies/new.html.erb
|
327
321
|
- app/views/decidim/meetings/admin/meetings/_form.html.erb
|
328
322
|
- app/views/decidim/meetings/admin/meetings/_service.html.erb
|
@@ -338,25 +332,23 @@ files:
|
|
338
332
|
- app/views/decidim/meetings/admin/registrations/_form.html.erb
|
339
333
|
- app/views/decidim/meetings/admin/registrations/edit.html.erb
|
340
334
|
- app/views/decidim/meetings/close_meeting_reminder_mailer/close_meeting_reminder.html.erb
|
341
|
-
- app/views/decidim/meetings/directory/meetings/_filters.html.erb
|
342
|
-
- app/views/decidim/meetings/directory/meetings/_meetings.html.erb
|
343
335
|
- app/views/decidim/meetings/directory/meetings/index.html.erb
|
344
336
|
- app/views/decidim/meetings/directory/meetings/index.js.erb
|
337
|
+
- app/views/decidim/meetings/layouts/_aside_block.html.erb
|
345
338
|
- app/views/decidim/meetings/layouts/live_event.html.erb
|
346
339
|
- app/views/decidim/meetings/live_events/show.html.erb
|
347
340
|
- app/views/decidim/meetings/meeting_closes/_form.html.erb
|
348
341
|
- app/views/decidim/meetings/meeting_closes/edit.html.erb
|
349
|
-
- app/views/decidim/meetings/
|
350
|
-
- app/views/decidim/meetings/meetings/
|
342
|
+
- app/views/decidim/meetings/meetings/_actions.html.erb
|
343
|
+
- app/views/decidim/meetings/meetings/_add_to_calendar_modal.html.erb
|
351
344
|
- app/views/decidim/meetings/meetings/_count.html.erb
|
352
345
|
- app/views/decidim/meetings/meetings/_datetime.html.erb
|
353
|
-
- app/views/decidim/meetings/meetings/_filters.html.erb
|
354
|
-
- app/views/decidim/meetings/meetings/_filters_small_view.html.erb
|
355
346
|
- app/views/decidim/meetings/meetings/_form.html.erb
|
356
347
|
- app/views/decidim/meetings/meetings/_linked_meetings.html.erb
|
348
|
+
- app/views/decidim/meetings/meetings/_meeting.html.erb
|
357
349
|
- app/views/decidim/meetings/meetings/_meeting_agenda.html.erb
|
350
|
+
- app/views/decidim/meetings/meetings/_meeting_aside.html.erb
|
358
351
|
- app/views/decidim/meetings/meetings/_meeting_minutes.html.erb
|
359
|
-
- app/views/decidim/meetings/meetings/_meetings.html.erb
|
360
352
|
- app/views/decidim/meetings/meetings/edit.html.erb
|
361
353
|
- app/views/decidim/meetings/meetings/index.html.erb
|
362
354
|
- app/views/decidim/meetings/meetings/index.js.erb
|
@@ -373,10 +365,13 @@ files:
|
|
373
365
|
- app/views/decidim/meetings/polls/questions/index.js.erb
|
374
366
|
- app/views/decidim/meetings/polls/questions/index_admin.js.erb
|
375
367
|
- app/views/decidim/meetings/registration_mailer/confirmation.html.erb
|
376
|
-
- app/views/decidim/meetings/
|
368
|
+
- app/views/decidim/meetings/shared/_filters.html.erb
|
369
|
+
- app/views/decidim/meetings/shared/_index.html.erb
|
370
|
+
- app/views/decidim/meetings/shared/_index.js.erb
|
371
|
+
- app/views/decidim/meetings/shared/_meetings.html.erb
|
372
|
+
- app/views/decidim/meetings/shared/_meetings_aside.html.erb
|
377
373
|
- app/views/decidim/meetings/versions/show.html.erb
|
378
374
|
- app/views/decidim/participatory_spaces/_conference_venues.html.erb
|
379
|
-
- app/views/decidim/participatory_spaces/_upcoming_meeting_for_card.html.erb
|
380
375
|
- app/views/devise/mailer/join_meeting.html.erb
|
381
376
|
- app/views/devise/mailer/join_meeting.text.erb
|
382
377
|
- config/assets.rb
|
@@ -412,7 +407,6 @@ files:
|
|
412
407
|
- config/locales/ga-IE.yml
|
413
408
|
- config/locales/gl.yml
|
414
409
|
- config/locales/gn-PY.yml
|
415
|
-
- config/locales/he-IL.yml
|
416
410
|
- config/locales/hr-HR.yml
|
417
411
|
- config/locales/hr.yml
|
418
412
|
- config/locales/hu.yml
|
@@ -516,7 +510,7 @@ files:
|
|
516
510
|
- db/migrate/20210922140454_transform_show_embedded_iframe_column.rb
|
517
511
|
- db/migrate/20210928095036_rename_upcoming_events_content_block_to_upcoming_meetings.rb
|
518
512
|
- db/migrate/20211105115625_remove_not_null_on_customize_registration_email.rb
|
519
|
-
-
|
513
|
+
- db/migrate/20230427105701_change_types_and_registration_types_on_meetings.rb
|
520
514
|
- lib/decidim/api/agenda_item_type.rb
|
521
515
|
- lib/decidim/api/agenda_type.rb
|
522
516
|
- lib/decidim/api/linked_resources_interface.rb
|
@@ -531,6 +525,7 @@ files:
|
|
531
525
|
- lib/decidim/meetings/admin_engine.rb
|
532
526
|
- lib/decidim/meetings/api.rb
|
533
527
|
- lib/decidim/meetings/component.rb
|
528
|
+
- lib/decidim/meetings/content_blocks/registry_manager.rb
|
534
529
|
- lib/decidim/meetings/directory.rb
|
535
530
|
- lib/decidim/meetings/directory_engine.rb
|
536
531
|
- lib/decidim/meetings/download_your_data_user_answers_serializer.rb
|
@@ -539,34 +534,39 @@ files:
|
|
539
534
|
- lib/decidim/meetings/polls.rb
|
540
535
|
- lib/decidim/meetings/registrations.rb
|
541
536
|
- lib/decidim/meetings/registrations/code_generator.rb
|
537
|
+
- lib/decidim/meetings/seeds.rb
|
542
538
|
- lib/decidim/meetings/seeds/Exampledocument.pdf
|
543
|
-
- lib/decidim/meetings/seeds/city.jpeg
|
544
539
|
- lib/decidim/meetings/test/factories.rb
|
545
540
|
- lib/decidim/meetings/test/notifications_handling.rb
|
546
541
|
- lib/decidim/meetings/test/translated_event.rb
|
547
542
|
- lib/decidim/meetings/user_answers_serializer.rb
|
548
543
|
- lib/decidim/meetings/version.rb
|
549
544
|
- lib/tasks/decidim_meetings.rake
|
550
|
-
homepage: https://
|
545
|
+
homepage: https://decidim.org
|
551
546
|
licenses:
|
552
547
|
- AGPL-3.0
|
553
|
-
metadata:
|
548
|
+
metadata:
|
549
|
+
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
550
|
+
documentation_uri: https://docs.decidim.org/
|
551
|
+
funding_uri: https://opencollective.com/decidim
|
552
|
+
homepage_uri: https://decidim.org
|
553
|
+
source_code_uri: https://github.com/decidim/decidim
|
554
554
|
post_install_message:
|
555
555
|
rdoc_options: []
|
556
556
|
require_paths:
|
557
557
|
- lib
|
558
558
|
required_ruby_version: !ruby/object:Gem::Requirement
|
559
559
|
requirements:
|
560
|
-
- - "
|
560
|
+
- - ">="
|
561
561
|
- !ruby/object:Gem::Version
|
562
|
-
version: 3.
|
562
|
+
version: '3.1'
|
563
563
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
564
564
|
requirements:
|
565
|
-
- - "
|
565
|
+
- - ">"
|
566
566
|
- !ruby/object:Gem::Version
|
567
|
-
version:
|
567
|
+
version: 1.3.1
|
568
568
|
requirements: []
|
569
|
-
rubygems_version: 3.
|
569
|
+
rubygems_version: 3.4.20
|
570
570
|
signing_key:
|
571
571
|
specification_version: 4
|
572
572
|
summary: Decidim meetings module
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<div class="row">
|
2
|
-
<div class="column medium-6">
|
3
|
-
<% elements.first(4).each do |element| %>
|
4
|
-
<%= card_for element, size: :highlighted_list_item %>
|
5
|
-
<% end %>
|
6
|
-
</div>
|
7
|
-
<div class="columns medium-6">
|
8
|
-
<% if geolocation_enabled? %>
|
9
|
-
<%= cell "decidim/meetings/meetings_map", elements %>
|
10
|
-
<% else %>
|
11
|
-
<% elements.offset(4).first(4).each do |element| %>
|
12
|
-
<%= card_for element, size: :highlighted_list_item %>
|
13
|
-
<% end %>
|
14
|
-
<% end %>
|
15
|
-
</div>
|
16
|
-
</div>
|
@@ -1 +0,0 @@
|
|
1
|
-
<h2 class="section-heading"><%= t("decidim.meetings.content_blocks.upcoming_meetings.upcoming_meetings") %></h2>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<section id="upcoming_meetings" class="wrapper-home upcoming-meetings home-section">
|
2
|
-
<div class="row">
|
3
|
-
<h3 class="section-heading"><%= t("decidim.meetings.content_blocks.upcoming_meetings.upcoming_meetings") %></h3>
|
4
|
-
<div class="row">
|
5
|
-
<div class="columns medium-6">
|
6
|
-
<% upcoming_meetings.first(4).each do |event| %>
|
7
|
-
<%= card_for event, size: :s %>
|
8
|
-
<% end %>
|
9
|
-
</div>
|
10
|
-
<div class="columns medium-6">
|
11
|
-
<% if show_map? %>
|
12
|
-
<%= cell "decidim/meetings/meetings_map", upcoming_meetings %>
|
13
|
-
<% else %>
|
14
|
-
<% (upcoming_meetings - upcoming_meetings.first(4)).each do |event| %>
|
15
|
-
<%= card_for event, size: :s %>
|
16
|
-
<% end %>
|
17
|
-
<% end %>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
<div class="row">
|
21
|
-
<div class="column">
|
22
|
-
<%= link_to t("decidim.meetings.content_blocks.upcoming_meetings.view_all_meetings"), meetings_directory_path, class: "button hollow button--sc pull-right" %>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</section>
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Decidim
|
4
|
-
module Meetings
|
5
|
-
module ContentBlocks
|
6
|
-
class UpcomingMeetingsCell < Decidim::ViewModel
|
7
|
-
include Decidim::CardHelper
|
8
|
-
|
9
|
-
def show
|
10
|
-
return if upcoming_meetings.blank?
|
11
|
-
|
12
|
-
render
|
13
|
-
end
|
14
|
-
|
15
|
-
def upcoming_meetings
|
16
|
-
@upcoming_meetings ||= Decidim::Meetings::Meeting
|
17
|
-
.includes(:author, component: :participatory_space)
|
18
|
-
.where(component: meeting_components)
|
19
|
-
.visible_for(current_user)
|
20
|
-
.published
|
21
|
-
.where("end_time >= ?", Time.current)
|
22
|
-
.except_withdrawn
|
23
|
-
.not_hidden
|
24
|
-
.order(start_time: :asc)
|
25
|
-
.limit(limit)
|
26
|
-
end
|
27
|
-
|
28
|
-
def show_map?
|
29
|
-
maps_active? && !all_online_meetings?
|
30
|
-
end
|
31
|
-
|
32
|
-
def maps_active?
|
33
|
-
Decidim::Map.available?(:geocoding)
|
34
|
-
end
|
35
|
-
|
36
|
-
def all_online_meetings?
|
37
|
-
upcoming_meetings.collect(&:type_of_meeting).all?("online")
|
38
|
-
end
|
39
|
-
|
40
|
-
def meetings_directory_path
|
41
|
-
Decidim::Meetings::DirectoryEngine.routes.url_helpers.root_path
|
42
|
-
end
|
43
|
-
|
44
|
-
private
|
45
|
-
|
46
|
-
def limit
|
47
|
-
maps_active? ? 4 : 8
|
48
|
-
end
|
49
|
-
|
50
|
-
def meeting_components
|
51
|
-
@meeting_components ||= Decidim::Component
|
52
|
-
.where(manifest_name: "meetings")
|
53
|
-
.where(participatory_space: participatory_spaces)
|
54
|
-
.published
|
55
|
-
end
|
56
|
-
|
57
|
-
def participatory_spaces
|
58
|
-
@participatory_spaces ||= current_organization.public_participatory_spaces
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<div class="reveal" data-reveal id="meeting-registration-confirm-<%= model.id %>">
|
2
|
-
<%= decidim_form_for(registration_form, url: meeting_registration_path(model), method: :post) do |form| %>
|
3
|
-
<div class="row">
|
4
|
-
<div class="columns medium-10 medium-offset-1">
|
5
|
-
<%= cell("decidim/represent_user_group", form) %>
|
6
|
-
</div>
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<div class="row">
|
10
|
-
<div class="columns medium-10 medium-offset-1">
|
11
|
-
<%= cell("decidim/public_participation", form) %>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="row">
|
16
|
-
<div class="columns medium-10 medium-offset-1 help-text">
|
17
|
-
<%= registration_terms_text %>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="row">
|
22
|
-
<div class="columns medium-8 medium-offset-2">
|
23
|
-
<%= form.submit i18n_confirm_text, class: "button expanded", data: { disable: true } %>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<% end %>
|
27
|
-
|
28
|
-
<div class="text-center">
|
29
|
-
<button class="link" data-close><%= i18n_cancel_text %></button>
|
30
|
-
</div>
|
31
|
-
</div>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<article class="card">
|
2
|
-
<div class="card__content">
|
3
|
-
<div class="card__header">
|
4
|
-
<%= link_to meeting_path, class: "card__link" do %>
|
5
|
-
<h5 class="card__title">
|
6
|
-
<%= title %>
|
7
|
-
</h5>
|
8
|
-
<% end %>
|
9
|
-
</div>
|
10
|
-
<div class="row">
|
11
|
-
<time datetime="<%= l(model.start_time, format: :long_dashed) %>" class="column medium-4 text-muted">
|
12
|
-
<%= icon "datetime", class: "mr-xs", role: "img", "aria-hidden": true %>
|
13
|
-
<%= l start_date, format: :decidim_with_month_name %>
|
14
|
-
</time>
|
15
|
-
<div class="column medium-8 text-muted">
|
16
|
-
<%= participatory_space_class_name %>
|
17
|
-
<%= link_to participatory_space_title, participatory_space_path %>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
</article>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Decidim
|
4
|
-
module Meetings
|
5
|
-
# This cell renders the Highlighted List Item Card (:highlighted_list_item)
|
6
|
-
# meeting card for an instance of a Meeting. This card is used in the
|
7
|
-
# content block of Highlighted Meetings and is based on :s size card
|
8
|
-
class MeetingHighlightedListItemCell < MeetingSCell; end
|
9
|
-
end
|
10
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<div class="card--list__item">
|
2
|
-
<div class="card--list__text">
|
3
|
-
<div>
|
4
|
-
<%= link_to resource_path, class: "card__link" do %>
|
5
|
-
<h4 class="card--list__heading heading6">
|
6
|
-
<%= title %>
|
7
|
-
</h4>
|
8
|
-
<span class="text-small">
|
9
|
-
<%= resource_date_time %>
|
10
|
-
</span>
|
11
|
-
<% end %>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
</div>
|
@@ -1,44 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Decidim
|
4
|
-
module Meetings
|
5
|
-
# This cell renders the List Item Card (:list_item) meeting card
|
6
|
-
# for an instance of a Meeting
|
7
|
-
#
|
8
|
-
# This cell must be wrapped in a "<div class="card card--list"></div>"
|
9
|
-
class MeetingListItemCell < Decidim::Meetings::MeetingCell
|
10
|
-
def show
|
11
|
-
render
|
12
|
-
end
|
13
|
-
|
14
|
-
private
|
15
|
-
|
16
|
-
def cache_hash
|
17
|
-
hash = []
|
18
|
-
hash.push(I18n.locale.to_s)
|
19
|
-
hash.push(model.cache_key_with_version)
|
20
|
-
hash.push(model.component.cache_key_with_version)
|
21
|
-
hash.push(model.must_render_translation?(current_organization) ? 1 : 0) if model.respond_to?(:must_render_translation?)
|
22
|
-
|
23
|
-
hash.join(Decidim.cache_key_separator)
|
24
|
-
end
|
25
|
-
|
26
|
-
def resource_path
|
27
|
-
resource_locator(model).path
|
28
|
-
end
|
29
|
-
|
30
|
-
def title
|
31
|
-
present(model).title(html_escape: true)
|
32
|
-
end
|
33
|
-
|
34
|
-
def resource_date_time
|
35
|
-
str = l model.start_time, format: :decidim_day_of_year
|
36
|
-
str += " - "
|
37
|
-
str += l model.start_time, format: :time_of_day
|
38
|
-
str += "-"
|
39
|
-
str += l model.end_time, format: :time_of_day
|
40
|
-
str
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<div class="card__footer">
|
2
|
-
<div class="card__support">
|
3
|
-
<% if can_join? && show_footer_actions? %>
|
4
|
-
<%= cell "decidim/meetings/join_meeting_button", model %>
|
5
|
-
<% else %>
|
6
|
-
<%= link_to t("view", scope: "decidim.meetings.meetings.show"), resource_path, class: "card__button button--sc light button small" %>
|
7
|
-
<% end %>
|
8
|
-
</div>
|
9
|
-
</div>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<li class="card-data__item">
|
2
|
-
<div class="card-data__item--multiple">
|
3
|
-
<div>
|
4
|
-
<strong>
|
5
|
-
<%= l start_date, format: :decidim_with_month_name %>
|
6
|
-
</strong>
|
7
|
-
<%= formatted_start_time %>
|
8
|
-
</div>
|
9
|
-
<%= icon "arrow-thin-right", class: "icon--big muted", role: "img", "aria-hidden": true %>
|
10
|
-
<div>
|
11
|
-
<strong>
|
12
|
-
<%= l end_date, format: :decidim_with_month_name %>
|
13
|
-
</strong>
|
14
|
-
<%= formatted_end_time %>
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
</li>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= render partial: "decidim/shared/tags.html", locals: { resource: model, tags_class_extra: "tags--meeting" } %>
|