decidim-templates 0.23.0
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 +7 -0
- data/LICENSE-AGPLv3.txt +661 -0
- data/README.md +31 -0
- data/Rakefile +9 -0
- data/app/assets/config/decidim_templates_manifest.css +3 -0
- data/app/assets/config/decidim_templates_manifest.js +0 -0
- data/app/assets/images/decidim/templates/icon.svg +1 -0
- data/app/assets/stylesheets/decidim/templates/templates.scss +14 -0
- data/app/commands/decidim/templates/admin/apply_questionnaire_template.rb +74 -0
- data/app/commands/decidim/templates/admin/copy_questionnaire_template.rb +79 -0
- data/app/commands/decidim/templates/admin/create_questionnaire_template.rb +34 -0
- data/app/commands/decidim/templates/admin/destroy_template.rb +41 -0
- data/app/commands/decidim/templates/admin/update_template.rb +35 -0
- data/app/controllers/decidim/templates/admin/application_controller.rb +34 -0
- data/app/controllers/decidim/templates/admin/concerns/templatable.rb +46 -0
- data/app/controllers/decidim/templates/admin/questionnaire_templates/questionnaires_controller.rb +38 -0
- data/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb +156 -0
- data/app/controllers/decidim/templates/application_controller.rb +13 -0
- data/app/forms/decidim/templates/admin/template_form.rb +17 -0
- data/app/helpers/decidim/templates/admin/templates_helper.rb +32 -0
- data/app/helpers/decidim/templates/application_helper.rb +10 -0
- data/app/models/concerns/decidim/templates/templatable.rb +24 -0
- data/app/models/decidim/templates/application_record.rb +10 -0
- data/app/models/decidim/templates/template.rb +33 -0
- data/app/permissions/decidim/templates/admin/permissions.rb +26 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/_choose.html.erb +35 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/_form.html.erb +16 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/_preview.html.erb +73 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb +20 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/index.html.erb +52 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/new.html.erb +7 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/preview.js.erb +11 -0
- data/app/views/layouts/decidim/admin/templates.html.erb +21 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +1 -0
- data/config/locales/bg.yml +1 -0
- data/config/locales/ca.yml +60 -0
- data/config/locales/cs.yml +60 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +54 -0
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +61 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +60 -0
- data/config/locales/es-PY.yml +60 -0
- data/config/locales/es.yml +60 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +1 -0
- data/config/locales/fi-plain.yml +60 -0
- data/config/locales/fi.yml +60 -0
- data/config/locales/fr-CA.yml +60 -0
- data/config/locales/fr.yml +60 -0
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -0
- data/config/locales/id-ID.yml +1 -0
- data/config/locales/is-IS.yml +1 -0
- data/config/locales/it.yml +60 -0
- data/config/locales/ja.yml +60 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/lv.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +60 -0
- data/config/locales/no.yml +5 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt-BR.yml +1 -0
- data/config/locales/pt.yml +1 -0
- data/config/locales/ro-RO.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/config/locales/sk.yml +1 -0
- data/config/locales/sl.yml +1 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +1 -0
- data/config/locales/sv.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +1 -0
- data/config/locales/uk.yml +1 -0
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +60 -0
- data/config/locales/zh-TW.yml +1 -0
- data/lib/decidim/templates.rb +12 -0
- data/lib/decidim/templates/admin.rb +10 -0
- data/lib/decidim/templates/admin_engine.rb +54 -0
- data/lib/decidim/templates/engine.rb +23 -0
- data/lib/decidim/templates/test/factories.rb +27 -0
- data/lib/decidim/templates/test/shared_examples/uses_questionnaire_templates.rb +108 -0
- data/lib/decidim/templates/version.rb +10 -0
- metadata +191 -0
metadata
ADDED
@@ -0,0 +1,191 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: decidim-templates
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.23.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vera Rojman
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-11-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: decidim-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.23.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.23.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: decidim-forms
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.23.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.23.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: decidim-admin
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.23.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.23.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: decidim-dev
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.23.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.23.0
|
69
|
+
description: This module provides a solution to create templates for different Decidim
|
70
|
+
models, such as Proposals and Questionnaires..
|
71
|
+
email:
|
72
|
+
- vrojman@protonmail.com
|
73
|
+
executables: []
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- LICENSE-AGPLv3.txt
|
78
|
+
- README.md
|
79
|
+
- Rakefile
|
80
|
+
- app/assets/config/decidim_templates_manifest.css
|
81
|
+
- app/assets/config/decidim_templates_manifest.js
|
82
|
+
- app/assets/images/decidim/templates/icon.svg
|
83
|
+
- app/assets/stylesheets/decidim/templates/templates.scss
|
84
|
+
- app/commands/decidim/templates/admin/apply_questionnaire_template.rb
|
85
|
+
- app/commands/decidim/templates/admin/copy_questionnaire_template.rb
|
86
|
+
- app/commands/decidim/templates/admin/create_questionnaire_template.rb
|
87
|
+
- app/commands/decidim/templates/admin/destroy_template.rb
|
88
|
+
- app/commands/decidim/templates/admin/update_template.rb
|
89
|
+
- app/controllers/decidim/templates/admin/application_controller.rb
|
90
|
+
- app/controllers/decidim/templates/admin/concerns/templatable.rb
|
91
|
+
- app/controllers/decidim/templates/admin/questionnaire_templates/questionnaires_controller.rb
|
92
|
+
- app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb
|
93
|
+
- app/controllers/decidim/templates/application_controller.rb
|
94
|
+
- app/forms/decidim/templates/admin/template_form.rb
|
95
|
+
- app/helpers/decidim/templates/admin/templates_helper.rb
|
96
|
+
- app/helpers/decidim/templates/application_helper.rb
|
97
|
+
- app/models/concerns/decidim/templates/templatable.rb
|
98
|
+
- app/models/decidim/templates/application_record.rb
|
99
|
+
- app/models/decidim/templates/template.rb
|
100
|
+
- app/permissions/decidim/templates/admin/permissions.rb
|
101
|
+
- app/views/decidim/templates/admin/questionnaire_templates/_choose.html.erb
|
102
|
+
- app/views/decidim/templates/admin/questionnaire_templates/_form.html.erb
|
103
|
+
- app/views/decidim/templates/admin/questionnaire_templates/_preview.html.erb
|
104
|
+
- app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb
|
105
|
+
- app/views/decidim/templates/admin/questionnaire_templates/index.html.erb
|
106
|
+
- app/views/decidim/templates/admin/questionnaire_templates/new.html.erb
|
107
|
+
- app/views/decidim/templates/admin/questionnaire_templates/preview.js.erb
|
108
|
+
- app/views/layouts/decidim/admin/templates.html.erb
|
109
|
+
- config/locales/am-ET.yml
|
110
|
+
- config/locales/ar.yml
|
111
|
+
- config/locales/bg.yml
|
112
|
+
- config/locales/ca.yml
|
113
|
+
- config/locales/cs.yml
|
114
|
+
- config/locales/da.yml
|
115
|
+
- config/locales/de.yml
|
116
|
+
- config/locales/el.yml
|
117
|
+
- config/locales/en.yml
|
118
|
+
- config/locales/eo.yml
|
119
|
+
- config/locales/es-MX.yml
|
120
|
+
- config/locales/es-PY.yml
|
121
|
+
- config/locales/es.yml
|
122
|
+
- config/locales/et.yml
|
123
|
+
- config/locales/eu.yml
|
124
|
+
- config/locales/fi-plain.yml
|
125
|
+
- config/locales/fi.yml
|
126
|
+
- config/locales/fr-CA.yml
|
127
|
+
- config/locales/fr.yml
|
128
|
+
- config/locales/ga-IE.yml
|
129
|
+
- config/locales/gl.yml
|
130
|
+
- config/locales/hr.yml
|
131
|
+
- config/locales/hu.yml
|
132
|
+
- config/locales/id-ID.yml
|
133
|
+
- config/locales/is-IS.yml
|
134
|
+
- config/locales/it.yml
|
135
|
+
- config/locales/ja.yml
|
136
|
+
- config/locales/ko-KR.yml
|
137
|
+
- config/locales/ko.yml
|
138
|
+
- config/locales/lt.yml
|
139
|
+
- config/locales/lv.yml
|
140
|
+
- config/locales/mt.yml
|
141
|
+
- config/locales/nl.yml
|
142
|
+
- config/locales/no.yml
|
143
|
+
- config/locales/om-ET.yml
|
144
|
+
- config/locales/pl.yml
|
145
|
+
- config/locales/pt-BR.yml
|
146
|
+
- config/locales/pt.yml
|
147
|
+
- config/locales/ro-RO.yml
|
148
|
+
- config/locales/ru.yml
|
149
|
+
- config/locales/sk.yml
|
150
|
+
- config/locales/sl.yml
|
151
|
+
- config/locales/so-SO.yml
|
152
|
+
- config/locales/sr-CS.yml
|
153
|
+
- config/locales/sv.yml
|
154
|
+
- config/locales/ti-ER.yml
|
155
|
+
- config/locales/tr-TR.yml
|
156
|
+
- config/locales/uk.yml
|
157
|
+
- config/locales/vi-VN.yml
|
158
|
+
- config/locales/vi.yml
|
159
|
+
- config/locales/zh-CN.yml
|
160
|
+
- config/locales/zh-TW.yml
|
161
|
+
- lib/decidim/templates.rb
|
162
|
+
- lib/decidim/templates/admin.rb
|
163
|
+
- lib/decidim/templates/admin_engine.rb
|
164
|
+
- lib/decidim/templates/engine.rb
|
165
|
+
- lib/decidim/templates/test/factories.rb
|
166
|
+
- lib/decidim/templates/test/shared_examples/uses_questionnaire_templates.rb
|
167
|
+
- lib/decidim/templates/version.rb
|
168
|
+
homepage: https://github.com/decidim/decidim-module-templates
|
169
|
+
licenses:
|
170
|
+
- AGPL-3.0
|
171
|
+
metadata: {}
|
172
|
+
post_install_message:
|
173
|
+
rdoc_options: []
|
174
|
+
require_paths:
|
175
|
+
- lib
|
176
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '2.6'
|
181
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
requirements: []
|
187
|
+
rubygems_version: 3.0.3
|
188
|
+
signing_key:
|
189
|
+
specification_version: 4
|
190
|
+
summary: A decidim templates module
|
191
|
+
test_files: []
|