decidim-templates 0.27.4 → 0.27.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb +0 -2
- data/app/packs/src/decidim/templates/admin/choose_template.js +4 -10
- data/config/environment.rb +3 -0
- data/config/locales/eu.yml +6 -6
- data/config/locales/lt.yml +1 -0
- data/config/locales/pt-BR.yml +3 -0
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/th-TH.yml +1 -0
- data/lib/decidim/templates/admin_engine.rb +1 -7
- data/lib/decidim/templates/version.rb +1 -1
- metadata +13 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a131675a154bc0c2c3cf08fe9d9cdf28fb02132f34cdaba1b6ce0ef47e1ff37c
|
4
|
+
data.tar.gz: 2ccd0a9847c8063b2d7398a4690f8fa305cbf34356b478022982454f46b48f42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 639d9fcf558a3e1ee39603b0737a9e47f30c34b17325ce326f9758ad89fb3d5a9b9aea4f20c3986edf36119f29aa4e54d520b67e4484369007bf3ba4251bb66b
|
7
|
+
data.tar.gz: 0bbfd398a2c05b1c2b01bb7895f1a9801a21f7860aae3a47af9da3f6fcbf483cc0c50533cd8fc5b36af9818b85e60b5ae3562211a0436b7e8d28438a7eb6ce91
|
@@ -13,16 +13,10 @@ $(() => {
|
|
13
13
|
return;
|
14
14
|
}
|
15
15
|
const params = new URLSearchParams({ id: id });
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
const script = document.createElement("script");
|
21
|
-
script.type = "text/javascript";
|
22
|
-
script.innerHTML = data;
|
23
|
-
document.getElementsByTagName("head")[0].appendChild(script);
|
24
|
-
}).catch((error) => {
|
25
|
-
console.error(error); // eslint-disable-line no-console
|
16
|
+
Rails.ajax({
|
17
|
+
url: `${previewURL}?${params.toString()}`,
|
18
|
+
type: "GET",
|
19
|
+
error: (data) => (console.error(data))
|
26
20
|
});
|
27
21
|
}
|
28
22
|
|
data/config/environment.rb
CHANGED
data/config/locales/eu.yml
CHANGED
@@ -25,7 +25,7 @@ eu:
|
|
25
25
|
success: Txantiloia zuzen ezabatu da
|
26
26
|
empty: Oraindik ez dago txantiloirik.
|
27
27
|
update:
|
28
|
-
error: Arazo bat
|
28
|
+
error: Arazo bat egon da eztabaida hau eguneratzean.
|
29
29
|
success: Txantiloia zuzen eguneratu da
|
30
30
|
titles:
|
31
31
|
template_types:
|
@@ -56,7 +56,7 @@ eu:
|
|
56
56
|
form:
|
57
57
|
save: Gorde
|
58
58
|
template_title: Txantiloiaren informazioa
|
59
|
-
title: '%{questionnaire_for} galdetegiaren txantiloia'
|
59
|
+
title: '%{questionnaire_for}% galdetegiaren txantiloia'
|
60
60
|
index:
|
61
61
|
confirm_delete: Ziur zaude txantiloi hau ezabatu nahi duzula?
|
62
62
|
title: Galdetegi-txantiloiak
|
@@ -66,9 +66,9 @@ eu:
|
|
66
66
|
tos_agreement: Parte hartzean erabilera-irizpideak eta baldintzak onartzen dituzu
|
67
67
|
admin_log:
|
68
68
|
template:
|
69
|
-
create: "%{user_name} -k%{resource_name} galdetegia eguneratu du"
|
70
|
-
delete: "%{user_name} -k%{resource_name} galdetegia eguneratu du"
|
71
|
-
duplicate: "%{user_name} -k%{resource_name} galdetegia bikoiztu du"
|
72
|
-
update: "%{user_name} -k%{resource_name} galdetegia eguneratu du"
|
69
|
+
create: "%{user_name} -k %{resource_name} galdetegia eguneratu du"
|
70
|
+
delete: "%{user_name} -k %{resource_name} galdetegia eguneratu du"
|
71
|
+
duplicate: "%{user_name} -k %{resource_name} galdetegia bikoiztu du"
|
72
|
+
update: "%{user_name} -k %{resource_name} galdetegia eguneratu du"
|
73
73
|
template_types:
|
74
74
|
questionnaires: Galdetegiak
|
data/config/locales/lt.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
@@ -63,5 +63,8 @@ pt-BR:
|
|
63
63
|
current_step: Passo %{step}
|
64
64
|
of_total_steps: de %{total_steps}
|
65
65
|
tos_agreement: Ao participar você aceita os Termos de Serviço
|
66
|
+
admin_log:
|
67
|
+
template:
|
68
|
+
update: "%{user_name} atualizou o modelo de questionário %{resource_name}"
|
66
69
|
template_types:
|
67
70
|
questionnaires: Questionários
|
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
@@ -40,13 +40,7 @@ module Decidim
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
initializer "
|
44
|
-
Decidim::Core::Engine.routes do
|
45
|
-
mount Decidim::Templates::AdminEngine, at: "/admin/templates", as: "decidim_admin_templates"
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
initializer "decidim_templates.admin_menu" do
|
43
|
+
initializer "decidim_templates_admin.menu" do
|
50
44
|
Decidim.menu :admin_menu do |menu|
|
51
45
|
menu.add_item :questionnaire_templates,
|
52
46
|
I18n.t("menu.templates", scope: "decidim.admin", default: "Templates"),
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vera Rojman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-core
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.27.
|
19
|
+
version: 0.27.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.27.
|
26
|
+
version: 0.27.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: decidim-forms
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.27.
|
33
|
+
version: 0.27.5
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.27.
|
40
|
+
version: 0.27.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: decidim-admin
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.27.
|
47
|
+
version: 0.27.5
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.27.
|
54
|
+
version: 0.27.5
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: decidim-dev
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.27.
|
61
|
+
version: 0.27.5
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.27.
|
68
|
+
version: 0.27.5
|
69
69
|
description: This module provides a solution to create templates for different Decidim
|
70
70
|
models, such as Proposals and Questionnaires..
|
71
71
|
email:
|
@@ -163,9 +163,11 @@ files:
|
|
163
163
|
- config/locales/sk.yml
|
164
164
|
- config/locales/sl.yml
|
165
165
|
- config/locales/so-SO.yml
|
166
|
+
- config/locales/sq-AL.yml
|
166
167
|
- config/locales/sr-CS.yml
|
167
168
|
- config/locales/sv.yml
|
168
169
|
- config/locales/sw-KE.yml
|
170
|
+
- config/locales/th-TH.yml
|
169
171
|
- config/locales/ti-ER.yml
|
170
172
|
- config/locales/tr-TR.yml
|
171
173
|
- config/locales/uk.yml
|
@@ -203,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
205
|
- !ruby/object:Gem::Version
|
204
206
|
version: '0'
|
205
207
|
requirements: []
|
206
|
-
rubygems_version: 3.
|
208
|
+
rubygems_version: 3.4.22
|
207
209
|
signing_key:
|
208
210
|
specification_version: 4
|
209
211
|
summary: A decidim templates module
|