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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2661ad0dc28fb43c505e7dfed73d0f342a08343e271e7621ef5d210c4374cbf6
4
- data.tar.gz: fc2f89fd052179bb886970031000ae4bdc5e2a5cd2c2c9b50d09771f5733a62c
3
+ metadata.gz: 7ee31c9e1c23464c83b1ba056bbf894b7ef8c13ddb7b186c22f177214f28e91b
4
+ data.tar.gz: 988da858d939b8980224b5053b3a69fc43f52a9b02942fd9892aebf1e25c46d2
5
5
  SHA512:
6
- metadata.gz: a6acd8788cf6ac64f3ed03b1b4dda62bb9bbac407cd225d851a8b28b431731331f1753ccbe0f3188afbc9584888e71cac0d5273748ada8dcaad84d0cb6bb6ea1
7
- data.tar.gz: 43cfb4456653bd10f9bd47f3f39853dde75513c2618787717ff5e8c472dcb942e213fed611cc26741ccdedc9bcb95879a2e1f1137c96fe148462da6aefa2b686
6
+ metadata.gz: b1950fd20fce236832b18f614739e29948a301f3136e78759ce41cfb4cffd97fcc0cd4f53a91eb462c7925273a666f87bdfa94b4c12099a6b33eb8b0154222d5
7
+ data.tar.gz: 8066e6d8b732b4d3baa4a1f936f9e2d40e1dadb87b77370634dba92933a1b74fa8581e334ee3fb1cdb3557e01571a6cd09c2a8bb64a5e21b0200b1baa25c9e90
@@ -26,6 +26,10 @@ module Decidim
26
26
  nil
27
27
  end
28
28
 
29
+ def edit_questionnaire_title
30
+ t(:title, scope: "decidim.templates.admin.questionnaire_templates.form", questionnaire_for: translated_attribute(template.name))
31
+ end
32
+
29
33
  private
30
34
 
31
35
  def template
@@ -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, foreign_key: "templatable_id", foreign_type: "templatable_type", polymorphic: true, optional: true
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 :secondary_nav do %>
2
- <div class="secondary-nav secondary-nav--subnav">
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 %>
@@ -48,7 +48,7 @@ ca:
48
48
  form:
49
49
  save: Desar
50
50
  template_title: Informació de la plantilla
51
- title: Qüestionari
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
@@ -48,7 +48,7 @@ cs:
48
48
  form:
49
49
  save: Uložit
50
50
  template_title: Informace o šabloně
51
- title: Dotazník
51
+ title: Šablona dotazníku %{questionnaire_for}
52
52
  index:
53
53
  confirm_delete: Jste si jisti, že chcete odstranit tuto šablonu?
54
54
  title: Šablony dotazníků
@@ -48,7 +48,13 @@ de:
48
48
  form:
49
49
  save: Speichern
50
50
  template_title: Vorlageninformation
51
- title: Fragebogen
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
@@ -49,7 +49,7 @@ en:
49
49
  form:
50
50
  save: Save
51
51
  template_title: Template information
52
- title: Questionnaire
52
+ title: Questionnaire template %{questionnaire_for}
53
53
  index:
54
54
  confirm_delete: Are you sure you want to delete this template?
55
55
  title: Questionnaire templates
@@ -48,7 +48,7 @@ es-MX:
48
48
  form:
49
49
  save: Guardar
50
50
  template_title: Información de la plantilla
51
- title: Cuestionario
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
@@ -48,7 +48,7 @@ es-PY:
48
48
  form:
49
49
  save: Guardar
50
50
  template_title: Información de la plantilla
51
- title: Cuestionario
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
@@ -48,7 +48,7 @@ es:
48
48
  form:
49
49
  save: Guardar
50
50
  template_title: Información de la plantilla
51
- title: Cuestionario
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
@@ -48,7 +48,7 @@ fi-pl:
48
48
  form:
49
49
  save: Tallenna
50
50
  template_title: Mallipohjan tiedot
51
- title: Kysely
51
+ title: Kyselylomakemalli %{questionnaire_for}
52
52
  index:
53
53
  confirm_delete: Haluatko varmasti poistaa tämän mallipohjan?
54
54
  title: Kyselymallit
@@ -48,7 +48,7 @@ fi:
48
48
  form:
49
49
  save: Tallenna
50
50
  template_title: Mallipohjan tiedot
51
- title: Kysely
51
+ title: Kyselylomakemalli %{questionnaire_for}
52
52
  index:
53
53
  confirm_delete: Haluatko varmasti poistaa tämän mallipohjan?
54
54
  title: Kyselymallit
@@ -48,7 +48,7 @@ fr-CA:
48
48
  form:
49
49
  save: Sauvegarder
50
50
  template_title: Informations sur le modèle
51
- title: Questionnaire
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
@@ -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: Questionnaire
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: de %{total_steps}
58
- tos_agreement: En participant, vous acceptez les conditions d'utilisation
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
@@ -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
@@ -48,7 +48,6 @@ it:
48
48
  form:
49
49
  save: Salva
50
50
  template_title: Informazioni del modello
51
- title: Questionario
52
51
  index:
53
52
  confirm_delete: Sei sicuro di voler eliminare questo modello?
54
53
  title: Modelli di questionari
@@ -48,7 +48,7 @@ ja:
48
48
  form:
49
49
  save: 保存
50
50
  template_title: テンプレート情報
51
- title: アンケート
51
+ title: アンケートテンプレート %{questionnaire_for}
52
52
  index:
53
53
  confirm_delete: このテンプレートを削除してもよろしいですか?
54
54
  title: アンケートテンプレート
@@ -48,7 +48,6 @@ nl:
48
48
  form:
49
49
  save: Opslaan
50
50
  template_title: Template informatie
51
- title: Vragenlijst
52
51
  index:
53
52
  confirm_delete: Weet je zeker dat je dit template wilt verwijderen?
54
53
  title: Vragenlijst templates
@@ -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:
@@ -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
@@ -48,7 +48,6 @@ zh-CN:
48
48
  form:
49
49
  save: 保存
50
50
  template_title: 模板信息
51
- title: Questionnaire
52
51
  index:
53
52
  confirm_delete: 您确定要删除此模板吗?
54
53
  title: 问卷模板
@@ -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"
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-templates version.
5
5
  module Templates
6
6
  def self.version
7
- "0.23.1"
7
+ "0.24.0.rc2"
8
8
  end
9
9
  end
10
10
  end
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.23.1
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: 2020-11-12 00:00:00.000000000 Z
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.23.1
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.23.1
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.23.1
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.23.1
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.23.1
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.23.1
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.23.1
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.23.1
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.6'
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: '0'
190
+ version: 1.3.1
186
191
  requirements: []
187
- rubygems_version: 3.0.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: []