decidim-templates 0.23.1 → 0.24.0.rc2
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/controllers/decidim/templates/admin/questionnaire_templates/questionnaires_controller.rb +4 -0
- data/app/helpers/decidim/templates/admin/templates_menu_helper.rb +15 -0
- data/app/models/decidim/templates/template.rb +1 -1
- data/app/views/layouts/decidim/admin/templates.html.erb +2 -10
- data/config/locales/ca.yml +1 -1
- data/config/locales/cs.yml +1 -1
- data/config/locales/de.yml +7 -1
- data/config/locales/en.yml +1 -1
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es-PY.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/fi-plain.yml +1 -1
- data/config/locales/fi.yml +1 -1
- data/config/locales/fr-CA.yml +1 -1
- data/config/locales/fr.yml +4 -4
- data/config/locales/gl.yml +59 -0
- data/config/locales/it.yml +0 -1
- data/config/locales/ja.yml +1 -1
- data/config/locales/nl.yml +0 -1
- data/config/locales/pl.yml +59 -0
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/tr-TR.yml +59 -0
- data/config/locales/zh-CN.yml +0 -1
- data/db/migrate/20200518093819_create_decidim_templates.rb +13 -0
- data/db/seeds.rb +79 -0
- data/lib/decidim/templates/admin_engine.rb +16 -0
- data/lib/decidim/templates/version.rb +1 -1
- metadata +22 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ee31c9e1c23464c83b1ba056bbf894b7ef8c13ddb7b186c22f177214f28e91b
|
4
|
+
data.tar.gz: 988da858d939b8980224b5053b3a69fc43f52a9b02942fd9892aebf1e25c46d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1950fd20fce236832b18f614739e29948a301f3136e78759ce41cfb4cffd97fcc0cd4f53a91eb462c7925273a666f87bdfa94b4c12099a6b33eb8b0154222d5
|
7
|
+
data.tar.gz: 8066e6d8b732b4d3baa4a1f936f9e2d40e1dadb87b77370634dba92933a1b74fa8581e334ee3fb1cdb3557e01571a6cd09c2a8bb64a5e21b0200b1baa25c9e90
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Templates
|
5
|
+
module Admin
|
6
|
+
module TemplatesMenuHelper
|
7
|
+
include Decidim::Admin::SidebarMenuHelper
|
8
|
+
|
9
|
+
def template_types_menu
|
10
|
+
@template_types_menu ||= sidebar_menu(:admin_template_types_menu)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -15,7 +15,7 @@ module Decidim
|
|
15
15
|
foreign_key: "decidim_organization_id",
|
16
16
|
class_name: "Decidim::Organization"
|
17
17
|
|
18
|
-
belongs_to :templatable,
|
18
|
+
belongs_to :templatable, foreign_type: "templatable_type", polymorphic: true, optional: true
|
19
19
|
|
20
20
|
before_destroy :destroy_templatable
|
21
21
|
|
@@ -1,13 +1,5 @@
|
|
1
|
-
<% content_for :
|
2
|
-
|
3
|
-
<ul>
|
4
|
-
<% template_types.each_pair do |name, url| %>
|
5
|
-
<li <% if is_active_link?(url) %> class="is-active" <% end %>>
|
6
|
-
<%= aria_selected_link_to name, url %>
|
7
|
-
</li>
|
8
|
-
<% end %>
|
9
|
-
</ul>
|
10
|
-
</div>
|
1
|
+
<% content_for :sidebar_menu_nav do %>
|
2
|
+
<%= template_types_menu.render %>
|
11
3
|
<% end %>
|
12
4
|
|
13
5
|
<%= render "layouts/decidim/admin/application" do %>
|
data/config/locales/ca.yml
CHANGED
@@ -48,7 +48,7 @@ ca:
|
|
48
48
|
form:
|
49
49
|
save: Desar
|
50
50
|
template_title: Informació de la plantilla
|
51
|
-
title:
|
51
|
+
title: Plantilla del qüestionari %{questionnaire_for}
|
52
52
|
index:
|
53
53
|
confirm_delete: Segur que vols eliminar aquesta plantilla?
|
54
54
|
title: Plantilles de qüestionari
|
data/config/locales/cs.yml
CHANGED
data/config/locales/de.yml
CHANGED
@@ -48,7 +48,13 @@ de:
|
|
48
48
|
form:
|
49
49
|
save: Speichern
|
50
50
|
template_title: Vorlageninformation
|
51
|
-
title:
|
51
|
+
title: Fragebogenvorlage %{questionnaire_for}
|
52
52
|
index:
|
53
53
|
confirm_delete: Möchten Sie diese Vorlage wirklich löschen?
|
54
54
|
title: Fragebogenvorlagen
|
55
|
+
preview:
|
56
|
+
current_step: Schritt %{step}
|
57
|
+
of_total_steps: von %{total_steps}
|
58
|
+
tos_agreement: Mit der Teilnahme stimmen Sie den Nutzungsbedingungen zu
|
59
|
+
template_types:
|
60
|
+
questionnaires: Fragebögen
|
data/config/locales/en.yml
CHANGED
data/config/locales/es-MX.yml
CHANGED
@@ -48,7 +48,7 @@ es-MX:
|
|
48
48
|
form:
|
49
49
|
save: Guardar
|
50
50
|
template_title: Información de la plantilla
|
51
|
-
title:
|
51
|
+
title: Plantilla de cuestionario %{questionnaire_for}
|
52
52
|
index:
|
53
53
|
confirm_delete: '¿Seguro que quieres eliminar esta plantilla?'
|
54
54
|
title: Plantillas de cuestionario
|
data/config/locales/es-PY.yml
CHANGED
@@ -48,7 +48,7 @@ es-PY:
|
|
48
48
|
form:
|
49
49
|
save: Guardar
|
50
50
|
template_title: Información de la plantilla
|
51
|
-
title:
|
51
|
+
title: Plantilla de cuestionario %{questionnaire_for}
|
52
52
|
index:
|
53
53
|
confirm_delete: '¿Seguro que quieres eliminar esta plantilla?'
|
54
54
|
title: Plantillas de cuestionario
|
data/config/locales/es.yml
CHANGED
@@ -48,7 +48,7 @@ es:
|
|
48
48
|
form:
|
49
49
|
save: Guardar
|
50
50
|
template_title: Información de la plantilla
|
51
|
-
title:
|
51
|
+
title: Plantilla de cuestionario %{questionnaire_for}
|
52
52
|
index:
|
53
53
|
confirm_delete: '¿Seguro que quieres eliminar esta plantilla?'
|
54
54
|
title: Plantillas de cuestionario
|
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
@@ -48,7 +48,7 @@ fr-CA:
|
|
48
48
|
form:
|
49
49
|
save: Sauvegarder
|
50
50
|
template_title: Informations sur le modèle
|
51
|
-
title:
|
51
|
+
title: Modèle de questionnaire %{questionnaire_for}
|
52
52
|
index:
|
53
53
|
confirm_delete: Êtes-vous sûr de vouloir supprimer ce modèle?
|
54
54
|
title: Modèles de questionnaire
|
data/config/locales/fr.yml
CHANGED
@@ -2,7 +2,7 @@ fr:
|
|
2
2
|
decidim:
|
3
3
|
admin:
|
4
4
|
menu:
|
5
|
-
templates: Modèles
|
5
|
+
templates: Modèles de questionnaire
|
6
6
|
templates:
|
7
7
|
apply:
|
8
8
|
error: Une erreur est survenue lors de l'application de ce modèle.
|
@@ -48,13 +48,13 @@ fr:
|
|
48
48
|
form:
|
49
49
|
save: Sauvegarder
|
50
50
|
template_title: Informations sur le modèle
|
51
|
-
title:
|
51
|
+
title: Modèle de questionnaire %{questionnaire_for}
|
52
52
|
index:
|
53
53
|
confirm_delete: Êtes-vous sûr de vouloir supprimer ce modèle?
|
54
54
|
title: Modèles de questionnaire
|
55
55
|
preview:
|
56
56
|
current_step: Étape %{step}
|
57
|
-
of_total_steps:
|
58
|
-
tos_agreement: En participant, vous acceptez
|
57
|
+
of_total_steps: sur %{total_steps}
|
58
|
+
tos_agreement: En participant, vous acceptez ces conditions d'utilisation
|
59
59
|
template_types:
|
60
60
|
questionnaires: Questionnaires
|
data/config/locales/gl.yml
CHANGED
@@ -1 +1,60 @@
|
|
1
1
|
gl:
|
2
|
+
decidim:
|
3
|
+
admin:
|
4
|
+
menu:
|
5
|
+
templates: Padróns
|
6
|
+
templates:
|
7
|
+
apply:
|
8
|
+
error: Produciuse un problema ao aplicar o padrón.
|
9
|
+
success: Padrón aplicado con éxito
|
10
|
+
copy:
|
11
|
+
error: Produciuse un problema ao copiar o padrón.
|
12
|
+
success: Padrón copiado con éxito
|
13
|
+
create:
|
14
|
+
error: Produciuse un problema ao crear o padrón.
|
15
|
+
success: Padrón creado con éxito
|
16
|
+
destroy:
|
17
|
+
success: Padrón eliminado con éxito
|
18
|
+
empty: Aínda non hai padróns.
|
19
|
+
update:
|
20
|
+
error: Produciuse un problema ao actualizar o padrón.
|
21
|
+
success: Padrón actualizado con éxito
|
22
|
+
titles:
|
23
|
+
template_types:
|
24
|
+
questionnaires: Padrón para cuestionarios
|
25
|
+
templates: Padróns
|
26
|
+
models:
|
27
|
+
questionnaire_template:
|
28
|
+
fields:
|
29
|
+
questions: Número de preguntas
|
30
|
+
title: Título do cuestionario
|
31
|
+
template:
|
32
|
+
fields:
|
33
|
+
created_at: Creado o
|
34
|
+
name: Padrón
|
35
|
+
templates:
|
36
|
+
admin:
|
37
|
+
questionnaire_templates:
|
38
|
+
choose:
|
39
|
+
create_from_template: Crear a partir dun padrón
|
40
|
+
description: Estás a punto de crear un novo cuestonario. Podes escoller un padrón predefinido e modificalo despois.
|
41
|
+
label: Escoller padrón
|
42
|
+
placeholder: Escoller padrón
|
43
|
+
skip_template: Omitir
|
44
|
+
edit:
|
45
|
+
edit: Editar
|
46
|
+
empty: Aínda non hai preguntas
|
47
|
+
questionnaire: Cuestionario
|
48
|
+
form:
|
49
|
+
save: Gardar
|
50
|
+
template_title: Información do padrón
|
51
|
+
title: Padrón de cuestionario %{questionnaire_for}
|
52
|
+
index:
|
53
|
+
confirm_delete: Tes a certeza de querer eliminar este padrón?
|
54
|
+
title: Padróns de cuestionario
|
55
|
+
preview:
|
56
|
+
current_step: Paso %{step}
|
57
|
+
of_total_steps: de %{total_steps}
|
58
|
+
tos_agreement: Ao participar, aceptas os termos do servizo
|
59
|
+
template_types:
|
60
|
+
questionnaires: Cuestionarios
|
data/config/locales/it.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/config/locales/nl.yml
CHANGED
data/config/locales/pl.yml
CHANGED
@@ -1 +1,60 @@
|
|
1
1
|
pl:
|
2
|
+
decidim:
|
3
|
+
admin:
|
4
|
+
menu:
|
5
|
+
templates: Szablony
|
6
|
+
templates:
|
7
|
+
apply:
|
8
|
+
error: Wystąpił błąd z zastosowaniem tego szablonu.
|
9
|
+
success: Szablon został zastosowany
|
10
|
+
copy:
|
11
|
+
error: Wystąpił błąd podczas kopiowania tego szablonu.
|
12
|
+
success: Szablon został skopiowany
|
13
|
+
create:
|
14
|
+
error: Wystąpił błąd podczas tworzenia tego szablonu.
|
15
|
+
success: Szablon został utworzony
|
16
|
+
destroy:
|
17
|
+
success: Szablon został usunięty
|
18
|
+
empty: Brak szablonów.
|
19
|
+
update:
|
20
|
+
error: Wystąpił błąd podczas aktualizowania szablonu.
|
21
|
+
success: Szablon został zaktualizowany
|
22
|
+
titles:
|
23
|
+
template_types:
|
24
|
+
questionnaires: Szablony kwestionariusza
|
25
|
+
templates: Szablony
|
26
|
+
models:
|
27
|
+
questionnaire_template:
|
28
|
+
fields:
|
29
|
+
questions: Liczba pytań
|
30
|
+
title: Tytuł kwestionariusza
|
31
|
+
template:
|
32
|
+
fields:
|
33
|
+
created_at: Utworzono
|
34
|
+
name: Szablon
|
35
|
+
templates:
|
36
|
+
admin:
|
37
|
+
questionnaire_templates:
|
38
|
+
choose:
|
39
|
+
create_from_template: Utwórz z szablonu
|
40
|
+
description: Zamierzasz utworzyć nowy kwestionariusz. Możesz wybrać predefiniowany szablon i zmodyfikować go później.
|
41
|
+
label: Wybierz szablon
|
42
|
+
placeholder: Wybierz szablon
|
43
|
+
skip_template: Pomiń
|
44
|
+
edit:
|
45
|
+
edit: Edytuj
|
46
|
+
empty: Nie ma jeszcze żadnych pytań
|
47
|
+
questionnaire: Kwestionariusz
|
48
|
+
form:
|
49
|
+
save: Zapisz
|
50
|
+
template_title: Informacje o szablonie
|
51
|
+
title: Szablon kwestionariusza %{questionnaire_for}
|
52
|
+
index:
|
53
|
+
confirm_delete: Czy na pewno chcesz usunąć ten szablon?
|
54
|
+
title: Szablony kwestionariusza
|
55
|
+
preview:
|
56
|
+
current_step: Krok %{step}
|
57
|
+
of_total_steps: z %{total_steps}
|
58
|
+
tos_agreement: Biorąc udział akceptujesz Regulamin korzystania z serwisu
|
59
|
+
template_types:
|
60
|
+
questionnaires: Kwestionariusze
|
@@ -0,0 +1 @@
|
|
1
|
+
si:
|
@@ -0,0 +1 @@
|
|
1
|
+
sw:
|
data/config/locales/tr-TR.yml
CHANGED
@@ -1 +1,60 @@
|
|
1
1
|
tr:
|
2
|
+
decidim:
|
3
|
+
admin:
|
4
|
+
menu:
|
5
|
+
templates: Şablonlar
|
6
|
+
templates:
|
7
|
+
apply:
|
8
|
+
error: Bu şablonu uygularken bir sorun oluştu.
|
9
|
+
success: Şablon başarıyla uygulandı
|
10
|
+
copy:
|
11
|
+
error: Bu şablonu kopyalarken bir sorun oluştu.
|
12
|
+
success: Şablon başarıyla kopyalandı
|
13
|
+
create:
|
14
|
+
error: Bu şablonu oluştururken bir hata oluştu.
|
15
|
+
success: Şablon başarıyla oluşturuldu
|
16
|
+
destroy:
|
17
|
+
success: Şablon başarıyla silindi
|
18
|
+
empty: Burada henüz şablon yok.
|
19
|
+
update:
|
20
|
+
error: Bu şablonu güncellerken bir sorun oluştu.
|
21
|
+
success: Şablon başarıyla güncellendi
|
22
|
+
titles:
|
23
|
+
template_types:
|
24
|
+
questionnaires: Anket şablonları
|
25
|
+
templates: Şablonlar
|
26
|
+
models:
|
27
|
+
questionnaire_template:
|
28
|
+
fields:
|
29
|
+
questions: Soruların sayısı
|
30
|
+
title: Anket Başlığı
|
31
|
+
template:
|
32
|
+
fields:
|
33
|
+
created_at: Oluşturuldu
|
34
|
+
name: Şablon
|
35
|
+
templates:
|
36
|
+
admin:
|
37
|
+
questionnaire_templates:
|
38
|
+
choose:
|
39
|
+
create_from_template: Şablondan Oluştur
|
40
|
+
description: Yeni bir anket oluşturmak üzeresiniz. Önceden tanımlanmış bir şablon seçebilir ve daha sonra değiştirebilirsiniz.
|
41
|
+
label: Şablon seç
|
42
|
+
placeholder: Şablon seç
|
43
|
+
skip_template: Atla
|
44
|
+
edit:
|
45
|
+
edit: Düzenle
|
46
|
+
empty: Henüz bir soru yok
|
47
|
+
questionnaire: Anket
|
48
|
+
form:
|
49
|
+
save: Kaydet
|
50
|
+
template_title: Şablon Bilgisi
|
51
|
+
title: '%{questionnaire_for} için anket şablonu'
|
52
|
+
index:
|
53
|
+
confirm_delete: Bu şablonu silmek istediğinizden emin misiniz?
|
54
|
+
title: Anket şablonları
|
55
|
+
preview:
|
56
|
+
current_step: '%{step} adım'
|
57
|
+
of_total_steps: '%{total_steps}'
|
58
|
+
tos_agreement: Katılarak, Hizmet Şartları'nı kabul etmiş olursunuz
|
59
|
+
template_types:
|
60
|
+
questionnaires: Anketler
|
data/config/locales/zh-CN.yml
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class CreateDecidimTemplates < ActiveRecord::Migration[5.2]
|
4
|
+
def change
|
5
|
+
create_table :decidim_templates_templates do |t|
|
6
|
+
t.integer :decidim_organization_id, null: false, index: { name: "index_decidim_templates_organization" }
|
7
|
+
t.references :templatable, polymorphic: true, index: { name: "index_decidim_templates_templatable" }
|
8
|
+
t.jsonb :name, null: false
|
9
|
+
t.jsonb :description
|
10
|
+
t.timestamps
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/db/seeds.rb
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
if !Rails.env.production? || ENV["SEED"]
|
4
|
+
print "Creating seeds for decidim-templates...\n" unless Rails.env.test?
|
5
|
+
|
6
|
+
require "decidim/faker/localized"
|
7
|
+
|
8
|
+
# Since we usually migrate and seed in the same process, make sure
|
9
|
+
# that we don't have invalid or cached information after a migration.
|
10
|
+
decidim_tables = ActiveRecord::Base.connection.tables.select do |table|
|
11
|
+
table.starts_with?("decidim_")
|
12
|
+
end
|
13
|
+
decidim_tables.map do |table|
|
14
|
+
table.tr("_", "/").classify.safe_constantize
|
15
|
+
end.compact.each(&:reset_column_information)
|
16
|
+
|
17
|
+
organization = Decidim::Organization.first
|
18
|
+
|
19
|
+
questionnaire_template = Decidim::Templates::Template.create!(
|
20
|
+
organization: organization,
|
21
|
+
name: Decidim::Faker::Localized.sentence(word_count: 2),
|
22
|
+
description: Decidim::Faker::Localized.paragraph
|
23
|
+
)
|
24
|
+
|
25
|
+
questionnaire = Decidim::Forms::Questionnaire.create!(
|
26
|
+
questionnaire_for: questionnaire_template,
|
27
|
+
title: Decidim::Faker::Localized.paragraph,
|
28
|
+
description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
29
|
+
Decidim::Faker::Localized.paragraph(sentence_count: 3)
|
30
|
+
end,
|
31
|
+
tos: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
32
|
+
Decidim::Faker::Localized.paragraph(sentence_count: 2)
|
33
|
+
end
|
34
|
+
)
|
35
|
+
|
36
|
+
%w(short_answer long_answer).each_with_index do |text_question_type, index|
|
37
|
+
Decidim::Forms::Question.create!(
|
38
|
+
questionnaire: questionnaire,
|
39
|
+
body: Decidim::Faker::Localized.paragraph,
|
40
|
+
question_type: text_question_type,
|
41
|
+
position: index
|
42
|
+
)
|
43
|
+
end
|
44
|
+
|
45
|
+
%w(single_option multiple_option).each_with_index do |multiple_choice_question_type, index|
|
46
|
+
question = Decidim::Forms::Question.create!(
|
47
|
+
questionnaire: questionnaire,
|
48
|
+
body: Decidim::Faker::Localized.paragraph,
|
49
|
+
question_type: multiple_choice_question_type,
|
50
|
+
position: index + 2
|
51
|
+
)
|
52
|
+
|
53
|
+
3.times do
|
54
|
+
question.answer_options.create!(body: Decidim::Faker::Localized.sentence)
|
55
|
+
end
|
56
|
+
|
57
|
+
question.display_conditions.create!(
|
58
|
+
condition_question: questionnaire.questions.find_by(position: question.position - 2),
|
59
|
+
question: question,
|
60
|
+
condition_type: :answered,
|
61
|
+
mandatory: true
|
62
|
+
)
|
63
|
+
end
|
64
|
+
|
65
|
+
%w(matrix_single matrix_multiple).each do |matrix_question_type|
|
66
|
+
question = Decidim::Forms::Question.create!(
|
67
|
+
questionnaire: questionnaire,
|
68
|
+
body: Decidim::Faker::Localized.paragraph,
|
69
|
+
question_type: matrix_question_type
|
70
|
+
)
|
71
|
+
|
72
|
+
3.times do
|
73
|
+
question.answer_options.create!(body: Decidim::Faker::Localized.sentence)
|
74
|
+
question.matrix_rows.create!(body: Decidim::Faker::Localized.sentence)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
questionnaire_template.update!(templatable: questionnaire)
|
79
|
+
end
|
@@ -30,6 +30,22 @@ module Decidim
|
|
30
30
|
root to: "questionnaire_templates#index"
|
31
31
|
end
|
32
32
|
|
33
|
+
initializer "decidim_templates.action_controller" do |_app|
|
34
|
+
ActiveSupport.on_load :action_controller do
|
35
|
+
helper Decidim::Templates::Admin::TemplatesMenuHelper if respond_to?(:helper)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
initializer "decidim_participatory_processes.admin_participatory_processes_menu" do
|
40
|
+
Decidim.menu :admin_template_types_menu do |menu|
|
41
|
+
template_types.each_pair do |name, url|
|
42
|
+
menu.item name, url,
|
43
|
+
if: allowed_to?(:index, :templates),
|
44
|
+
active: is_active_link?(url)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
33
49
|
initializer "decidim_templates.admin_mount_routes" do
|
34
50
|
Decidim::Core::Engine.routes do
|
35
51
|
mount Decidim::Templates::AdminEngine, at: "/admin/templates", as: "decidim_admin_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.
|
4
|
+
version: 0.24.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vera Rojman
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-10 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.24.0.rc2
|
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.24.0.rc2
|
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.24.0.rc2
|
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.24.0.rc2
|
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.24.0.rc2
|
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.24.0.rc2
|
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.24.0.rc2
|
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.24.0.rc2
|
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:
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- app/controllers/decidim/templates/application_controller.rb
|
94
94
|
- app/forms/decidim/templates/admin/template_form.rb
|
95
95
|
- app/helpers/decidim/templates/admin/templates_helper.rb
|
96
|
+
- app/helpers/decidim/templates/admin/templates_menu_helper.rb
|
96
97
|
- app/helpers/decidim/templates/application_helper.rb
|
97
98
|
- app/models/concerns/decidim/templates/templatable.rb
|
98
99
|
- app/models/decidim/templates/application_record.rb
|
@@ -146,11 +147,13 @@ files:
|
|
146
147
|
- config/locales/pt.yml
|
147
148
|
- config/locales/ro-RO.yml
|
148
149
|
- config/locales/ru.yml
|
150
|
+
- config/locales/si-LK.yml
|
149
151
|
- config/locales/sk.yml
|
150
152
|
- config/locales/sl.yml
|
151
153
|
- config/locales/so-SO.yml
|
152
154
|
- config/locales/sr-CS.yml
|
153
155
|
- config/locales/sv.yml
|
156
|
+
- config/locales/sw-KE.yml
|
154
157
|
- config/locales/ti-ER.yml
|
155
158
|
- config/locales/tr-TR.yml
|
156
159
|
- config/locales/uk.yml
|
@@ -158,6 +161,8 @@ files:
|
|
158
161
|
- config/locales/vi.yml
|
159
162
|
- config/locales/zh-CN.yml
|
160
163
|
- config/locales/zh-TW.yml
|
164
|
+
- db/migrate/20200518093819_create_decidim_templates.rb
|
165
|
+
- db/seeds.rb
|
161
166
|
- lib/decidim/templates.rb
|
162
167
|
- lib/decidim/templates/admin.rb
|
163
168
|
- lib/decidim/templates/admin_engine.rb
|
@@ -169,7 +174,7 @@ homepage: https://github.com/decidim/decidim-module-templates
|
|
169
174
|
licenses:
|
170
175
|
- AGPL-3.0
|
171
176
|
metadata: {}
|
172
|
-
post_install_message:
|
177
|
+
post_install_message:
|
173
178
|
rdoc_options: []
|
174
179
|
require_paths:
|
175
180
|
- lib
|
@@ -177,15 +182,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
182
|
requirements:
|
178
183
|
- - ">="
|
179
184
|
- !ruby/object:Gem::Version
|
180
|
-
version: '2.
|
185
|
+
version: '2.7'
|
181
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
187
|
requirements:
|
183
|
-
- - "
|
188
|
+
- - ">"
|
184
189
|
- !ruby/object:Gem::Version
|
185
|
-
version:
|
190
|
+
version: 1.3.1
|
186
191
|
requirements: []
|
187
|
-
rubygems_version: 3.
|
188
|
-
signing_key:
|
192
|
+
rubygems_version: 3.1.2
|
193
|
+
signing_key:
|
189
194
|
specification_version: 4
|
190
195
|
summary: A decidim templates module
|
191
196
|
test_files: []
|