decidim-meetings 0.28.2 → 0.28.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/meetings/meeting_l_cell.rb +0 -4
- data/app/helpers/decidim/meetings/application_helper.rb +5 -1
- data/app/presenters/decidim/meetings/meeting_presenter.rb +2 -5
- data/app/views/decidim/meetings/admin/registrations/edit.html.erb +3 -1
- data/app/views/decidim/meetings/meetings/_meeting_minutes.html.erb +1 -1
- data/config/locales/cs.yml +1 -0
- data/config/locales/sv.yml +5 -3
- data/lib/decidim/meetings/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0085a8f2f8df80b300246b11a3248dc8b9891e11699a49ec6beb81e65bf2e93
|
4
|
+
data.tar.gz: 4d5b5be680be38f726f4f12a19bba8c0da23feba1e2bb878d68015791770fded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9639caeb5db1426d878a2243a06a8a3e7b999d96cc491aedf76a3b60d45ddbf5362bb4fdc18d46e245d6658e360eac3b6b46e27761fc5555d7008d20ee19c8d
|
7
|
+
data.tar.gz: e84aa50842bb51384579aea8438e00a1872efffd830791601ead617503dbb19592450407447b98b6c146695e285254c247ea03f8cdbe57d821a7f90e67aa13ca
|
@@ -59,7 +59,11 @@ module Decidim
|
|
59
59
|
|
60
60
|
# If the content is safe, HTML tags are sanitized, otherwise, they are stripped.
|
61
61
|
def render_meeting_body(meeting)
|
62
|
-
|
62
|
+
render_meeting_sanitize_field(meeting, :description)
|
63
|
+
end
|
64
|
+
|
65
|
+
def render_meeting_sanitize_field(meeting, field)
|
66
|
+
sanitized = render_sanitized_content(meeting, field)
|
63
67
|
if safe_content?
|
64
68
|
Decidim::ContentProcessor.render_without_format(sanitized).html_safe
|
65
69
|
else
|
@@ -64,13 +64,10 @@ module Decidim
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
-
def closing_report(links: false, all_locales: false)
|
67
|
+
def closing_report(links: false, extras: false, strip_tags: false, all_locales: false)
|
68
68
|
return unless meeting
|
69
69
|
|
70
|
-
|
71
|
-
renderer = Decidim::ContentRenderers::HashtagRenderer.new(sanitized(content))
|
72
|
-
renderer.render(links:).html_safe
|
73
|
-
end
|
70
|
+
content_handle_locale(meeting.closing_report, all_locales, extras, links, strip_tags)
|
74
71
|
end
|
75
72
|
|
76
73
|
def registration_email_custom_content(links: false, all_locales: false)
|
@@ -12,7 +12,9 @@
|
|
12
12
|
<div class="dropdown-pane" id="export-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true">
|
13
13
|
<ul class="vertical menu add-components">
|
14
14
|
<% %w(CSV JSON Excel).each do |format| %>
|
15
|
-
|
15
|
+
<%= link_to export_meeting_registrations_path(meeting_id: meeting, format:) do %>
|
16
|
+
<li class="exports--format--<%= format.downcase %> exports--registrations"><%= t("decidim.admin.exports.export_as", name: t("decidim.#{current_component.manifest.name}.admin.exports.registrations"), export_format: format) %></li>
|
17
|
+
<% end %>
|
16
18
|
<% end %>
|
17
19
|
</ul>
|
18
20
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</div>
|
6
6
|
|
7
7
|
<div class="meeting__agenda-item">
|
8
|
-
<div class="meeting__agenda-item__description editor-content mb-4"><%=
|
8
|
+
<div class="meeting__agenda-item__description editor-content mb-4"><%= render_meeting_sanitize_field(meeting, :closing_report) %></div>
|
9
9
|
|
10
10
|
<% if meeting.video_url.presence %>
|
11
11
|
<div class="flex items-center gap-2 mt-2">
|
data/config/locales/cs.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -83,7 +83,7 @@ sv:
|
|
83
83
|
'false': Tidigare
|
84
84
|
'true': Kommande
|
85
85
|
scope_id_eq:
|
86
|
-
label:
|
86
|
+
label: Indelning
|
87
87
|
with_any_origin:
|
88
88
|
label: Ursprung
|
89
89
|
values:
|
@@ -120,8 +120,8 @@ sv:
|
|
120
120
|
maps_enabled: Karta aktiverad
|
121
121
|
registration_code_enabled: Registreringskod aktiverad
|
122
122
|
resources_permissions_enabled: Åtgärdsbehörigheter kan ställas in för varje möte
|
123
|
-
scope_id:
|
124
|
-
scopes_enabled:
|
123
|
+
scope_id: Indelning
|
124
|
+
scopes_enabled: Aktivera indelningar
|
125
125
|
terms_and_conditions_url_for_meeting_creators: Adress till användarvillkor för mötesförfattare
|
126
126
|
step:
|
127
127
|
announcement: Meddelande
|
@@ -544,6 +544,8 @@ sv:
|
|
544
544
|
private_meeting: Privat möte
|
545
545
|
transparent: Transparent
|
546
546
|
withdraw: Tillbakadragna
|
547
|
+
withdraw:
|
548
|
+
error: Ett fel uppstod när mötet skulle tas bort.
|
547
549
|
metrics:
|
548
550
|
meetings:
|
549
551
|
description: Antal skapade möten
|
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.28.
|
4
|
+
version: 0.28.3
|
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: 2024-
|
13
|
+
date: 2024-09-10 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.28.
|
21
|
+
version: 0.28.3
|
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.
|
28
|
+
version: 0.28.3
|
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.28.
|
35
|
+
version: 0.28.3
|
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.28.
|
42
|
+
version: 0.28.3
|
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.28.
|
63
|
+
version: 0.28.3
|
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.28.
|
70
|
+
version: 0.28.3
|
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.28.
|
77
|
+
version: 0.28.3
|
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.28.
|
84
|
+
version: 0.28.3
|
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.28.
|
91
|
+
version: 0.28.3
|
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.28.
|
98
|
+
version: 0.28.3
|
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.28.
|
105
|
+
version: 0.28.3
|
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.28.
|
112
|
+
version: 0.28.3
|
113
113
|
description: A meetings component for decidim's participatory spaces.
|
114
114
|
email:
|
115
115
|
- josepjaume@gmail.com
|