decidim-conferences 0.27.5 → 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/conferences/conference_cell.rb +9 -4
- data/app/cells/decidim/conferences/conference_dropdown_metadata_cell.rb +19 -0
- data/app/cells/decidim/conferences/conference_g_cell.rb +23 -0
- data/app/cells/decidim/conferences/conference_metadata_cell.rb +21 -0
- data/app/cells/decidim/conferences/conference_s_cell.rb +13 -0
- data/app/cells/decidim/conferences/conference_speaker/show.erb +44 -58
- data/app/cells/decidim/conferences/conference_speaker_cell.rb +3 -13
- data/app/cells/decidim/conferences/content_blocks/highlighted_conferences_cell.rb +15 -14
- data/app/cells/decidim/conferences/content_blocks/highlighted_conferences_settings_form/show.erb +3 -0
- data/app/cells/decidim/conferences/content_blocks/highlighted_conferences_settings_form_cell.rb +19 -0
- data/app/cells/decidim/conferences/linked_participatory_spaces/show.erb +6 -8
- data/app/cells/decidim/conferences/linked_participatory_spaces_cell.rb +1 -10
- data/app/cells/decidim/conferences/media_link/show.erb +6 -8
- data/app/cells/decidim/conferences/partner/image.erb +3 -0
- data/app/cells/decidim/conferences/partner/show.erb +8 -8
- data/app/cells/decidim/conferences/partner/text.erb +1 -0
- data/app/cells/decidim/conferences/partner_cell.rb +4 -2
- data/app/cells/decidim/conferences/registration_type/join_conference.erb +15 -12
- data/app/cells/decidim/conferences/registration_type/registration_confirm.erb +12 -12
- data/app/cells/decidim/conferences/registration_type/show.erb +11 -14
- data/app/cells/decidim/conferences/registration_type_cell.rb +3 -3
- data/app/commands/decidim/conferences/admin/copy_conference.rb +1 -1
- data/app/commands/decidim/conferences/admin/create_conference.rb +2 -11
- data/app/commands/decidim/conferences/admin/create_conference_speaker.rb +2 -2
- data/app/commands/decidim/conferences/admin/create_media_link.rb +2 -2
- data/app/commands/decidim/conferences/admin/create_partner.rb +2 -2
- data/app/commands/decidim/conferences/admin/create_registration_type.rb +2 -2
- data/app/commands/decidim/conferences/admin/destroy_conference_speaker.rb +2 -2
- data/app/commands/decidim/conferences/admin/destroy_media_link.rb +1 -1
- data/app/commands/decidim/conferences/admin/destroy_partner.rb +3 -3
- data/app/commands/decidim/conferences/admin/destroy_registration_type.rb +1 -1
- data/app/commands/decidim/conferences/admin/invite_user_to_join_conference.rb +5 -5
- data/app/commands/decidim/conferences/admin/publish_conference.rb +9 -26
- data/app/commands/decidim/conferences/admin/send_conference_diplomas.rb +1 -1
- data/app/commands/decidim/conferences/admin/update_conference.rb +2 -11
- data/app/commands/decidim/conferences/admin/update_conference_speaker.rb +1 -1
- data/app/commands/decidim/conferences/admin/update_media_link.rb +1 -1
- data/app/commands/decidim/conferences/admin/update_partner.rb +1 -1
- data/app/commands/decidim/conferences/admin/update_registration_type.rb +1 -1
- data/app/commands/decidim/conferences/decline_invitation.rb +1 -1
- data/app/commands/decidim/conferences/join_conference.rb +5 -5
- data/app/constraints/decidim/conferences/current_component.rb +2 -2
- data/app/constraints/decidim/conferences/current_conference.rb +2 -2
- data/app/controllers/concerns/decidim/conferences/admin/conference_context.rb +1 -1
- data/app/controllers/decidim/conferences/admin/concerns/conference_admin.rb +2 -2
- data/app/controllers/decidim/conferences/admin/conference_attachment_collections_controller.rb +6 -1
- data/app/controllers/decidim/conferences/admin/conference_attachments_controller.rb +5 -0
- data/app/controllers/decidim/conferences/admin/conference_invites_controller.rb +2 -1
- data/app/controllers/decidim/conferences/admin/conference_publications_controller.rb +10 -28
- data/app/controllers/decidim/conferences/admin/conference_registrations_controller.rb +1 -1
- data/app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb +8 -90
- data/app/controllers/decidim/conferences/admin/conferences_controller.rb +2 -0
- data/app/controllers/decidim/conferences/admin/diplomas_controller.rb +1 -1
- data/app/controllers/decidim/conferences/admin/exports_controller.rb +1 -1
- data/app/controllers/decidim/conferences/admin/imports_controller.rb +1 -1
- data/app/controllers/decidim/conferences/admin/moderations/reports_controller.rb +1 -1
- data/app/controllers/decidim/conferences/admin/moderations_controller.rb +1 -1
- data/app/controllers/decidim/conferences/application_controller.rb +6 -0
- data/app/controllers/decidim/conferences/conference_registrations_controller.rb +3 -3
- data/app/controllers/decidim/conferences/conferences_controller.rb +9 -2
- data/app/events/decidim/conferences/conference_registration_notification_event.rb +3 -3
- data/app/events/decidim/conferences/conference_registrations_enabled_event.rb +1 -1
- data/app/events/decidim/conferences/conference_registrations_over_percentage_event.rb +1 -1
- data/app/events/decidim/conferences/conference_role_assigned_event.rb +6 -6
- data/app/forms/decidim/conferences/admin/conference_copy_form.rb +1 -1
- data/app/forms/decidim/conferences/admin/conference_form.rb +4 -15
- data/app/forms/decidim/conferences/admin/conference_user_role_form.rb +2 -17
- data/app/helpers/decidim/conferences/admin/conferences_helper.rb +0 -4
- data/app/helpers/decidim/conferences/conference_helper.rb +55 -0
- data/app/helpers/decidim/conferences/conference_program_helper.rb +1 -1
- data/app/helpers/decidim/conferences/media_attachments_helper.rb +0 -10
- data/app/helpers/decidim/conferences/partners_helper.rb +3 -1
- data/app/mailers/decidim/conferences/admin/invite_join_conference_mailer.rb +1 -1
- data/app/mailers/decidim/conferences/admin/send_conference_diploma_mailer.rb +1 -1
- data/app/mailers/decidim/conferences/conference_registration_mailer.rb +2 -2
- data/app/models/decidim/conference.rb +4 -4
- data/app/models/decidim/conference_user_role.rb +6 -34
- data/app/packs/entrypoints/decidim_conferences.js +5 -0
- data/app/packs/src/decidim/conferences/admin/conferences.js +6 -6
- data/app/packs/stylesheets/decidim/conferences/_conference.scss +102 -0
- data/app/packs/stylesheets/decidim/conferences/_media.scss +13 -0
- data/app/packs/stylesheets/decidim/conferences/_program.scss +43 -0
- data/app/packs/stylesheets/decidim/conferences/_registration.scss +39 -0
- data/app/packs/stylesheets/decidim/conferences/_speaker.scss +83 -0
- data/app/packs/stylesheets/decidim/conferences/conferences.scss +5 -3
- data/app/permissions/decidim/conferences/permissions.rb +2 -2
- data/app/presenters/decidim/conference_speaker_presenter.rb +1 -1
- data/app/presenters/decidim/conferences/admin_log/conference_invite_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/conference_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/conference_registration_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/conference_speaker_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/conference_user_role_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/media_link_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/partner_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/admin_log/registration_type_presenter.rb +2 -2
- data/app/presenters/decidim/conferences/conference_stats_presenter.rb +3 -28
- data/app/queries/decidim/conferences/admin/admin_users.rb +4 -4
- data/app/queries/decidim/conferences/conferences_with_user_role.rb +2 -2
- data/app/queries/decidim/conferences/organization_conferences.rb +1 -1
- data/app/queries/decidim/conferences/organization_published_conferences.rb +1 -1
- data/app/views/decidim/conferences/admin/conference_copies/_form.html.erb +22 -28
- data/app/views/decidim/conferences/admin/conference_copies/new.html.erb +16 -5
- data/app/views/decidim/conferences/admin/conference_invites/_form.html.erb +17 -19
- data/app/views/decidim/conferences/admin/conference_invites/index.html.erb +69 -74
- data/app/views/decidim/conferences/admin/conference_invites/new.html.erb +21 -17
- data/app/views/decidim/conferences/admin/conference_registrations/index.html.erb +45 -45
- data/app/views/decidim/conferences/admin/conference_speakers/_form.html.erb +42 -46
- data/app/views/decidim/conferences/admin/conference_speakers/edit.html.erb +16 -6
- data/app/views/decidim/conferences/admin/conference_speakers/index.html.erb +52 -55
- data/app/views/decidim/conferences/admin/conference_speakers/new.html.erb +16 -6
- data/app/views/decidim/conferences/admin/conference_user_roles/_form.html.erb +14 -18
- data/app/views/decidim/conferences/admin/conference_user_roles/edit.html.erb +16 -6
- data/app/views/decidim/conferences/admin/conference_user_roles/index.html.erb +53 -56
- data/app/views/decidim/conferences/admin/conference_user_roles/new.html.erb +16 -6
- data/app/views/decidim/conferences/admin/conferences/_form.html.erb +88 -88
- data/app/views/decidim/conferences/admin/conferences/edit.html.erb +26 -12
- data/app/views/decidim/conferences/admin/conferences/index.html.erb +55 -64
- data/app/views/decidim/conferences/admin/conferences/new.html.erb +16 -8
- data/app/views/decidim/conferences/admin/diplomas/_form.html.erb +18 -24
- data/app/views/decidim/conferences/admin/diplomas/edit.html.erb +19 -5
- data/app/views/decidim/conferences/admin/media_links/_form.html.erb +15 -19
- data/app/views/decidim/conferences/admin/media_links/edit.html.erb +16 -6
- data/app/views/decidim/conferences/admin/media_links/index.html.erb +37 -40
- data/app/views/decidim/conferences/admin/media_links/new.html.erb +16 -6
- data/app/views/decidim/conferences/admin/partners/_form.html.erb +18 -22
- data/app/views/decidim/conferences/admin/partners/edit.html.erb +16 -6
- data/app/views/decidim/conferences/admin/partners/index.html.erb +45 -48
- data/app/views/decidim/conferences/admin/partners/new.html.erb +16 -6
- data/app/views/decidim/conferences/admin/registration_types/_form.html.erb +23 -23
- data/app/views/decidim/conferences/admin/registration_types/edit.html.erb +16 -6
- data/app/views/decidim/conferences/admin/registration_types/index.html.erb +52 -56
- data/app/views/decidim/conferences/admin/registration_types/new.html.erb +16 -6
- data/app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma_user.html.erb +2 -2
- data/app/views/decidim/conferences/conference_program/_program_item.html.erb +21 -24
- data/app/views/decidim/conferences/conference_program/_program_meeting.html.erb +29 -63
- data/app/views/decidim/conferences/conference_program/show.html.erb +27 -39
- data/app/views/decidim/conferences/conference_speakers/index.html.erb +12 -6
- data/app/views/decidim/conferences/conferences/_conference_hero.html.erb +33 -0
- data/app/views/decidim/conferences/conferences/_partners.html.erb +10 -13
- data/app/views/decidim/conferences/conferences/index.html.erb +17 -7
- data/app/views/decidim/conferences/conferences/show.html.erb +84 -50
- data/app/views/decidim/conferences/media/index.html.erb +33 -19
- data/app/views/decidim/conferences/registration_types/index.html.erb +25 -17
- data/app/views/layouts/decidim/admin/conference.html.erb +12 -14
- data/app/views/layouts/decidim/admin/conferences.html.erb +13 -8
- data/app/views/layouts/decidim/conference.html.erb +7 -17
- data/app/views/layouts/decidim/conferences/_conference_nav_item.html.erb +6 -0
- data/app/views/layouts/decidim/conferences/application.html.erb +6 -0
- data/config/assets.rb +1 -1
- data/config/initializers/wicked_pdf.rb +1 -1
- data/config/locales/ar.yml +3 -62
- data/config/locales/bg.yml +0 -1
- data/config/locales/ca.yml +33 -53
- data/config/locales/cs.yml +35 -53
- data/config/locales/de.yml +33 -53
- data/config/locales/el.yml +11 -51
- data/config/locales/en.yml +34 -54
- data/config/locales/es-MX.yml +32 -52
- data/config/locales/es-PY.yml +32 -52
- data/config/locales/es.yml +32 -52
- data/config/locales/eu.yml +33 -58
- data/config/locales/fi-plain.yml +32 -52
- data/config/locales/fi.yml +31 -51
- data/config/locales/fr-CA.yml +31 -51
- data/config/locales/fr.yml +31 -51
- data/config/locales/ga-IE.yml +0 -17
- data/config/locales/gl.yml +3 -62
- data/config/locales/hu.yml +15 -51
- data/config/locales/id-ID.yml +3 -57
- data/config/locales/it.yml +4 -62
- data/config/locales/ja.yml +34 -53
- data/config/locales/lb.yml +1 -55
- data/config/locales/lt.yml +14 -52
- data/config/locales/lv.yml +1 -60
- data/config/locales/nl.yml +3 -62
- data/config/locales/no.yml +1 -62
- data/config/locales/pl.yml +1 -78
- data/config/locales/pt-BR.yml +1 -63
- data/config/locales/pt.yml +2 -63
- data/config/locales/ro-RO.yml +13 -50
- data/config/locales/sk.yml +1 -60
- data/config/locales/sl.yml +0 -2
- data/config/locales/sr-CS.yml +0 -5
- data/config/locales/sv.yml +7 -62
- data/config/locales/tr-TR.yml +13 -61
- data/config/locales/zh-CN.yml +3 -60
- data/config/locales/zh-TW.yml +6 -47
- data/db/migrate/20221116084952_add_weight_to_conferences.rb +7 -0
- data/lib/decidim/conferences/admin_engine.rb +14 -138
- data/lib/decidim/conferences/content_blocks/registry_manager.rb +21 -0
- data/lib/decidim/conferences/engine.rb +17 -15
- data/lib/decidim/conferences/menu.rb +182 -0
- data/lib/decidim/conferences/participatory_space.rb +6 -200
- data/lib/decidim/conferences/query_extensions.rb +2 -2
- data/lib/decidim/conferences/seeds.rb +153 -0
- data/lib/decidim/conferences/test/factories.rb +10 -9
- data/lib/decidim/conferences/version.rb +1 -1
- metadata +44 -47
- data/app/cells/decidim/conferences/conference_address/show.erb +0 -11
- data/app/cells/decidim/conferences/conference_address_cell.rb +0 -11
- data/app/cells/decidim/conferences/conference_m/footer.erb +0 -9
- data/app/cells/decidim/conferences/conference_m/tags.erb +0 -1
- data/app/cells/decidim/conferences/conference_m_cell.rb +0 -42
- data/app/cells/decidim/conferences/content_blocks/highlighted_conferences/show.erb +0 -30
- data/app/cells/decidim/conferences/photo/show.erb +0 -26
- data/app/cells/decidim/conferences/photo_cell.rb +0 -41
- data/app/cells/decidim/conferences/photos_list/show.erb +0 -8
- data/app/cells/decidim/conferences/photos_list_cell.rb +0 -18
- data/app/commands/decidim/conferences/admin/create_conference_admin.rb +0 -114
- data/app/commands/decidim/conferences/admin/destroy_conference_admin.rb +0 -58
- data/app/commands/decidim/conferences/admin/notify_role_assigned_to_conference.rb +0 -22
- data/app/commands/decidim/conferences/admin/unpublish_conference.rb +0 -39
- data/app/commands/decidim/conferences/admin/update_conference_admin.rb +0 -53
- data/app/controllers/decidim/conferences/conference_widgets_controller.rb +0 -23
- data/app/queries/decidim/conferences/admin/conference_invites.rb +0 -60
- data/app/views/decidim/conferences/_order_by_conferences.html.erb +0 -3
- data/app/views/decidim/conferences/conferences/_promoted_conference.html.erb +0 -27
- data/app/views/decidim/conferences/media/_attachments.html.erb +0 -6
- data/app/views/decidim/conferences/shared/_conference_user_login.html.erb +0 -14
- data/app/views/layouts/decidim/_conference_hero.html.erb +0 -42
- data/app/views/layouts/decidim/_conferences_nav.html.erb +0 -46
- data/config/environment.rb +0 -3
- data/db/seeds/Exampledocument.pdf +0 -0
- data/db/seeds/city.jpeg +0 -0
- data/db/seeds/city2.jpeg +0 -0
- data/db/seeds/homepage_image.jpg +0 -0
- data/db/seeds/logo.png +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
<% add_decidim_meta_tags({
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}) %>
|
2
|
+
image_url: current_participatory_space.attached_uploader(:hero_image).path,
|
3
|
+
description: translated_attribute(current_participatory_space.short_description),
|
4
|
+
url: conference_url(current_participatory_space),
|
5
|
+
twitter_handler: current_organization.twitter_handler
|
6
|
+
}) %>
|
7
7
|
|
8
8
|
<%
|
9
9
|
edit_link(
|
@@ -14,71 +14,105 @@ edit_link(
|
|
14
14
|
)
|
15
15
|
%>
|
16
16
|
|
17
|
-
|
17
|
+
<%# NOTE: This page is wrapped within a main tag, in order to
|
18
|
+
include the hero inside the two-column layout.
|
19
|
+
Therefore is mandatory to pass the "main_enabled: false" flag
|
20
|
+
to the layout_two_col for disabling the original main. %>
|
21
|
+
<main>
|
18
22
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
23
|
+
<%= content_for :aside do %>
|
24
|
+
<div class="conference__nav-container">
|
25
|
+
<button id="dropdown-trigger-conference" data-component="dropdown" data-target="dropdown-menu-conference" data-auto-close="true" data-disabled-md="true" data-scroll-to-menu="true">
|
26
|
+
<span><%= t("decidim.searches.filters.jump_to") %></span>
|
27
|
+
<%= icon "arrow-down-s-line" %>
|
28
|
+
<%= icon "arrow-up-s-line" %>
|
29
|
+
</button>
|
30
|
+
<ul id="dropdown-menu-conference" class="conference__nav">
|
31
|
+
<%= render partial: "layouts/decidim/conferences/conference_nav_item", collection: conference_nav_items(current_participatory_space), as: :item %>
|
32
|
+
</ul>
|
33
|
+
</div>
|
34
|
+
<% end %>
|
35
|
+
|
36
|
+
<%= render partial: "conference_hero" %>
|
37
|
+
|
38
|
+
<%= render layout: "layouts/decidim/shared/layout_two_col", locals: { reverse: true, main_enabled: false } do %>
|
39
|
+
|
40
|
+
<%= participatory_space_floating_help %>
|
41
|
+
|
42
|
+
<section class="content-block">
|
43
|
+
<h2 class="h2 decorator"><%= t("conferences.show.introduction", scope: "decidim") %></h2>
|
44
|
+
<div class="content-block__description editor-content">
|
45
|
+
<%= decidim_sanitize_editor_admin translated_attribute(current_participatory_space.short_description) %>
|
46
|
+
</div>
|
24
47
|
</section>
|
25
|
-
|
26
|
-
<section class="
|
27
|
-
<
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
48
|
+
|
49
|
+
<section class="content-block conference__content-block">
|
50
|
+
<h2 class="h2 decorator"><%= t("conferences.show.details", scope: "decidim") %></h2>
|
51
|
+
<div class="content-block__description editor-content">
|
52
|
+
<%= decidim_sanitize_editor_admin translated_attribute(current_participatory_space.description) %>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<div>
|
56
|
+
<% if current_participatory_space.registrations_enabled? %>
|
57
|
+
<% if current_participatory_space.has_registration_for?(current_user) %>
|
58
|
+
<%= link_to t("decidim.conferences.conferences.show.manage_registration"), decidim_conferences.conference_registration_types_path(current_participatory_space), class: "button button__lg button__primary" %>
|
59
|
+
<% else %>
|
60
|
+
<%= link_to t("decidim.conferences.conferences.show.register"), decidim_conferences.conference_registration_types_path(current_participatory_space), class: "button button__lg button__secondary" %>
|
35
61
|
<% end %>
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
</div>
|
41
|
-
<% end %>
|
62
|
+
<% end %>
|
63
|
+
<% current_participatory_space.components.where(manifest_name: "meetings").each do |component_meeting| %>
|
64
|
+
<% if component_meeting.published? || component_meeting == self.try(:current_component) %>
|
65
|
+
<%= link_to translated_attribute(component_meeting.name), decidim_conferences.conference_conference_program_path(current_participatory_space, id: component_meeting.id), class: "button button__lg button__transparent-secondary" %>
|
42
66
|
<% end %>
|
43
|
-
|
67
|
+
<% end %>
|
44
68
|
</div>
|
45
69
|
</section>
|
46
70
|
|
47
|
-
<%=
|
71
|
+
<%= render partial: "partners", locals: { conference: current_participatory_space } %>
|
72
|
+
|
73
|
+
<% unless translated_attribute(current_participatory_space.objectives).blank? %>
|
74
|
+
<section class="content-block">
|
75
|
+
<h2 class="h2 decorator"><%= t("decidim.conferences.show.objectives") %></h2>
|
76
|
+
<div class="editor-content">
|
77
|
+
<%= decidim_sanitize_editor_admin translated_attribute(current_participatory_space.objectives) %>
|
78
|
+
</div>
|
79
|
+
</section>
|
80
|
+
<% end %>
|
48
81
|
|
49
82
|
<%= render_hook(:conference_venues) %>
|
50
83
|
|
51
84
|
<% if current_participatory_space.registrations_enabled? %>
|
52
|
-
<
|
53
|
-
|
54
|
-
<h3 class="section-heading"><%= t(".register") %></h3>
|
85
|
+
<section class="content-block">
|
86
|
+
<h2 class="h2 decorator"><%= t("decidim.conferences.conferences.show.register") %></h2>
|
55
87
|
<% if current_user.present? %>
|
56
|
-
<div class="
|
57
|
-
<
|
58
|
-
|
59
|
-
|
60
|
-
|
88
|
+
<div class="conference__box">
|
89
|
+
<div>
|
90
|
+
<%= icon "user-follow-line", class: "conference__box-icon" %>
|
91
|
+
<p class="conference__box-title"><%= t("decidim.conferences.conferences.show.make_conference_registration") %></p>
|
92
|
+
<p class="conference__box-description"><%= t("decidim.conferences.conferences.show.login_as", name: current_user.name, email: current_user.email ) %></p>
|
93
|
+
</div>
|
94
|
+
<div>
|
95
|
+
<% if current_participatory_space.has_registration_for?(current_user) %>
|
96
|
+
<%= link_to t("decidim.conferences.conferences.show.manage_registration"), decidim_conferences.conference_registration_types_path(current_participatory_space), class: "button button__lg button__primary" %>
|
97
|
+
<% else %>
|
98
|
+
<%= link_to t("decidim.conferences.conferences.show.register"), decidim_conferences.conference_registration_types_path(current_participatory_space), class: "button button__lg button__secondary" %>
|
99
|
+
<% end %>
|
61
100
|
</div>
|
62
101
|
</div>
|
63
102
|
<% else %>
|
64
|
-
<%= render partial: "decidim/
|
103
|
+
<%= render partial: "decidim/devise/shared/login_boxes", locals: { scope: "decidim.conferences.conferences.show" } %>
|
65
104
|
<% end %>
|
66
105
|
</section>
|
67
106
|
<% end %>
|
68
107
|
|
69
|
-
<hr class="reset mt-none mb-m">
|
70
|
-
|
71
|
-
<% unless translated_attribute(current_participatory_space.objectives).blank? %>
|
72
|
-
<section class="section">
|
73
|
-
<h3 class="section-heading"><%= t("conferences.show.objectives", scope: "decidim") %></h3>
|
74
|
-
<%= decidim_sanitize_editor translated_attribute(current_participatory_space.objectives) %>
|
75
|
-
</section>
|
76
|
-
<% end %>
|
77
|
-
|
78
108
|
<%= cell("decidim/conferences/linked_participatory_spaces", current_participatory_space) %>
|
79
109
|
|
80
110
|
<% if current_participatory_space.show_statistics? %>
|
81
|
-
|
111
|
+
<section class="content-block" data-statistics>
|
112
|
+
<h2 class="h2 decorator"><%= t("decidim.statistics.headline") %></h2>
|
113
|
+
<%= cell("decidim/statistics", stats.collection) %>
|
114
|
+
</section>
|
82
115
|
<% end %>
|
83
|
-
|
84
|
-
|
116
|
+
|
117
|
+
<% end %>
|
118
|
+
</main>
|
@@ -9,23 +9,37 @@ edit_link(
|
|
9
9
|
)
|
10
10
|
%>
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
12
|
+
<%# NOTE: this page does not use a regular layout %>
|
13
|
+
<main class="container">
|
14
|
+
<h1 class="title-decorator my-12">
|
15
|
+
<span class="not-sr-only"><%= t("media", scope: "layouts.decidim.conferences_nav") %></span>
|
16
|
+
<span class="sr-only"><%= t("media", scope: "layouts.decidim.conferences_nav") %> (<%= translated_attribute current_participatory_space.title %>)</span>
|
17
|
+
</h1>
|
18
|
+
|
19
|
+
<% if @media_links.any? %>
|
20
|
+
<section id="conference-media-links" class="conference__media-section">
|
21
|
+
<h2 class="h4 md:h3 decorator"><%= t("media.index.title", scope: "decidim") %></h2>
|
22
|
+
<p><%= t("media.index.description", scope: "decidim") %></p>
|
23
|
+
|
24
|
+
<div class="conference__media-links" data-conference-media-links>
|
25
|
+
<% @media_links.each do |media_link| %>
|
26
|
+
<%= cell "decidim/conferences/media_link", media_link %>
|
27
|
+
<% end %>
|
26
28
|
</div>
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
</section>
|
30
|
+
<% end %>
|
31
|
+
|
32
|
+
<% if current_participatory_space.attachments.any? %>
|
33
|
+
<section id="conference-media-photos" class="conference__media-section">
|
34
|
+
<h2 class="h4 md:h3 decorator"><%= t("decidim.application.photos.related_photos") %></h2>
|
35
|
+
|
36
|
+
<%= cell("decidim/photos_list", current_participatory_space.photos) %>
|
37
|
+
</section>
|
38
|
+
|
39
|
+
<section id="conference-media-documents" class="conference__media-section">
|
40
|
+
<h2 class="h4 md:h3 decorator"><%= t("decidim.application.documents.related_documents") %></h2>
|
41
|
+
|
42
|
+
<%= render partial: "decidim/application/documents", locals: { documents: current_participatory_space.documents } %>
|
43
|
+
</section>
|
44
|
+
<% end %>
|
45
|
+
</main>
|
@@ -8,23 +8,31 @@ edit_link(
|
|
8
8
|
conference: current_participatory_space
|
9
9
|
)
|
10
10
|
%>
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
11
|
+
|
12
|
+
<%= append_javascript_pack_tag "decidim_conferences" %>
|
13
|
+
<%= append_stylesheet_pack_tag "decidim_conferences" %>
|
14
|
+
|
15
|
+
<%# NOTE: this page does not use a regular layout %>
|
16
|
+
<main class="container">
|
17
|
+
|
18
|
+
<section class="section">
|
19
|
+
<h1 class="title-decorator my-12">
|
20
|
+
<span class="not-sr-only"><%= t("registration_types.index.register", scope: "decidim.conferences") %></span>
|
21
|
+
<span class="sr-only"><%= t("registration_types.index.register", scope: "decidim.conferences") %> (<%= translated_attribute current_participatory_space.title %>)</span>
|
22
|
+
</h1>
|
23
|
+
|
24
|
+
<%= render partial: "decidim/devise/shared/login_boxes", locals: { scope: "decidim.conferences.conferences.show" } unless current_user %>
|
25
|
+
|
26
|
+
<% if collection.any? %>
|
27
|
+
<p class="conference__registration-container-title"><%= t(".choose_an_option") %></p>
|
28
|
+
<div class="conference__registration-container">
|
22
29
|
<% collection.each do |registration_type| %>
|
23
30
|
<%= cell "decidim/conferences/registration_type", registration_type, allowed: allowed_to?(:join, :conference, conference: current_participatory_space) %>
|
24
31
|
<% end %>
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
</
|
30
|
-
|
32
|
+
</div>
|
33
|
+
<% else %>
|
34
|
+
<%= cell("decidim/announcement", t("registration_types.index.no_registrations", scope: "decidim.conferences")) %>
|
35
|
+
<% end %>
|
36
|
+
</section>
|
37
|
+
|
38
|
+
</main>
|
@@ -1,17 +1,15 @@
|
|
1
|
-
<%
|
2
|
-
<%= sidebar_menu(:conferences_admin_menu).render do
|
3
|
-
public_page_link decidim_conferences.conference_path(current_participatory_space)
|
4
|
-
end %>
|
5
|
-
<% end %>
|
6
|
-
|
7
|
-
<%= render "layouts/decidim/admin/application" do %>
|
8
|
-
<div class="process-title">
|
9
|
-
<div class="process-title-content">
|
10
|
-
<%= link_to translated_attribute(current_participatory_space.title), decidim_conferences.conference_path(current_participatory_space), target: "_blank" %>
|
11
|
-
</div>
|
12
|
-
</div>
|
1
|
+
<% add_secondary_root_menu(:conferences_admin_menu) %>
|
13
2
|
|
14
|
-
|
15
|
-
|
3
|
+
<% content_for :breadcrumb_context_menu do %>
|
4
|
+
<div class="process-title-content-breadcrumb-container-right">
|
5
|
+
<%= link_to decidim_conferences.conference_path(current_participatory_space), class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link", target: "_blank", data: { "external-link": false } do %>
|
6
|
+
<%= icon "eye-line" %>
|
7
|
+
<span>
|
8
|
+
<%= t("see_conference", scope: "decidim.admin.menu.conferences_submenu") %>
|
9
|
+
</span>
|
10
|
+
<% end %>
|
16
11
|
</div>
|
17
12
|
<% end %>
|
13
|
+
<%= render "layouts/decidim/admin/application" do %>
|
14
|
+
<%= yield %>
|
15
|
+
<% end %>
|
@@ -1,11 +1,16 @@
|
|
1
|
-
|
2
|
-
<div class="process-title">
|
3
|
-
|
4
|
-
<%= link_to
|
5
|
-
|
1
|
+
<% content_for :breadcrumb_context_menu do %>
|
2
|
+
<div class="process-title-content-breadcrumb-container-right">
|
3
|
+
<% if allowed_to? :create, :conference %>
|
4
|
+
<%= link_to new_conference_path, class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link" do %>
|
5
|
+
<%= icon "add-line", class: "w-4 h-4" %>
|
6
|
+
<span>
|
7
|
+
<%= t("actions.new_conference", scope: "decidim.admin") %>
|
8
|
+
</span>
|
9
|
+
<% end %>
|
10
|
+
<% end %>
|
6
11
|
</div>
|
12
|
+
<% end %>
|
7
13
|
|
8
|
-
|
9
|
-
|
10
|
-
</div>
|
14
|
+
<%= render "layouts/decidim/admin/application" do %>
|
15
|
+
<%= yield %>
|
11
16
|
<% end %>
|
@@ -2,26 +2,16 @@
|
|
2
2
|
<% add_decidim_page_title(translated_attribute(current_participatory_space.title)) %>
|
3
3
|
<% add_decidim_meta_tags(
|
4
4
|
image_url: current_participatory_space.attached_uploader(:banner_image).path,
|
5
|
-
description: translated_attribute(current_participatory_space.short_description)
|
5
|
+
description: translated_attribute(current_participatory_space.short_description)
|
6
6
|
) %>
|
7
7
|
|
8
|
-
<%=
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
<div class="wrapper">
|
13
|
-
<%= yield %>
|
14
|
-
</div>
|
8
|
+
<%= append_javascript_pack_tag "decidim_conferences" %>
|
9
|
+
<%= append_stylesheet_pack_tag "decidim_conferences" %>
|
10
|
+
|
11
|
+
<%= render partial: "layouts/decidim/header/follow_space_menu_bar_button", locals: { participatory_space: current_participatory_space } %>
|
15
12
|
|
16
|
-
|
17
|
-
|
18
|
-
<div class="wrapper wrapper--inner">
|
19
|
-
<div class="row">
|
20
|
-
<%= yield :expanded %>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
<% end %>
|
13
|
+
<%= render "layouts/decidim/application" do %>
|
14
|
+
<%= yield %>
|
25
15
|
<% end %>
|
26
16
|
|
27
17
|
<% provide :meta_image_url, current_participatory_space.attached_uploader(:banner_image).path %>
|
data/config/assets.rb
CHANGED
@@ -4,6 +4,6 @@ base_path = File.expand_path("..", __dir__)
|
|
4
4
|
|
5
5
|
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
6
6
|
Decidim::Webpacker.register_entrypoints(
|
7
|
+
decidim_conferences: "#{base_path}/app/packs/entrypoints/decidim_conferences.js",
|
7
8
|
decidim_conferences_admin: "#{base_path}/app/packs/entrypoints/decidim_conferences_admin.js"
|
8
9
|
)
|
9
|
-
Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/conferences/conferences")
|
@@ -11,7 +11,7 @@
|
|
11
11
|
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
|
12
12
|
|
13
13
|
WickedPdf.config = {
|
14
|
-
# Path to the wkhtmltopdf executable: This usually
|
14
|
+
# Path to the wkhtmltopdf executable: This usually is not needed if using
|
15
15
|
# one of the wkhtmltopdf-binary family of gems.
|
16
16
|
# exe_path: '/usr/local/bin/wkhtmltopdf',
|
17
17
|
# or
|
data/config/locales/ar.yml
CHANGED
@@ -6,7 +6,6 @@ ar:
|
|
6
6
|
assemblies_ids: الجمعيات ذات الصلة
|
7
7
|
available_slots: المواعيد المتاحة
|
8
8
|
banner_image: صورة بانر
|
9
|
-
consultations_ids: المشاورات ذات الصلة
|
10
9
|
copy_categories: نسخ الفئات
|
11
10
|
copy_components: نسخ المكونات
|
12
11
|
copy_features: نسخ الميزات
|
@@ -63,12 +62,6 @@ ar:
|
|
63
62
|
email: البريد الإلكتروني
|
64
63
|
name: اسم
|
65
64
|
role: وظيفة
|
66
|
-
errors:
|
67
|
-
models:
|
68
|
-
conference_registration_invite:
|
69
|
-
attributes:
|
70
|
-
email:
|
71
|
-
already_invited: تمت دعوة هذا البريد الإلكتروني بالفعل
|
72
65
|
activerecord:
|
73
66
|
models:
|
74
67
|
decidim/conference:
|
@@ -96,7 +89,6 @@ ar:
|
|
96
89
|
admin:
|
97
90
|
actions:
|
98
91
|
confirm: تؤكد
|
99
|
-
new_conference: مؤتمر جديد
|
100
92
|
send_diplomas: إرسال شهادات الحضور
|
101
93
|
conference_copies:
|
102
94
|
new:
|
@@ -157,7 +149,6 @@ ar:
|
|
157
149
|
form:
|
158
150
|
title: معلومات عامة
|
159
151
|
index:
|
160
|
-
not_published: غير منشور
|
161
152
|
published: نشرت
|
162
153
|
new:
|
163
154
|
create: إنشاء
|
@@ -198,7 +189,6 @@ ar:
|
|
198
189
|
conference_invites: تدعو
|
199
190
|
conference_speakers: مكبرات الصوت
|
200
191
|
diploma: شهادة حضور
|
201
|
-
info: معلومات
|
202
192
|
media_links: روابط الوسائط
|
203
193
|
moderations: الإعتدال
|
204
194
|
partners: شركاء
|
@@ -209,7 +199,6 @@ ar:
|
|
209
199
|
conference:
|
210
200
|
fields:
|
211
201
|
created_at: أنشئت في
|
212
|
-
promoted: سلط الضوء
|
213
202
|
published: نشرت
|
214
203
|
title: عنوان
|
215
204
|
conference_speaker:
|
@@ -344,14 +333,14 @@ ar:
|
|
344
333
|
select_user: اختر المشارك
|
345
334
|
index:
|
346
335
|
filter:
|
336
|
+
accepted: وافقت
|
347
337
|
all: الكل
|
338
|
+
rejected: مرفوض
|
348
339
|
sent: أرسلت
|
349
|
-
filter_by: مصنف بواسطة
|
350
340
|
invite_attendee: دعوة مشارك
|
351
341
|
invites: تدعو
|
352
342
|
search: بحث
|
353
343
|
new:
|
354
|
-
explanation: سيدعى المشارك للانضمام إلى مؤتمر. إذا لم يتم تسجيل بريدها الإلكتروني ، فستتم دعوتها إلى المنظمة أيضًا.
|
355
344
|
invite: دعا
|
356
345
|
new_invite: دعوة مشارك
|
357
346
|
conference_registrations:
|
@@ -407,18 +396,11 @@ ar:
|
|
407
396
|
cancel: إلغاء
|
408
397
|
confirm: تؤكد
|
409
398
|
show:
|
410
|
-
free: حر
|
411
399
|
going: حضور
|
412
400
|
no_slots_available: لا فتحات المتاحة
|
413
401
|
registration: التسجيل
|
414
402
|
conference_program:
|
415
|
-
program_meeting:
|
416
|
-
content: المحتوى
|
417
|
-
location: الموقع
|
418
|
-
speakers: مكبرات الصوت
|
419
|
-
streaming: تدفق
|
420
403
|
show:
|
421
|
-
day: يوم
|
422
404
|
program: برنامج
|
423
405
|
conference_registration_mailer:
|
424
406
|
confirmation:
|
@@ -448,18 +430,12 @@ ar:
|
|
448
430
|
conference_speaker_cell:
|
449
431
|
personal_url:
|
450
432
|
personal_website: موقع الويب الشخصي
|
451
|
-
twitter_handle:
|
452
|
-
go_to_twitter: انتقل إلى تويتر
|
453
|
-
conference_speakers:
|
454
|
-
index:
|
455
|
-
speakers: مكبرات الصوت
|
456
433
|
conferences:
|
457
434
|
partners:
|
458
435
|
collaborators: شركاء
|
459
436
|
main_promotors: المنظمون
|
460
437
|
show:
|
461
438
|
login_as: تم تسجيل دخولك كـ %{name} <%{email}>
|
462
|
-
make_conference_registration: 'اجعل تسجيلك في المؤتمر:'
|
463
439
|
register: تسجيل
|
464
440
|
content_blocks:
|
465
441
|
highlighted_conferences:
|
@@ -467,11 +443,6 @@ ar:
|
|
467
443
|
index:
|
468
444
|
title: المؤتمرات
|
469
445
|
mailer:
|
470
|
-
conference_registration_mailer:
|
471
|
-
confirmation:
|
472
|
-
subject: تم تأكيد تسجيل مؤتمرك
|
473
|
-
pending_validation:
|
474
|
-
subject: تسجيل مؤتمرك في انتظار التأكيد
|
475
446
|
invite_join_conference_mailer:
|
476
447
|
invite:
|
477
448
|
subject: دعوة للانضمام إلى مؤتمر
|
@@ -502,37 +473,18 @@ ar:
|
|
502
473
|
pages:
|
503
474
|
home:
|
504
475
|
highlighted_conferences:
|
505
|
-
|
506
|
-
conferences_button_title: رابط إلى صفحة المؤتمرات لعرض جميع المؤتمرات
|
507
|
-
photo:
|
508
|
-
image:
|
509
|
-
attributes:
|
510
|
-
alt: صورة الوسائط
|
511
|
-
show:
|
512
|
-
close_modal: إغلاق مشروط
|
513
|
-
photo: صورة
|
514
|
-
photos_list:
|
515
|
-
show:
|
516
|
-
related_photos: صور
|
476
|
+
active_spaces: المؤتمرات النشطة
|
517
477
|
registration_types:
|
518
478
|
index:
|
519
479
|
choose_an_option: 'اختر خيار التسجيل الخاص بك:'
|
520
|
-
login_as: تم تسجيل دخولك كـ %{name} <%{email}>
|
521
480
|
no_registrations: لا توجد تسجيلات
|
522
481
|
register: تسجيل
|
523
482
|
title: أنواع التسجيل
|
524
|
-
shared:
|
525
|
-
conference_user_login:
|
526
|
-
already_account: هل تمتلك حسابًا مِن قبلُ على ديسيديم؟
|
527
|
-
new_user: مستخدم جديد؟
|
528
|
-
sign_in: تسجيل الدخول للتسجيل في المؤتمر
|
529
|
-
sign_up: إنشاء حساب في decidim للتسجيل في المؤتمر
|
530
483
|
show:
|
531
484
|
details: تفاصيل
|
532
485
|
introduction: المقدمة
|
533
486
|
objectives: الأهداف
|
534
487
|
related_assemblies: الجمعيات ذات الصلة
|
535
|
-
related_consultations: المشاورات ذات الصلة
|
536
488
|
related_participatory_processes: العمليات التشاركية ذات الصلة
|
537
489
|
events:
|
538
490
|
conferences:
|
@@ -571,10 +523,6 @@ ar:
|
|
571
523
|
contextual: "<p>ال<strong>مؤتمر</strong> هو مجموعة من الاجتماعات المرتبة في برنامج ما، مع عدد من الأشخاص المدعوين كمتحدثين، وحقول أدخال نموذجيه للمعلومات الأخرى للمؤتمرات الكبيرة أو المناسبات الاجتماعية (التسجيل، قائمة بالمنظمات التي تدعم الحدث أو ترعاه، إلخ)..</p> <p>أمثلة: يمكن أن يكون المؤتمر حدثا ذا صلة بالنسبة لمنظمة ما وأعضائها، أو يتم في إطار عملية تشاركية أو في أعقاب مشاورات.</p>\n"
|
572
524
|
page: "<p>ال<strong>مؤتمر</strong> هو مجموعة من الاجتماعات المرتبة في برنامج ما، مع عدد من الأشخاص المدعوين كمتحدثين، وحقول أدخال نموذجيه للمعلومات الأخرى للمؤتمرات الكبيرة أو المناسبات الاجتماعية (التسجيل، قائمة بالمنظمات التي تدعم الحدث أو ترعاه، إلخ)..</p> <p>أمثلة: يمكن أن يكون المؤتمر حدثا ذا صلة بالنسبة لمنظمة ما وأعضائها، أو يتم في إطار عملية تشاركية أو في أعقاب مشاورات.</p>\n"
|
573
525
|
title: ما هي المؤتمرات؟
|
574
|
-
log:
|
575
|
-
value_types:
|
576
|
-
conference_presenter:
|
577
|
-
not_found: 'لم يتم العثور على المؤتمر في قاعدة البيانات (المعرف: %{id})'
|
578
526
|
media:
|
579
527
|
index:
|
580
528
|
description: روابط حول هذا المؤتمر
|
@@ -591,9 +539,6 @@ ar:
|
|
591
539
|
decidim:
|
592
540
|
conference_hero:
|
593
541
|
register: تسجيل
|
594
|
-
conference_widgets:
|
595
|
-
show:
|
596
|
-
take_part: خذ جزء
|
597
542
|
conferences:
|
598
543
|
conference:
|
599
544
|
more_info: مزيد من المعلومات
|
@@ -608,11 +553,7 @@ ar:
|
|
608
553
|
few: "%{count} مؤتمرات"
|
609
554
|
many: "%{count} مؤتمرات"
|
610
555
|
other: "%{count} مؤتمرات"
|
611
|
-
promoted_conference:
|
612
|
-
more_info: مزيد من المعلومات
|
613
|
-
take_part: خذ جزء
|
614
556
|
conferences_nav:
|
615
|
-
conference_menu_item: معلومات
|
616
557
|
conference_partners_menu_item: شركاء
|
617
558
|
conference_speaker_menu_item: مكبرات الصوت
|
618
559
|
media: وسائل الإعلام
|
data/config/locales/bg.yml
CHANGED