decidim-initiatives 0.28.1 → 0.28.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/decidim/initiatives/initiative_helper.rb +2 -2
- data/app/views/decidim/initiatives/create_initiative/select_initiative_type.html.erb +2 -2
- data/app/views/decidim/initiatives/initiatives/show.html.erb +21 -9
- data/config/locales/ar.yml +0 -1
- data/config/locales/bg.yml +584 -0
- data/config/locales/ca.yml +0 -2
- data/config/locales/cs.yml +0 -2
- data/config/locales/de.yml +0 -2
- data/config/locales/el.yml +0 -2
- data/config/locales/en.yml +0 -2
- data/config/locales/es-MX.yml +1 -3
- data/config/locales/es-PY.yml +1 -3
- data/config/locales/es.yml +2 -4
- data/config/locales/eu.yml +0 -2
- data/config/locales/fi-plain.yml +0 -2
- data/config/locales/fi.yml +0 -2
- data/config/locales/fr-CA.yml +0 -2
- data/config/locales/fr.yml +0 -2
- data/config/locales/ga-IE.yml +0 -2
- data/config/locales/gl.yml +0 -1
- data/config/locales/hu.yml +0 -2
- data/config/locales/id-ID.yml +0 -1
- data/config/locales/is-IS.yml +0 -3
- data/config/locales/it.yml +0 -2
- data/config/locales/ja.yml +6 -8
- data/config/locales/lb.yml +0 -2
- data/config/locales/lt.yml +0 -2
- data/config/locales/lv.yml +0 -2
- data/config/locales/nl.yml +0 -2
- data/config/locales/no.yml +0 -2
- data/config/locales/pl.yml +56 -2
- data/config/locales/pt-BR.yml +0 -2
- data/config/locales/pt.yml +0 -2
- data/config/locales/ro-RO.yml +0 -2
- data/config/locales/ru.yml +0 -2
- data/config/locales/sk.yml +0 -2
- data/config/locales/sl.yml +0 -2
- data/config/locales/sr-CS.yml +0 -5
- data/config/locales/sv.yml +0 -2
- data/config/locales/tr-TR.yml +0 -1
- data/config/locales/uk.yml +0 -2
- data/config/locales/zh-CN.yml +0 -1
- data/config/locales/zh-TW.yml +0 -2
- data/lib/decidim/initiatives/version.rb +1 -1
- metadata +18 -19
- data/app/views/decidim/initiatives/initiatives/_send_to_technical_validation.html.erb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee9402e2ccd3d11cecca9129ce2f63a68547640abb7699b2e98f23bc47a7b44b
|
4
|
+
data.tar.gz: 841ab41667a8e6391c9dc779028408d38a3bf0dcace1bf31b5bb1999d1b04c00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb1bc518c0f6be5a2a1f2a1063c726a4f46d5f502ad6a1f6a420140de228db5b367bd1d0e9c61585c90c8acef7594e6d98ae54a4ea634e7af54d2a839e5b455a
|
7
|
+
data.tar.gz: 682efa73c8d37f54e0b2959a4cfff03b542e984cd8cfb2a57c53938e7b524bd302d81982a21e8272f9d9c754824a66fb93bc9c4f6fca9ec9c50d538b4ab6585c
|
@@ -115,7 +115,7 @@ module Decidim
|
|
115
115
|
|
116
116
|
html_options["onclick"] = "event.preventDefault();"
|
117
117
|
|
118
|
-
send("#{tag}_to", "", html_options, &)
|
118
|
+
send("#{tag}_to", "/", html_options, &)
|
119
119
|
end
|
120
120
|
|
121
121
|
def authorized_vote_modal_button(initiative, html_options, &)
|
@@ -133,7 +133,7 @@ module Decidim
|
|
133
133
|
|
134
134
|
html_options["onclick"] = "event.preventDefault();"
|
135
135
|
|
136
|
-
send("#{tag}_to", "", html_options, &)
|
136
|
+
send("#{tag}_to", "/", html_options, &)
|
137
137
|
end
|
138
138
|
|
139
139
|
def can_edit_custom_signature_end_date?(initiative)
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<%= icon "lightbulb-flash-line", class: "verification__icon " %>
|
17
17
|
<div class="initiatives__selection__text">
|
18
18
|
<h2 class="h5 text-secondary"><%= translated_attribute(type.title) %></h2>
|
19
|
-
<span><%=
|
19
|
+
<span><%= decidim_sanitize_admin(translated_attribute(type.description)) %></span>
|
20
20
|
</div>
|
21
21
|
<%= icon "arrow-right-s-line", class: "fill-secondary initiatives__selection__icon" %>
|
22
22
|
</button>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<%= icon "lightbulb-flash-line", class: "verification__icon " %>
|
27
27
|
<div class="initiatives__selection__text">
|
28
28
|
<h2 class="h5 text-secondary"><%= translated_attribute(type.title) %></h2>
|
29
|
-
<span><%=
|
29
|
+
<span><%= decidim_sanitize_admin(translated_attribute(type.description)) %></span>
|
30
30
|
<%= authorized_create_modal_button(type, remote: true, class: "button button__sm button__secondary") do %>
|
31
31
|
<%= t("verification_required", scope: "decidim.initiatives.create_initiative.select_initiative_type") %>
|
32
32
|
<% end %>
|
@@ -23,17 +23,29 @@ edit_link(
|
|
23
23
|
</section>
|
24
24
|
<% end %>
|
25
25
|
<% else %>
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
<% if allowed_to?(:edit, :initiative, initiative: current_initiative) || allowed_to?(:send_to_technical_validation, :initiative, initiative: current_initiative) %>
|
27
|
+
<section class="layout-aside__section layout-aside__buttons">
|
28
|
+
<% if allowed_to? :edit, :initiative, initiative: current_initiative %>
|
29
|
+
<%= link_to t(".edit"),
|
30
|
+
edit_initiative_path(current_initiative),
|
31
|
+
class: "button button__xl w-full button__secondary" %>
|
32
|
+
<% end %>
|
33
|
+
|
34
|
+
<% if allowed_to? :send_to_technical_validation, :initiative, initiative: current_initiative %>
|
35
|
+
<%= link_to t(".send_to_technical_validation"),
|
36
|
+
send_to_technical_validation_initiative_path(current_initiative),
|
37
|
+
class: "button button__xl w-full button__secondary mt-4",
|
38
|
+
data: { confirm: t(".confirm") } %>
|
39
|
+
<% end %>
|
40
|
+
</section>
|
41
|
+
<% end %>
|
32
42
|
<% end %>
|
33
43
|
|
34
|
-
|
35
|
-
|
36
|
-
|
44
|
+
<% unless current_initiative.validating? %>
|
45
|
+
<section class="layout-aside__section">
|
46
|
+
<%= render partial: "progress_bar" %>
|
47
|
+
</section>
|
48
|
+
<% end %>
|
37
49
|
|
38
50
|
<section class="layout-aside__section">
|
39
51
|
<%= cell("decidim/nav_links", initiative_nav_items(current_initiative)) %>
|