decidim-conferences 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/decidim/conferences/conference.svg +1 -3
- data/app/cells/decidim/conferences/conference_m/footer.erb +1 -1
- data/app/cells/decidim/conferences/conference_speaker/show.erb +2 -2
- data/app/cells/decidim/conferences/content_blocks/highlighted_conferences/show.erb +9 -10
- data/app/cells/decidim/conferences/media_link/show.erb +2 -2
- data/app/cells/decidim/conferences/partner_cell.rb +1 -1
- data/app/cells/decidim/conferences/photo/show.erb +3 -5
- data/app/cells/decidim/conferences/photo_cell.rb +2 -2
- data/app/cells/decidim/conferences/photos_list/show.erb +1 -1
- data/app/cells/decidim/conferences/registration_type/join_conference.erb +1 -1
- data/app/commands/decidim/conferences/admin/create_conference_admin.rb +2 -1
- data/app/commands/decidim/conferences/admin/notify_role_assigned_to_conference.rb +22 -0
- data/app/commands/decidim/conferences/admin/update_conference_admin.rb +2 -1
- data/app/events/decidim/conferences/conference_role_assigned_event.rb +30 -0
- data/app/jobs/decidim/conferences/admin/send_conference_diploma_job.rb +1 -1
- data/app/presenters/decidim/conferences/conference_stats_presenter.rb +1 -1
- data/app/views/decidim/conferences/_order_by_conferences.html.erb +1 -1
- data/app/views/decidim/conferences/admin/conference_invites/index.html.erb +2 -2
- data/app/views/decidim/conferences/admin/conference_speakers/index.html.erb +2 -2
- data/app/views/decidim/conferences/admin/conferences/index.html.erb +1 -1
- data/app/views/decidim/conferences/conference_program/_program_item.html.erb +6 -4
- data/app/views/decidim/conferences/conference_program/show.html.erb +6 -6
- data/app/views/decidim/conferences/conference_speakers/index.html.erb +1 -1
- data/app/views/decidim/conferences/conferences/_partners.html.erb +1 -1
- data/app/views/decidim/conferences/conferences/_promoted_conference.html.erb +3 -3
- data/app/views/decidim/conferences/conferences/show.html.erb +7 -13
- data/app/views/decidim/conferences/media/index.html.erb +3 -3
- data/app/views/layouts/decidim/_conference_hero.html.erb +4 -8
- data/app/views/layouts/decidim/_conferences_nav.html.erb +2 -2
- data/app/views/layouts/decidim/conference.html.erb +3 -5
- data/config/locales/bg-BG.yml +7 -0
- data/config/locales/ca.yml +8 -0
- data/config/locales/cs.yml +14 -6
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/de.yml +9 -0
- data/config/locales/el.yml +579 -0
- data/config/locales/en.yml +8 -0
- data/config/locales/es-MX.yml +8 -0
- data/config/locales/es-PY.yml +8 -0
- data/config/locales/es.yml +8 -0
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/fi-plain.yml +8 -0
- data/config/locales/fi.yml +12 -4
- data/config/locales/fr-CA.yml +580 -0
- data/config/locales/fr.yml +9 -0
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hu.yml +3 -0
- data/config/locales/it.yml +168 -159
- data/config/locales/ja-JP.yml +575 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lv-LV.yml +584 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/nl.yml +9 -0
- data/config/locales/no.yml +3 -3
- data/config/locales/pl.yml +192 -182
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +238 -229
- data/config/locales/ro-RO.yml +536 -0
- data/config/locales/sk-SK.yml +585 -0
- data/config/locales/sk.yml +585 -0
- data/config/locales/sl.yml +37 -0
- data/config/locales/sr-CS.yml +19 -0
- data/config/locales/sv.yml +22 -13
- data/db/migrate/20200320105913_index_foreign_keys_in_decidim_conferences.rb +7 -0
- data/db/migrate/20200320105914_index_foreign_keys_in_decidim_conferences_conference_invites.rb +7 -0
- data/db/migrate/20200320105915_index_foreign_keys_in_decidim_conferences_conference_registrations.rb +7 -0
- data/db/seeds/city.jpeg +0 -0
- data/db/seeds/city2.jpeg +0 -0
- data/lib/decidim/conferences/participatory_space.rb +6 -1
- data/lib/decidim/conferences/version.rb +1 -1
- metadata +30 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e927274e7911f8f49d468aa0d0102712d9271549757ff974f97b65dee4f12800
|
4
|
+
data.tar.gz: f0a57fd51a3fcec014bd6dbb1ddedf1a646d7bd25a9d726248e1de5f254c9914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fe6c3aea3cd56b87ff3771cb04965d3473f70553fbbef087dcacc7adbe097c3c7fa8501a79b390c29d81ae7781b3b1e3f511e9582ff08cf508d22ff1ac65455
|
7
|
+
data.tar.gz: b3f935e675ed4cc6ab24b81243b4b157ca238f57a0eb7674db1e1e44dcc55aa789f341454cb0278a81acae1aef1476024651aa613d63e8a25e48c0b46c13c64c
|
@@ -1,3 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8">
|
2
|
-
<path d="M2.91-.03a1 1 0 0 0-.13.03 1 1 0 0 0-.78 1v2a1 1 0 1 0 2 0v-2a1 1 0 0 0-1.09-1.03zm-2.56 2.03a.5.5 0 0 0-.34.5v.5c0 1.48 1.09 2.69 2.5 2.94v1.06h-.5c-.55 0-1 .45-1 1h4.01c0-.55-.45-1-1-1h-.5v-1.06c1.41-.24 2.5-1.46 2.5-2.94v-.5a.5.5 0 1 0-1 0v.5c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2v-.5a.5.5 0 0 0-.59-.5.5.5 0 0 0-.06 0z" transform="translate(1)"/>
|
3
|
-
</svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"><path d="M2.91-.03a1 1 0 0 0-.13.03 1 1 0 0 0-.78 1v2a1 1 0 1 0 2 0v-2a1 1 0 0 0-1.09-1.03zm-2.56 2.03a.5.5 0 0 0-.34.5v.5c0 1.48 1.09 2.69 2.5 2.94v1.06h-.5c-.55 0-1 .45-1 1h4.01c0-.55-.45-1-1-1h-.5v-1.06c1.41-.24 2.5-1.46 2.5-2.94v-.5a.5.5 0 1 0-1 0v.5c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2v-.5a.5.5 0 0 0-.59-.5.5.5 0 0 0-.06 0z" transform="translate(1)"/></svg>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="column conference-speaker js-conference">
|
2
2
|
<div class="speaker-img-wrapper">
|
3
3
|
<div class="speaker-img">
|
4
|
-
<%= image_tag avatar.url %>
|
4
|
+
<%= image_tag avatar.url, alt: "speaker-image" %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
<div class="speaker-data">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<div class="column medium-6">
|
27
27
|
<div class="speaker-img-wrapper">
|
28
28
|
<div class="speaker-img">
|
29
|
-
<%= image_tag avatar.url %>
|
29
|
+
<%= image_tag avatar.url, alt: "speaker-image" %>
|
30
30
|
</div>
|
31
31
|
</div>
|
32
32
|
<div class="speaker-data">
|
@@ -6,17 +6,13 @@
|
|
6
6
|
large-up-4 card-grid">
|
7
7
|
<% highlighted_conferences.each do |conference| %>
|
8
8
|
<div class="column">
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
style="background-image:url(<%= conference.hero_image.url %>)"></div>
|
13
|
-
<% end %>
|
9
|
+
<%= link_to decidim_conferences.conference_path(conference), class: "card card--conference card--mini" do %>
|
10
|
+
<div aria-hidden="true" class="card__image-top"
|
11
|
+
style="background-image:url(<%= conference.hero_image.url %>)"></div>
|
14
12
|
<div class="card__content">
|
15
|
-
|
16
|
-
<h4 class="card__title"><%= translated_attribute conference.title %></h4>
|
17
|
-
<% end %>
|
13
|
+
<span class="card__title card__link"><%= translated_attribute conference.title %></span>
|
18
14
|
</div>
|
19
|
-
|
15
|
+
<% end %>
|
20
16
|
</div>
|
21
17
|
<% end %>
|
22
18
|
</div>
|
@@ -25,7 +21,10 @@
|
|
25
21
|
<div class="row" id="see-all-conferences">
|
26
22
|
<div class="columns small-centered small-12
|
27
23
|
smallmedium-8 medium-6 large-4">
|
28
|
-
<%= link_to t("see_all_conferences", scope: i18n_scope),
|
24
|
+
<%= link_to t("see_all_conferences", scope: i18n_scope),
|
25
|
+
decidim_conferences.conferences_path,
|
26
|
+
class: "button expanded hollow button--sc home-section__cta",
|
27
|
+
title: t("conferences_button_title", scope: i18n_scope) %>
|
29
28
|
</div>
|
30
29
|
</div>
|
31
30
|
</section>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<li>
|
2
|
-
<%= icon "external-link" %>
|
2
|
+
<%= icon "external-link", role: "img", "aria-hidden": true %>
|
3
3
|
<div>
|
4
4
|
<%= link_to model.link, target: "_blank" do %>
|
5
5
|
<strong><%= translated_attribute(model.title) %> </strong>
|
6
6
|
<% end %>
|
7
|
-
<div class="text-small"><%= l(model.date, format: :decidim_short_with_month_name_short) %> · <%= model.link %></
|
7
|
+
<div class="text-small"><%= l(model.date, format: :decidim_short_with_month_name_short) %> · <%= model.link %></div>
|
8
8
|
</div>
|
9
9
|
</li>
|
@@ -1,15 +1,13 @@
|
|
1
1
|
<div class="column">
|
2
|
-
<
|
2
|
+
<div class="card" data-open="media-picture-<%= index %>">
|
3
3
|
<div class="picture__content">
|
4
4
|
<%= image_thumb %>
|
5
|
-
|
6
|
-
<strong><%= title %></strong>
|
7
|
-
</h5>
|
5
|
+
<strong class="card__title"><%= title %></strong>
|
8
6
|
<div class="text-small">
|
9
7
|
<%= short_description %>
|
10
8
|
</div>
|
11
9
|
</div>
|
12
|
-
</
|
10
|
+
</div>
|
13
11
|
<div id="media-picture-<%= index %>" class="reveal picture__modal" data-reveal>
|
14
12
|
<div class="reveal__header">
|
15
13
|
<h3 class="reveal__title"><%= t("conferences.photo.show.photo", scope: "decidim") %></h3>
|
@@ -18,11 +18,11 @@ module Decidim
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def image_thumb
|
21
|
-
image_tag model.thumbnail_url
|
21
|
+
image_tag model.thumbnail_url, alt: t("alt", scope: "decidim.conferences.photo.image.attributes")
|
22
22
|
end
|
23
23
|
|
24
24
|
def image_big
|
25
|
-
image_tag model.big_url
|
25
|
+
image_tag model.big_url, alt: t("alt", scope: "decidim.conferences.photo.image.attributes")
|
26
26
|
end
|
27
27
|
|
28
28
|
def title
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div class="section images">
|
2
|
-
<
|
2
|
+
<h3 class="section-heading"><%= t("conferences.photos_list.show.related_photos", scope: "decidim") %></h3>
|
3
3
|
<div class="row small-up-1 smallmedium-up-2 card-grid">
|
4
4
|
<% model.each_with_index do |photo, index| %>
|
5
5
|
<%= cell "decidim/conferences/photo", photo, index: index %>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<% else %>
|
14
14
|
<%= render :registration_confirm %>
|
15
15
|
<% if allowed? %>
|
16
|
-
<%= button_to i18n_join_text, "",
|
16
|
+
<%= button_to i18n_join_text, "#",
|
17
17
|
class: button_classes,
|
18
18
|
disabled: !conference.has_available_slots? || conference.has_registration_for?(current_user),
|
19
19
|
style: "margin-bottom: 0;",
|
@@ -5,7 +5,7 @@ module Decidim
|
|
5
5
|
module Admin
|
6
6
|
# A command with all the business logic when creating a new conference
|
7
7
|
# admin in the system.
|
8
|
-
class CreateConferenceAdmin <
|
8
|
+
class CreateConferenceAdmin < NotifyRoleAssignedToConference
|
9
9
|
# Public: Initializes the command.
|
10
10
|
#
|
11
11
|
# form - A form object with the params.
|
@@ -57,6 +57,7 @@ module Decidim
|
|
57
57
|
conference: @conference
|
58
58
|
)
|
59
59
|
end
|
60
|
+
send_notification user
|
60
61
|
end
|
61
62
|
|
62
63
|
def existing_user
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Conferences
|
5
|
+
module Admin
|
6
|
+
# A command to notify users when a role is assigned for a Conference
|
7
|
+
class NotifyRoleAssignedToConference < Rectify::Command
|
8
|
+
def send_notification(user)
|
9
|
+
Decidim::EventsManager.publish(
|
10
|
+
event: "decidim.events.conferences.role_assigned",
|
11
|
+
event_class: Decidim::Conferences::ConferenceRoleAssignedEvent,
|
12
|
+
resource: form.current_participatory_space,
|
13
|
+
affected_users: [user],
|
14
|
+
extra: {
|
15
|
+
role: form.role
|
16
|
+
}
|
17
|
+
)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -5,7 +5,7 @@ module Decidim
|
|
5
5
|
module Admin
|
6
6
|
# A command with all the business logic when updated a participatory
|
7
7
|
# process admin in the system.
|
8
|
-
class UpdateConferenceAdmin <
|
8
|
+
class UpdateConferenceAdmin < NotifyRoleAssignedToConference
|
9
9
|
# Public: Initializes the command.
|
10
10
|
#
|
11
11
|
# form - A form object with the params.
|
@@ -45,6 +45,7 @@ module Decidim
|
|
45
45
|
{ role: form.role },
|
46
46
|
log_info
|
47
47
|
)
|
48
|
+
send_notification user_role.user
|
48
49
|
end
|
49
50
|
end
|
50
51
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen-string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Conferences
|
5
|
+
class ConferenceRoleAssignedEvent < Decidim::Events::SimpleEvent
|
6
|
+
include Decidim::Events::NotificationEvent
|
7
|
+
include Decidim::Events::AuthorEvent
|
8
|
+
|
9
|
+
def notification_title
|
10
|
+
I18n.t("notification_title", i18n_options).html_safe
|
11
|
+
end
|
12
|
+
|
13
|
+
def i18n_role
|
14
|
+
I18n.t(extra["role"], "decidim.admin.models.conference_user_role.roles", default: extra["role"])
|
15
|
+
end
|
16
|
+
|
17
|
+
def i18n_options
|
18
|
+
{
|
19
|
+
resource_path: resource_path,
|
20
|
+
resource_title: resource_title,
|
21
|
+
resource_url: resource_url,
|
22
|
+
scope: event_name,
|
23
|
+
participatory_space_title: participatory_space_title,
|
24
|
+
participatory_space_url: participatory_space_url,
|
25
|
+
role: i18n_role
|
26
|
+
}
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -11,7 +11,7 @@ module Decidim
|
|
11
11
|
return unless confirmed_registrations.any?
|
12
12
|
|
13
13
|
confirmed_registrations.each do |registration_confirmed|
|
14
|
-
SendConferenceDiplomaMailer.diploma(conference, registration_confirmed.user).
|
14
|
+
SendConferenceDiplomaMailer.diploma(conference, registration_confirmed.user).deliver_later
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
@@ -38,7 +38,7 @@ module Decidim
|
|
38
38
|
|
39
39
|
def render_stats_data(component_manifest, name, data, index)
|
40
40
|
safe_join([
|
41
|
-
index.zero? ? manifest_icon(component_manifest) : " / ".html_safe,
|
41
|
+
index.zero? ? manifest_icon(component_manifest, role: "img", "aria-hidden": true) : " / ".html_safe,
|
42
42
|
content_tag(:span, "#{number_with_delimiter(data)} " + I18n.t(name, scope: "decidim.conferences.statistics"),
|
43
43
|
class: "#{name} process_stats-text")
|
44
44
|
])
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<div class="row collapse order-by">
|
2
|
-
<
|
2
|
+
<h3 class="order-by__text section-heading"><%= t("conferences.order_by_conferences.conferences", scope: "layouts.decidim", count: collection.count) %></h3>
|
3
3
|
</div>
|
@@ -26,8 +26,8 @@
|
|
26
26
|
<%= search_field_tag :q, @query,label: false, class: "input-group-field", placeholder: t(".search") %>
|
27
27
|
<%= hidden_field_tag :state, @state %>
|
28
28
|
<div class="input-group-button">
|
29
|
-
<button type="submit" class="button
|
30
|
-
<%= icon "magnifying-glass", aria_label: t(".search") %>
|
29
|
+
<button type="submit" class="button">
|
30
|
+
<%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
|
31
31
|
</button>
|
32
32
|
</div>
|
33
33
|
</div>
|
@@ -5,8 +5,8 @@
|
|
5
5
|
<div class="input-group">
|
6
6
|
<%= search_field_tag :q, @query,label: false, class: "input-group-field", placeholder: t(".search") %>
|
7
7
|
<div class="input-group-button">
|
8
|
-
<button type="submit" class="button
|
9
|
-
<%= icon "magnifying-glass", aria_label: t(".search") %>
|
8
|
+
<button type="submit" class="button">
|
9
|
+
<%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
|
10
10
|
</button>
|
11
11
|
</div>
|
12
12
|
</div>
|
@@ -23,7 +23,7 @@
|
|
23
23
|
<td>
|
24
24
|
<% if conference.promoted? %>
|
25
25
|
<span data-tooltip class="icon-state icon-highlight" aria-haspopup="true" data-disable-hover="false" title="<%= t("models.conference.fields.promoted", scope: "decidim.admin") %>">
|
26
|
-
<%= icon "star" %>
|
26
|
+
<%= icon "star", aria_label: t("models.conference.fields.promoted", scope: "decidim.admin"), role: "img" %>
|
27
27
|
</span>
|
28
28
|
<% end %>
|
29
29
|
<% if allowed_to? :update, :conference, conference: conference %>
|
@@ -8,10 +8,12 @@
|
|
8
8
|
<ul class="tabs buttons__row" id="conference-row-<%= seed %>-tabs" data-tabs>
|
9
9
|
<% categories.each_with_index do |category, i| %>
|
10
10
|
<li class="tabs-title<%= " is-active" if i == 0 %>">
|
11
|
-
<!-- Wrap
|
12
|
-
<
|
13
|
-
<
|
14
|
-
|
11
|
+
<!-- Wrap the anchor inside a div to keep correct button styling -->
|
12
|
+
<div>
|
13
|
+
<a href="#conference-row-<%= seed %>-tab<%= i %>" class="button button--shadow tiny hollow">
|
14
|
+
<%= category.present? ? translated_attribute(category.name) : "other" %>
|
15
|
+
</a>
|
16
|
+
</div>
|
15
17
|
</li>
|
16
18
|
<% end %>
|
17
19
|
</ul>
|
@@ -12,7 +12,7 @@ end
|
|
12
12
|
<% add_decidim_meta_tags(title: t("conference_program.index.title", scope: "decidim")) %>
|
13
13
|
<div class="section row">
|
14
14
|
<div class="columns mediumlarge-12">
|
15
|
-
<
|
15
|
+
<h3 class="section-heading"><%= t(".program") %></h3>
|
16
16
|
<div class="conference-programme">
|
17
17
|
<div class="row collapse programme-selector">
|
18
18
|
<div class="column medium-2">
|
@@ -28,12 +28,12 @@ end
|
|
28
28
|
data-tabs>
|
29
29
|
<% meeting_days.each_with_index do |day, i| %>
|
30
30
|
<li class="tabs-title <%= "is-active" if i == 0 %>">
|
31
|
-
<!-- Wrap
|
32
|
-
<
|
33
|
-
<
|
31
|
+
<!-- Wrap the anchor inside a div to keep correct button styling -->
|
32
|
+
<div>
|
33
|
+
<a href="#conference-day-tab-<%= i %>" class="button button--nomargin button--sc hollow">
|
34
34
|
<%= l day, format: :decidim_with_day_and_month_name %>
|
35
|
-
</
|
36
|
-
</
|
35
|
+
</a>
|
36
|
+
</div>
|
37
37
|
</li>
|
38
38
|
<% end %>
|
39
39
|
</ul>
|
@@ -11,7 +11,7 @@ edit_link(
|
|
11
11
|
|
12
12
|
<section class="" id="conference_speakers-grid">
|
13
13
|
<div class="row column">
|
14
|
-
<
|
14
|
+
<h3 class="section-heading"><%= t(".speakers") %></h3>
|
15
15
|
<div class="row small-up-2 medium-up-5 mb-l">
|
16
16
|
<%= render(collection) %>
|
17
17
|
</div>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<% conference.partners.group_by(&:partner_type).each do |partner_type, partners| %>
|
4
4
|
<hr class="reset mt-none mb-m">
|
5
5
|
<section class="section">
|
6
|
-
<
|
6
|
+
<h3 class="section-heading"><%= t(".#{partner_type.pluralize}") %></h3>
|
7
7
|
<div class="row small-up-2 medium-up-3 card-grid">
|
8
8
|
<% partners.each do |partner| %>
|
9
9
|
<%= cell "decidim/conferences/partner", partner %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<
|
1
|
+
<div class="card card--full card--process">
|
2
2
|
<div class="row collapse card--process__row">
|
3
3
|
<div class="columns mediumlarge-8 large-6 card--process__column">
|
4
4
|
<div class="card__content">
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<h2 class="card__title"><%= translated_attribute promoted_conference.title %></h2>
|
7
7
|
<% end %>
|
8
8
|
<%= decidim_sanitize html_truncate(translated_attribute(promoted_conference.short_description), length: 630, separator: "...") %>
|
9
|
-
<%= link_to conference_path(promoted_conference), class: "button
|
9
|
+
<%= link_to conference_path(promoted_conference), class: "button small hollow card__button" do %>
|
10
10
|
<%= t("conferences.promoted_conference.more_info", scope: "layouts.decidim") %>
|
11
11
|
<% end %>
|
12
12
|
</div>
|
@@ -24,4 +24,4 @@
|
|
24
24
|
</div>
|
25
25
|
</div>
|
26
26
|
</div>
|
27
|
-
</
|
27
|
+
</div>
|
@@ -19,28 +19,24 @@ edit_link(
|
|
19
19
|
<div class="row">
|
20
20
|
<div class="columns mediumlarge-12">
|
21
21
|
<section class="section">
|
22
|
-
<
|
22
|
+
<h3 class="section-heading"><%= t("conferences.show.introduction", scope: "decidim") %></h3>
|
23
23
|
<%= decidim_sanitize translated_attribute(current_participatory_space.short_description) %>
|
24
24
|
</section>
|
25
25
|
<hr class="reset mt-none mb-m">
|
26
26
|
<section class="section">
|
27
|
-
<
|
27
|
+
<h3 class="section-heading"><%= t("conferences.show.details", scope: "decidim") %></h3>
|
28
28
|
<%= decidim_sanitize translated_attribute(current_participatory_space.description) %>
|
29
29
|
<div class="row mt-l mb-l">
|
30
30
|
<div class="column medium-9 medium-centered">
|
31
31
|
<% if current_participatory_space.registrations_enabled? %>
|
32
32
|
<div class="column medium-6">
|
33
|
-
<%= link_to decidim_conferences.conference_registration_types_path(current_participatory_space)
|
34
|
-
<button type="button" class="button button--sc light expanded"><%= t(".register") %></button>
|
35
|
-
<% end %>
|
33
|
+
<%= link_to t(".register"), decidim_conferences.conference_registration_types_path(current_participatory_space), class:"button button--sc light expanded" %>
|
36
34
|
</div>
|
37
35
|
<% end %>
|
38
36
|
<% current_participatory_space.components.where(manifest_name: "meetings").each do |component_meeting| %>
|
39
37
|
<% if component_meeting.published? || component_meeting == self.try(:current_component) %>
|
40
38
|
<div class="column medium-6 end">
|
41
|
-
<%= link_to decidim_conferences.conference_conference_program_path(current_participatory_space, id: component_meeting.id)
|
42
|
-
<button type="button" class="button button--sc secondary light expanded"><%= translated_attribute(component_meeting.name) %></button>
|
43
|
-
<% end %>
|
39
|
+
<%= link_to translated_attribute(component_meeting.name), decidim_conferences.conference_conference_program_path(current_participatory_space, id: component_meeting.id), class:"button button--sc secondary light expanded" %>
|
44
40
|
</div>
|
45
41
|
<% end %>
|
46
42
|
<% end %>
|
@@ -55,15 +51,13 @@ edit_link(
|
|
55
51
|
<% if current_participatory_space.registrations_enabled? %>
|
56
52
|
<hr class="reset mt-none mb-m">
|
57
53
|
<section class="section">
|
58
|
-
<
|
54
|
+
<h3 class="section-heading"><%= t(".register") %></h3>
|
59
55
|
<% if current_user.present? %>
|
60
56
|
<div class="card p-m text-center">
|
61
57
|
<p><%= t(".login_as", name: current_user.name, email: current_user.email ) %></p>
|
62
58
|
<p><%= t(".make_conference_registration") %></p>
|
63
59
|
<div class="medium-3" style="margin: 0 auto;">
|
64
|
-
<%= link_to decidim_conferences.conference_registration_types_path(current_participatory_space)
|
65
|
-
<button type="button" class="button button--sc light expanded"><%= t(".register") %></button>
|
66
|
-
<% end %>
|
60
|
+
<%= link_to t(".register"), decidim_conferences.conference_registration_types_path(current_participatory_space), class:"button button--sc light expanded" %>
|
67
61
|
</div>
|
68
62
|
</div>
|
69
63
|
<% else %>
|
@@ -76,7 +70,7 @@ edit_link(
|
|
76
70
|
|
77
71
|
<% unless translated_attribute(current_participatory_space.objectives).blank? %>
|
78
72
|
<section class="section">
|
79
|
-
<
|
73
|
+
<h3 class="section-heading"><%= t("conferences.show.objectives", scope: "decidim") %></h3>
|
80
74
|
<%= decidim_sanitize translated_attribute(current_participatory_space.objectives) %>
|
81
75
|
</section>
|
82
76
|
<% end %>
|