decidim-templates 0.26.10 → 0.27.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 +4 -4
- data/app/commands/decidim/templates/admin/apply_questionnaire_template.rb +1 -1
- data/app/commands/decidim/templates/admin/copy_questionnaire_template.rb +8 -5
- data/app/commands/decidim/templates/admin/create_questionnaire_template.rb +1 -1
- data/app/commands/decidim/templates/admin/destroy_template.rb +1 -1
- data/app/commands/decidim/templates/admin/questionnaire_copier.rb +2 -1
- data/app/commands/decidim/templates/admin/update_template.rb +1 -1
- data/app/controllers/decidim/templates/admin/questionnaire_templates/questionnaires_controller.rb +1 -1
- data/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb +4 -2
- data/app/models/decidim/templates/template.rb +6 -0
- data/app/packs/entrypoints/decidim_templates.js +1 -0
- data/app/packs/src/decidim/templates/admin/choose_template.js +30 -0
- data/app/permissions/decidim/templates/admin/permissions.rb +1 -1
- data/app/presenters/decidim/templates/admin_log/template_presenter.rb +36 -0
- data/app/views/decidim/templates/admin/questionnaire_templates/_choose.html.erb +13 -3
- data/app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb +0 -1
- data/app/views/decidim/templates/admin/questionnaire_templates/index.html.erb +0 -1
- data/app/views/decidim/templates/admin/questionnaire_templates/new.html.erb +0 -1
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +1 -26
- data/config/locales/bg.yml +1 -0
- data/config/locales/ca.yml +7 -0
- data/config/locales/cs.yml +7 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +1 -7
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +7 -1
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +7 -0
- data/config/locales/es-PY.yml +7 -0
- data/config/locales/es.yml +7 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +3 -2
- data/config/locales/fi-plain.yml +7 -0
- data/config/locales/fi.yml +7 -0
- data/config/locales/fr-CA.yml +2 -1
- data/config/locales/fr.yml +2 -1
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +2 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -65
- data/config/locales/id-ID.yml +1 -0
- data/config/locales/is-IS.yml +2 -1
- data/config/locales/it.yml +2 -0
- data/config/locales/ja.yml +8 -1
- data/config/locales/ko.yml +1 -0
- data/config/locales/lb.yml +1 -0
- data/config/locales/lt.yml +1 -66
- data/config/locales/lv.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +2 -0
- data/config/locales/no.yml +2 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +2 -0
- data/config/locales/pt-BR.yml +3 -1
- data/config/locales/pt.yml +2 -0
- data/config/locales/ro-RO.yml +6 -5
- data/config/locales/ru.yml +1 -0
- data/config/locales/si-LK.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 -1
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +2 -0
- data/config/locales/uk.yml +1 -0
- data/config/locales/val-ES.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +2 -0
- data/config/locales/zh-TW.yml +1 -66
- data/db/seeds.rb +1 -1
- data/lib/decidim/templates/admin_engine.rb +8 -3
- data/lib/decidim/templates/test/shared_examples/uses_questionnaire_templates.rb +9 -8
- data/lib/decidim/templates/version.rb +1 -1
- metadata +16 -24
- data/app/helpers/decidim/templates/admin/templates_helper.rb +0 -32
- data/config/environment.rb +0 -3
- data/config/locales/fa-IR.yml +0 -1
- data/config/locales/gn-PY.yml +0 -1
- data/config/locales/ka-GE.yml +0 -1
- data/config/locales/kaa.yml +0 -7
- data/config/locales/lo-LA.yml +0 -1
- data/config/locales/oc-FR.yml +0 -1
- data/config/locales/sq-AL.yml +0 -1
- data/config/locales/th-TH.yml +0 -1
data/config/locales/is-IS.yml
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
is:
|
data/config/locales/it.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
it:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -24,6 +25,7 @@ it:
|
|
24
25
|
success: Modello eliminato con successo
|
25
26
|
empty: Non ci sono ancora modelli.
|
26
27
|
update:
|
28
|
+
error: Si è verificato un errore durante l'aggiornamento di questo modello.
|
27
29
|
success: Modello aggiornato con successo
|
28
30
|
titles:
|
29
31
|
template_types:
|
data/config/locales/ja.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
ja:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -24,7 +25,7 @@ ja:
|
|
24
25
|
success: テンプレートが正常に削除されました
|
25
26
|
empty: テンプレートはまだありません。
|
26
27
|
update:
|
27
|
-
error:
|
28
|
+
error: テンプレートのアップデート中に問題が発生しました。
|
28
29
|
success: テンプレートが正常に更新されました
|
29
30
|
titles:
|
30
31
|
template_types:
|
@@ -63,5 +64,11 @@ ja:
|
|
63
64
|
current_step: ステップ %{step}
|
64
65
|
of_total_steps: / %{total_steps}
|
65
66
|
tos_agreement: 参加することにより、利用規約に同意します。
|
67
|
+
admin_log:
|
68
|
+
template:
|
69
|
+
create: "%{user_name} が %{resource_name} アンケートテンプレートを作成しました"
|
70
|
+
delete: "%{user_name} が %{resource_name} アンケートテンプレートを削除しました"
|
71
|
+
duplicate: "%{user_name} が %{resource_name} アンケートテンプレートを複製しました"
|
72
|
+
update: "%{user_name} が %{resource_name} アンケートテンプレートを更新しました"
|
66
73
|
template_types:
|
67
74
|
questionnaires: アンケート
|
data/config/locales/ko.yml
CHANGED
data/config/locales/lb.yml
CHANGED
data/config/locales/lt.yml
CHANGED
@@ -1,67 +1,2 @@
|
|
1
|
+
---
|
1
2
|
lt:
|
2
|
-
activemodel:
|
3
|
-
attributes:
|
4
|
-
questionnaire:
|
5
|
-
title: Pavadinimas
|
6
|
-
template:
|
7
|
-
description: Aprašymas
|
8
|
-
name: Pavadinimas
|
9
|
-
decidim:
|
10
|
-
admin:
|
11
|
-
menu:
|
12
|
-
templates: Šablonai
|
13
|
-
templates:
|
14
|
-
apply:
|
15
|
-
error: Pritaikant šį šabloną iškilo problema.
|
16
|
-
success: Šablonas sėkmingai pritaikytas
|
17
|
-
copy:
|
18
|
-
error: Kopijuojant šį šabloną iškilo problema.
|
19
|
-
success: Šablonas pritaikytas nukopijuotas
|
20
|
-
create:
|
21
|
-
error: Kuriant šį šabloną iškilo problema.
|
22
|
-
success: Šablonas sukurtas sėkmingai
|
23
|
-
destroy:
|
24
|
-
success: Šablonas ištrintas sėkmingai
|
25
|
-
empty: Dar nėra šablonų.
|
26
|
-
update:
|
27
|
-
error: Atnaujinant šį šabloną kilo problema.
|
28
|
-
success: Šablonas atnaujintas sėkmingai
|
29
|
-
titles:
|
30
|
-
template_types:
|
31
|
-
questionnaires: Klausimyno šablonai
|
32
|
-
templates: Šablonai
|
33
|
-
models:
|
34
|
-
questionnaire_template:
|
35
|
-
fields:
|
36
|
-
questions: Klausimų skaičius
|
37
|
-
title: Klausimyno pavadinimas
|
38
|
-
template:
|
39
|
-
fields:
|
40
|
-
created_at: Sukurta
|
41
|
-
name: Šablonas
|
42
|
-
templates:
|
43
|
-
admin:
|
44
|
-
questionnaire_templates:
|
45
|
-
choose:
|
46
|
-
create_from_template: Kurti iš šablono
|
47
|
-
description: Tuojaus sukursite naują klausimyną. Galite jį kurti iš šablono ir jį pakeisti vėliau.
|
48
|
-
label: Pasirinkti šabloną
|
49
|
-
placeholder: Pasirinkti šabloną
|
50
|
-
skip_template: Praleisti
|
51
|
-
edit:
|
52
|
-
edit: Redaguoti
|
53
|
-
empty: Dar nėra klausimų
|
54
|
-
questionnaire: Klausimynas
|
55
|
-
form:
|
56
|
-
save: Išsaugoti
|
57
|
-
template_title: Šablono informacija
|
58
|
-
title: Klausimyno šablonas %{questionnaire_for}
|
59
|
-
index:
|
60
|
-
confirm_delete: Ar tikrai norite ištrinti šį šabloną?
|
61
|
-
title: Klausimyno šablonai
|
62
|
-
preview:
|
63
|
-
current_step: Žingsnis %{step}
|
64
|
-
of_total_steps: iš%{total_steps}
|
65
|
-
tos_agreement: Dalyvaudami sutinkate su paslaugos teikimo sąlygomis
|
66
|
-
template_types:
|
67
|
-
questionnaires: Klausimynai
|
data/config/locales/lv.yml
CHANGED
data/config/locales/mt.yml
CHANGED
data/config/locales/nl.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
nl:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -24,6 +25,7 @@ nl:
|
|
24
25
|
success: Template met succes verwijderd
|
25
26
|
empty: Er zijn nog geen templates.
|
26
27
|
update:
|
28
|
+
error: Er is een fout opgetreden bij het bijwerken van dit template.
|
27
29
|
success: Template met succes bijgewerkt
|
28
30
|
titles:
|
29
31
|
template_types:
|
data/config/locales/no.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
"no":
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -24,6 +25,7 @@
|
|
24
25
|
success: Malen ble slettet
|
25
26
|
empty: Det finnes ingen maler enda.
|
26
27
|
update:
|
28
|
+
error: Det oppstod et problem under oppdatering av denne malen.
|
27
29
|
success: Mal oppdatert
|
28
30
|
titles:
|
29
31
|
template_types:
|
data/config/locales/om-ET.yml
CHANGED
data/config/locales/pl.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
pt:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
4
5
|
questionnaire:
|
@@ -24,6 +25,7 @@ pt-BR:
|
|
24
25
|
success: Modelo excluído com sucesso
|
25
26
|
empty: Ainda não existem modelos.
|
26
27
|
update:
|
28
|
+
error: Ocorreu um erro ao atualizar este modelo.
|
27
29
|
success: Modelo atualizado com sucesso
|
28
30
|
titles:
|
29
31
|
template_types:
|
data/config/locales/pt.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
pt:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -24,6 +25,7 @@ pt:
|
|
24
25
|
success: Modelo eliminado com êxito
|
25
26
|
empty: Ainda não há modelos.
|
26
27
|
update:
|
28
|
+
error: Houve um problema ao actualizar este modelo.
|
27
29
|
success: Modelo actualizado com êxito
|
28
30
|
titles:
|
29
31
|
template_types:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
ro:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -9,10 +10,10 @@ ro:
|
|
9
10
|
decidim:
|
10
11
|
admin:
|
11
12
|
menu:
|
12
|
-
templates:
|
13
|
+
templates: Modele
|
13
14
|
templates:
|
14
15
|
apply:
|
15
|
-
error: A apărut o eroare la aplicarea acestui
|
16
|
+
error: A apărut o eroare la aplicarea acestui model.
|
16
17
|
success: Modelul a fost aplicat cu succes
|
17
18
|
copy:
|
18
19
|
error: A apărut o eroare la copierea acestui model.
|
@@ -24,12 +25,12 @@ ro:
|
|
24
25
|
success: Modelul a fost şters cu succes
|
25
26
|
empty: Nu există încă nici un model.
|
26
27
|
update:
|
27
|
-
error: A apărut o eroare la actualizarea acestui
|
28
|
+
error: A apărut o eroare la actualizarea acestui model.
|
28
29
|
success: Modelul a fost actualizat cu succes
|
29
30
|
titles:
|
30
31
|
template_types:
|
31
|
-
questionnaires:
|
32
|
-
templates:
|
32
|
+
questionnaires: Model de chestionar
|
33
|
+
templates: Modele
|
33
34
|
models:
|
34
35
|
questionnaire_template:
|
35
36
|
fields:
|
data/config/locales/ru.yml
CHANGED
data/config/locales/si-LK.yml
CHANGED
data/config/locales/sk.yml
CHANGED
data/config/locales/sl.yml
CHANGED
data/config/locales/so-SO.yml
CHANGED
data/config/locales/sr-CS.yml
CHANGED
data/config/locales/sv.yml
CHANGED
data/config/locales/sw-KE.yml
CHANGED
data/config/locales/ti-ER.yml
CHANGED
data/config/locales/tr-TR.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
tr:
|
2
3
|
decidim:
|
3
4
|
admin:
|
@@ -17,6 +18,7 @@ tr:
|
|
17
18
|
success: Şablon başarıyla silindi
|
18
19
|
empty: Burada henüz şablon yok.
|
19
20
|
update:
|
21
|
+
error: Bu şablonu güncellerken bir sorun oluştu.
|
20
22
|
success: Şablon başarıyla güncellendi
|
21
23
|
titles:
|
22
24
|
template_types:
|
data/config/locales/uk.yml
CHANGED
data/config/locales/val-ES.yml
CHANGED
data/config/locales/vi.yml
CHANGED
data/config/locales/zh-CN.yml
CHANGED
data/config/locales/zh-TW.yml
CHANGED
@@ -1,67 +1,2 @@
|
|
1
|
+
---
|
1
2
|
zh-TW:
|
2
|
-
activemodel:
|
3
|
-
attributes:
|
4
|
-
questionnaire:
|
5
|
-
title: 標題
|
6
|
-
template:
|
7
|
-
description: 說明
|
8
|
-
name: 姓名
|
9
|
-
decidim:
|
10
|
-
admin:
|
11
|
-
menu:
|
12
|
-
templates: 範本
|
13
|
-
templates:
|
14
|
-
apply:
|
15
|
-
error: 套用此範本時發生問題。
|
16
|
-
success: 模板成功應用
|
17
|
-
copy:
|
18
|
-
error: 複製此範本時發生問題。
|
19
|
-
success: 模板成功複製
|
20
|
-
create:
|
21
|
-
error: 建立此範本時發生問題。
|
22
|
-
success: 模板建立成功
|
23
|
-
destroy:
|
24
|
-
success: 模板删除成功
|
25
|
-
empty: 尚未有範本。
|
26
|
-
update:
|
27
|
-
error: 更新此範本時發生問題。
|
28
|
-
success: 模板更新成功
|
29
|
-
titles:
|
30
|
-
template_types:
|
31
|
-
questionnaires: 問卷範本
|
32
|
-
templates: 範本
|
33
|
-
models:
|
34
|
-
questionnaire_template:
|
35
|
-
fields:
|
36
|
-
questions: 問題的數目
|
37
|
-
title: 問卷標題
|
38
|
-
template:
|
39
|
-
fields:
|
40
|
-
created_at: 建立於
|
41
|
-
name: 範本
|
42
|
-
templates:
|
43
|
-
admin:
|
44
|
-
questionnaire_templates:
|
45
|
-
choose:
|
46
|
-
create_from_template: 從範本建立
|
47
|
-
description: 您即將建立一份新問卷。您可以選擇預定義的範本,並在之後進行修改。
|
48
|
-
label: 選擇範本
|
49
|
-
placeholder: 選擇範本
|
50
|
-
skip_template: 略過
|
51
|
-
edit:
|
52
|
-
edit: 編輯
|
53
|
-
empty: 目前為止還沒有什麼問題
|
54
|
-
questionnaire: 問題調查
|
55
|
-
form:
|
56
|
-
save: 儲存
|
57
|
-
template_title: 範本資訊
|
58
|
-
title: 問卷範本 %{questionnaire_for}
|
59
|
-
index:
|
60
|
-
confirm_delete: 您是否確定要刪除本範本?
|
61
|
-
title: 問卷範本
|
62
|
-
preview:
|
63
|
-
current_step: 步驟%{step}
|
64
|
-
of_total_steps: 的%{total_steps}
|
65
|
-
tos_agreement: 透過參與,您同意其服務條款
|
66
|
-
template_types:
|
67
|
-
questionnaires: 問題調查
|
data/db/seeds.rb
CHANGED
@@ -40,15 +40,20 @@ module Decidim
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
initializer "
|
43
|
+
initializer "decidim_templates.admin_mount_routes" do
|
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
|
44
50
|
Decidim.menu :admin_menu do |menu|
|
45
51
|
menu.add_item :questionnaire_templates,
|
46
52
|
I18n.t("menu.templates", scope: "decidim.admin", default: "Templates"),
|
47
53
|
decidim_admin_templates.questionnaire_templates_path,
|
48
54
|
icon_name: "document",
|
49
55
|
position: 12,
|
50
|
-
active: :inclusive
|
51
|
-
if: allowed_to?(:read, :templates)
|
56
|
+
active: :inclusive
|
52
57
|
end
|
53
58
|
end
|
54
59
|
|
@@ -9,7 +9,7 @@ shared_examples_for "uses questionnaire templates" do |_questionnaire_for|
|
|
9
9
|
context "when there are no templates" do
|
10
10
|
before do
|
11
11
|
questionnaire.update_columns(
|
12
|
-
created_at:
|
12
|
+
created_at: 1.day.ago,
|
13
13
|
updated_at: Time.zone.now
|
14
14
|
)
|
15
15
|
end
|
@@ -27,7 +27,7 @@ shared_examples_for "uses questionnaire templates" do |_questionnaire_for|
|
|
27
27
|
context "when it is an existing questionnaire" do
|
28
28
|
before do
|
29
29
|
questionnaire.update_columns(
|
30
|
-
created_at:
|
30
|
+
created_at: 1.day.ago,
|
31
31
|
updated_at: Time.zone.now
|
32
32
|
)
|
33
33
|
end
|
@@ -53,16 +53,17 @@ shared_examples_for "uses questionnaire templates" do |_questionnaire_for|
|
|
53
53
|
expect(page).to have_content("Choose template")
|
54
54
|
end
|
55
55
|
|
56
|
-
it "loads the
|
57
|
-
page.find("
|
56
|
+
it "loads the templates in the select" do
|
57
|
+
page.find("input[name='select-template']").click
|
58
58
|
|
59
|
-
within "
|
60
|
-
expect(page).to have_selector("
|
59
|
+
within "#template-list", visible: :hidden do
|
60
|
+
expect(page).to have_selector("option", visible: :hidden, count: 6)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
64
|
it "displays the preview when a template is selected" do
|
65
|
-
|
65
|
+
select(template.name["en"], from: "select-template")
|
66
|
+
|
66
67
|
within ".questionnaire-template-preview" do
|
67
68
|
expect(page).to have_i18n_content(template.name)
|
68
69
|
expect(page).to have_i18n_content(question.body)
|
@@ -88,7 +89,7 @@ shared_examples_for "uses questionnaire templates" do |_questionnaire_for|
|
|
88
89
|
)
|
89
90
|
visit questionnaire_edit_path
|
90
91
|
|
91
|
-
|
92
|
+
select(template.name["en"], from: "select-template")
|
92
93
|
|
93
94
|
within ".create-from-template" do
|
94
95
|
find("*[type=submit]").click
|
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.27.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-06-27 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.27.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.27.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.27.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.27.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.27.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.27.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.27.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.27.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:
|
@@ -89,7 +89,6 @@ files:
|
|
89
89
|
- app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb
|
90
90
|
- app/controllers/decidim/templates/application_controller.rb
|
91
91
|
- app/forms/decidim/templates/admin/template_form.rb
|
92
|
-
- app/helpers/decidim/templates/admin/templates_helper.rb
|
93
92
|
- app/helpers/decidim/templates/application_helper.rb
|
94
93
|
- app/models/concerns/decidim/templates/templatable.rb
|
95
94
|
- app/models/decidim/templates/application_record.rb
|
@@ -97,8 +96,10 @@ files:
|
|
97
96
|
- app/packs/entrypoints/decidim_templates.js
|
98
97
|
- app/packs/entrypoints/decidim_templates.scss
|
99
98
|
- app/packs/images/decidim/templates/decidim_templates.svg
|
99
|
+
- app/packs/src/decidim/templates/admin/choose_template.js
|
100
100
|
- app/packs/stylesheets/decidim/templates/templates.scss
|
101
101
|
- app/permissions/decidim/templates/admin/permissions.rb
|
102
|
+
- app/presenters/decidim/templates/admin_log/template_presenter.rb
|
102
103
|
- app/views/decidim/templates/admin/questionnaire_templates/_choose.html.erb
|
103
104
|
- app/views/decidim/templates/admin/questionnaire_templates/_form.html.erb
|
104
105
|
- app/views/decidim/templates/admin/questionnaire_templates/_preview.html.erb
|
@@ -108,7 +109,6 @@ files:
|
|
108
109
|
- app/views/decidim/templates/admin/questionnaire_templates/preview.js.erb
|
109
110
|
- app/views/layouts/decidim/admin/templates.html.erb
|
110
111
|
- config/assets.rb
|
111
|
-
- config/environment.rb
|
112
112
|
- config/locales/am-ET.yml
|
113
113
|
- config/locales/ar.yml
|
114
114
|
- config/locales/bg.yml
|
@@ -124,7 +124,6 @@ files:
|
|
124
124
|
- config/locales/es.yml
|
125
125
|
- config/locales/et.yml
|
126
126
|
- config/locales/eu.yml
|
127
|
-
- config/locales/fa-IR.yml
|
128
127
|
- config/locales/fi-plain.yml
|
129
128
|
- config/locales/fi.yml
|
130
129
|
- config/locales/fr-CA.yml
|
@@ -132,26 +131,21 @@ files:
|
|
132
131
|
- config/locales/fr.yml
|
133
132
|
- config/locales/ga-IE.yml
|
134
133
|
- config/locales/gl.yml
|
135
|
-
- config/locales/gn-PY.yml
|
136
134
|
- config/locales/hr.yml
|
137
135
|
- config/locales/hu.yml
|
138
136
|
- config/locales/id-ID.yml
|
139
137
|
- config/locales/is-IS.yml
|
140
138
|
- config/locales/it.yml
|
141
139
|
- config/locales/ja.yml
|
142
|
-
- config/locales/ka-GE.yml
|
143
|
-
- config/locales/kaa.yml
|
144
140
|
- config/locales/ko-KR.yml
|
145
141
|
- config/locales/ko.yml
|
146
142
|
- config/locales/lb-LU.yml
|
147
143
|
- config/locales/lb.yml
|
148
|
-
- config/locales/lo-LA.yml
|
149
144
|
- config/locales/lt.yml
|
150
145
|
- config/locales/lv.yml
|
151
146
|
- config/locales/mt.yml
|
152
147
|
- config/locales/nl.yml
|
153
148
|
- config/locales/no.yml
|
154
|
-
- config/locales/oc-FR.yml
|
155
149
|
- config/locales/om-ET.yml
|
156
150
|
- config/locales/pl.yml
|
157
151
|
- config/locales/pt-BR.yml
|
@@ -162,11 +156,9 @@ files:
|
|
162
156
|
- config/locales/sk.yml
|
163
157
|
- config/locales/sl.yml
|
164
158
|
- config/locales/so-SO.yml
|
165
|
-
- config/locales/sq-AL.yml
|
166
159
|
- config/locales/sr-CS.yml
|
167
160
|
- config/locales/sv.yml
|
168
161
|
- config/locales/sw-KE.yml
|
169
|
-
- config/locales/th-TH.yml
|
170
162
|
- config/locales/ti-ER.yml
|
171
163
|
- config/locales/tr-TR.yml
|
172
164
|
- config/locales/uk.yml
|
@@ -197,14 +189,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
189
|
requirements:
|
198
190
|
- - ">="
|
199
191
|
- !ruby/object:Gem::Version
|
200
|
-
version: '
|
192
|
+
version: '3.0'
|
201
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
194
|
requirements:
|
203
|
-
- - "
|
195
|
+
- - ">"
|
204
196
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
197
|
+
version: 1.3.1
|
206
198
|
requirements: []
|
207
|
-
rubygems_version: 3.
|
199
|
+
rubygems_version: 3.2.22
|
208
200
|
signing_key:
|
209
201
|
specification_version: 4
|
210
202
|
summary: A decidim templates module
|