decidim-templates 0.25.2 → 0.26.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-templates might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a54789aa4eebb379aadd3b430de1695925216b9fe840fbc0d420ee28fb0294a0
|
4
|
+
data.tar.gz: 0bd8d5d3413546ab4dbbe3bea77d1e0da0ef0a59a6f4057ac895bb99197bb52e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a1bc9ddacad72b8674606e57c52100ae1abbeaea1da547ff340aa11861520ff568c9b4a9a0d107dc5ad13c0828bd38f81321db1180a391f9618b4bfb1796ad
|
7
|
+
data.tar.gz: ca0864d6225cc38e225804e4cb55f3bdd9280724230bd11e651a67e1cdede78a7aa74cc831c655ba747722a1ba57c45b9545511b450db117a202e1df672050b3
|
@@ -108,7 +108,7 @@ module Decidim
|
|
108
108
|
ApplyQuestionnaireTemplate.call(questionnaire, template) do
|
109
109
|
on(:ok) do
|
110
110
|
flash[:notice] = I18n.t("templates.apply.success", scope: "decidim.admin")
|
111
|
-
redirect_to params[:url]
|
111
|
+
redirect_to URI.parse(params[:url]).path
|
112
112
|
end
|
113
113
|
on(:invalid) do
|
114
114
|
flash[:error] = I18n.t("templates.apply.error", scope: "decidim.admin")
|
@@ -132,7 +132,7 @@ module Decidim
|
|
132
132
|
# rubocop:disable Rails/SkipsModelValidations
|
133
133
|
questionnaire.touch
|
134
134
|
# rubocop:enable Rails/SkipsModelValidations
|
135
|
-
redirect_to params[:url]
|
135
|
+
redirect_to URI.parse(params[:url]).path
|
136
136
|
end
|
137
137
|
|
138
138
|
private
|
data/config/locales/pt-BR.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
val:
|
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.
|
4
|
+
version: 0.26.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vera Rojman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-24 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.
|
19
|
+
version: 0.26.0.rc1
|
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.
|
26
|
+
version: 0.26.0.rc1
|
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.
|
33
|
+
version: 0.26.0.rc1
|
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.
|
40
|
+
version: 0.26.0.rc1
|
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.
|
47
|
+
version: 0.26.0.rc1
|
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.
|
54
|
+
version: 0.26.0.rc1
|
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.
|
61
|
+
version: 0.26.0.rc1
|
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.
|
68
|
+
version: 0.26.0.rc1
|
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:
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- config/locales/ti-ER.yml
|
162
162
|
- config/locales/tr-TR.yml
|
163
163
|
- config/locales/uk.yml
|
164
|
+
- config/locales/val-ES.yml
|
164
165
|
- config/locales/vi-VN.yml
|
165
166
|
- config/locales/vi.yml
|
166
167
|
- config/locales/zh-CN.yml
|
@@ -190,11 +191,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
191
|
version: '2.7'
|
191
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
193
|
requirements:
|
193
|
-
- - "
|
194
|
+
- - ">"
|
194
195
|
- !ruby/object:Gem::Version
|
195
|
-
version:
|
196
|
+
version: 1.3.1
|
196
197
|
requirements: []
|
197
|
-
rubygems_version: 3.1.
|
198
|
+
rubygems_version: 3.1.6
|
198
199
|
signing_key:
|
199
200
|
specification_version: 4
|
200
201
|
summary: A decidim templates module
|