decidim-assemblies 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +34 -0
- data/Rakefile +3 -0
- data/app/assets/config/admin/decidim_assemblies_manifest.js +1 -0
- data/app/assets/config/decidim_assemblies_manifest.js +1 -0
- data/app/assets/images/decidim/assemblies/assembly.svg +6 -0
- data/app/assets/javascripts/decidim/assemblies/admin/assemblies.js.es6 +12 -0
- data/app/commands/decidim/assemblies/admin/copy_assembly.rb +88 -0
- data/app/commands/decidim/assemblies/admin/create_assembly.rb +68 -0
- data/app/commands/decidim/assemblies/admin/publish_assembly.rb +34 -0
- data/app/commands/decidim/assemblies/admin/unpublish_assembly.rb +34 -0
- data/app/commands/decidim/assemblies/admin/update_assembly.rb +73 -0
- data/app/constraints/decidim/assemblies/current_assembly.rb +37 -0
- data/app/constraints/decidim/assemblies/current_feature.rb +28 -0
- data/app/controllers/concerns/decidim/assemblies/admin/assembly_context.rb +21 -0
- data/app/controllers/concerns/decidim/assemblies/assembly_context.rb +25 -0
- data/app/controllers/concerns/decidim/assemblies/needs_assembly.rb +50 -0
- data/app/controllers/decidim/assemblies/admin/application_controller.rb +11 -0
- data/app/controllers/decidim/assemblies/admin/assemblies_controller.rb +100 -0
- data/app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb +27 -0
- data/app/controllers/decidim/assemblies/admin/assembly_copies_controller.rb +35 -0
- data/app/controllers/decidim/assemblies/admin/assembly_publications_controller.rb +45 -0
- data/app/controllers/decidim/assemblies/admin/categories_controller.rb +13 -0
- data/app/controllers/decidim/assemblies/admin/concerns/assembly_admin.rb +26 -0
- data/app/controllers/decidim/assemblies/admin/exports_controller.rb +14 -0
- data/app/controllers/decidim/assemblies/admin/feature_permissions_controller.rb +14 -0
- data/app/controllers/decidim/assemblies/admin/features_controller.rb +14 -0
- data/app/controllers/decidim/assemblies/admin/moderations_controller.rb +12 -0
- data/app/controllers/decidim/assemblies/assemblies_controller.rb +43 -0
- data/app/controllers/decidim/assemblies/assembly_widgets_controller.rb +21 -0
- data/app/controllers/decidim/assemblies/categories_controller.rb +13 -0
- data/app/forms/decidim/assemblies/admin/assembly_copy_form.rb +34 -0
- data/app/forms/decidim/assemblies/admin/assembly_form.rb +63 -0
- data/app/models/decidim/assemblies/abilities/admin/admin_ability.rb +18 -0
- data/app/models/decidim/assemblies/abilities/admin_ability.rb +16 -0
- data/app/models/decidim/assemblies/abilities/everyone_ability.rb +17 -0
- data/app/models/decidim/assembly.rb +45 -0
- data/app/presenters/decidim/assemblies/assembly_stats_presenter.rb +52 -0
- data/app/queries/decidim/assemblies/admin/admin_users.rb +39 -0
- data/app/queries/decidim/assemblies/organization_assemblies.rb +16 -0
- data/app/queries/decidim/assemblies/organization_prioritized_assemblies.rb +20 -0
- data/app/queries/decidim/assemblies/organization_published_assemblies.rb +19 -0
- data/app/queries/decidim/assemblies/prioritized_assemblies.rb +13 -0
- data/app/queries/decidim/assemblies/promoted_assemblies.rb +12 -0
- data/app/queries/decidim/assemblies/published_assemblies.rb +12 -0
- data/app/views/decidim/assemblies/_assembly.html.erb +22 -0
- data/app/views/decidim/assemblies/_order_by_assemblies.html.erb +3 -0
- data/app/views/decidim/assemblies/admin/assemblies/_form.html.erb +89 -0
- data/app/views/decidim/assemblies/admin/assemblies/edit.html.erb +19 -0
- data/app/views/decidim/assemblies/admin/assemblies/index.html.erb +66 -0
- data/app/views/decidim/assemblies/admin/assemblies/new.html.erb +11 -0
- data/app/views/decidim/assemblies/admin/assembly_copies/_form.html.erb +34 -0
- data/app/views/decidim/assemblies/admin/assembly_copies/new.html.erb +7 -0
- data/app/views/decidim/assemblies/assemblies/_no_assemblies_yet.html.erb +3 -0
- data/app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb +27 -0
- data/app/views/decidim/assemblies/assemblies/_statistics.html.erb +10 -0
- data/app/views/decidim/assemblies/assemblies/index.html.erb +17 -0
- data/app/views/decidim/assemblies/assemblies/show.html.erb +74 -0
- data/app/views/decidim/assemblies/assembly_widgets/show.html.erb +11 -0
- data/app/views/layouts/decidim/_assembly_header.html.erb +64 -0
- data/app/views/layouts/decidim/admin/assemblies.html.erb +14 -0
- data/app/views/layouts/decidim/admin/assembly.html.erb +54 -0
- data/app/views/layouts/decidim/assembly.html.erb +30 -0
- data/config/locales/ca.yml +128 -0
- data/config/locales/en.yml +128 -0
- data/config/locales/es.yml +128 -0
- data/config/locales/eu.yml +127 -0
- data/config/locales/fi.yml +127 -0
- data/config/locales/fr.yml +127 -0
- data/config/locales/it.yml +127 -0
- data/config/locales/nl.yml +127 -0
- data/config/locales/pl.yml +128 -0
- data/config/locales/uk.yml +129 -0
- data/db/migrate/20170727190859_add_assemblies.rb +37 -0
- data/db/migrate/20170822153055_add_scopes_enabled_to_assemblies.rb +7 -0
- data/db/seeds/Exampledocument.pdf +0 -0
- data/db/seeds/city.jpeg +0 -0
- data/db/seeds/city2.jpeg +0 -0
- data/db/seeds/homepage_image.jpg +0 -0
- data/lib/decidim/assemblies.rb +12 -0
- data/lib/decidim/assemblies/admin.rb +10 -0
- data/lib/decidim/assemblies/admin_engine.rb +79 -0
- data/lib/decidim/assemblies/engine.rb +53 -0
- data/lib/decidim/assemblies/participatory_space.rb +69 -0
- data/lib/decidim/assemblies/test/factories.rb +41 -0
- metadata +188 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
nl:
|
|
2
|
+
activemodel:
|
|
3
|
+
attributes:
|
|
4
|
+
assembly:
|
|
5
|
+
banner_image: Banner afbeelding
|
|
6
|
+
copy_categories: Kopieercategorieën
|
|
7
|
+
copy_features: Kopieerfuncties
|
|
8
|
+
description: Beschrijving
|
|
9
|
+
developer_group: Ontwikkelaarsgroep
|
|
10
|
+
domain: Domein
|
|
11
|
+
hashtag: Hashtag
|
|
12
|
+
hero_image: Home image
|
|
13
|
+
local_area: Lokale buurt
|
|
14
|
+
meta_scope: Omvang metadata
|
|
15
|
+
participatory_scope: Participatief toepassingsgebied
|
|
16
|
+
participatory_structure: Participatieve structuur
|
|
17
|
+
promoted: gepromoveerd
|
|
18
|
+
scope_id: Reikwijdte
|
|
19
|
+
scopes_enabled: Scopes ingeschakeld
|
|
20
|
+
short_description: Korte beschrijving
|
|
21
|
+
slug: URL slak
|
|
22
|
+
subtitle: subtitel
|
|
23
|
+
target: Doel
|
|
24
|
+
title: Titel
|
|
25
|
+
decidim:
|
|
26
|
+
admin:
|
|
27
|
+
assemblies:
|
|
28
|
+
create:
|
|
29
|
+
error: Er is een fout opgetreden bij het maken van een nieuwe assemblage.
|
|
30
|
+
success: Assemblage is succesvol gecreëerd.
|
|
31
|
+
destroy:
|
|
32
|
+
success: Assemblage is succesvol vernietigd.
|
|
33
|
+
edit:
|
|
34
|
+
update: Bijwerken
|
|
35
|
+
form:
|
|
36
|
+
title: Algemene informatie
|
|
37
|
+
index:
|
|
38
|
+
not_published: Niet gepubliceerd
|
|
39
|
+
published: Gepubliceerd
|
|
40
|
+
new:
|
|
41
|
+
create: creëren
|
|
42
|
+
title: Nieuwe montage
|
|
43
|
+
update:
|
|
44
|
+
error: Er is een fout opgetreden bij het bijwerken van deze assemblage.
|
|
45
|
+
success: Assemblage is succesvol bijgewerkt.
|
|
46
|
+
assemblies_copies:
|
|
47
|
+
create:
|
|
48
|
+
error: Er was een fout bij het dupliceren van deze assemblage.
|
|
49
|
+
success: Assemblage is succesvol gedupliceerd.
|
|
50
|
+
assembly_copies:
|
|
51
|
+
new:
|
|
52
|
+
copy: Kopiëren
|
|
53
|
+
select: Selecteer welke gegevens u wilt dupliceren
|
|
54
|
+
title: Dupliceerde montage
|
|
55
|
+
assembly_publications:
|
|
56
|
+
create:
|
|
57
|
+
error: Er is een fout opgetreden bij het publiceren van deze assemblage.
|
|
58
|
+
success: Assemblage is succesvol gepubliceerd.
|
|
59
|
+
destroy:
|
|
60
|
+
error: Er is een fout opgetreden bij het publiceren van deze assemblage.
|
|
61
|
+
success: Assemblage ongepubliceerd succesvol.
|
|
62
|
+
menu:
|
|
63
|
+
assemblies: Assemblies
|
|
64
|
+
assemblies_submenu:
|
|
65
|
+
attachments: toebehoren
|
|
66
|
+
categories: Categorieën
|
|
67
|
+
features: Kenmerken
|
|
68
|
+
info: info
|
|
69
|
+
moderations: matigingen
|
|
70
|
+
models:
|
|
71
|
+
assembly:
|
|
72
|
+
fields:
|
|
73
|
+
created_at: Gemaakt bij
|
|
74
|
+
promoted: Opvallende
|
|
75
|
+
published: Gepubliceerd
|
|
76
|
+
title: Titel
|
|
77
|
+
name: bijeenkomst
|
|
78
|
+
titles:
|
|
79
|
+
assemblies: Assemblies
|
|
80
|
+
assemblies:
|
|
81
|
+
index:
|
|
82
|
+
title: Assemblies
|
|
83
|
+
show:
|
|
84
|
+
developer_group: Ontwikkelaarsgroep
|
|
85
|
+
local_area: Lokale buurt
|
|
86
|
+
participatory_scope: Participatief toepassingsgebied
|
|
87
|
+
participatory_structure: Participatieve structuur
|
|
88
|
+
scope: Reikwijdte
|
|
89
|
+
target: Doel
|
|
90
|
+
statistics:
|
|
91
|
+
answers_count: antwoorden
|
|
92
|
+
assemblies_count: Assemblies
|
|
93
|
+
comments_count: Comments
|
|
94
|
+
headline: Activiteit
|
|
95
|
+
meetings_count: Vergaderingen
|
|
96
|
+
orders_count: bestellingen
|
|
97
|
+
pages_count: Pages
|
|
98
|
+
projects_count: Projecten
|
|
99
|
+
proposals_count: Voorstellen
|
|
100
|
+
results_count: Resultaten
|
|
101
|
+
surveys_count: onderzoeken
|
|
102
|
+
users_count: Deelnemers
|
|
103
|
+
votes_count: stemmen
|
|
104
|
+
menu:
|
|
105
|
+
assemblies: Assemblies
|
|
106
|
+
layouts:
|
|
107
|
+
decidim:
|
|
108
|
+
assemblies:
|
|
109
|
+
assembly:
|
|
110
|
+
take_part: Deelnemen
|
|
111
|
+
index:
|
|
112
|
+
promoted_assemblies: Uitgelichte samenstellingen
|
|
113
|
+
no_assemblies_yet:
|
|
114
|
+
no_assemblies_yet: Nog geen vergaderingen!
|
|
115
|
+
order_by_assemblies:
|
|
116
|
+
assemblies:
|
|
117
|
+
one: "%{count} assemblage"
|
|
118
|
+
other: "%{count} gemeentes"
|
|
119
|
+
promoted_assembly:
|
|
120
|
+
more_info: Meer informatie
|
|
121
|
+
take_part: Deelnemen
|
|
122
|
+
assembly_header:
|
|
123
|
+
assembly_menu_item: De vergadering
|
|
124
|
+
unfold: Ontvouwen
|
|
125
|
+
assembly_widgets:
|
|
126
|
+
show:
|
|
127
|
+
take_part: Deelnemen
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
pl:
|
|
2
|
+
activemodel:
|
|
3
|
+
attributes:
|
|
4
|
+
assembly:
|
|
5
|
+
banner_image: Obraz baneru
|
|
6
|
+
copy_categories: Kopiuj kategorie
|
|
7
|
+
copy_features: Kopiuj funkcje
|
|
8
|
+
description: Opis
|
|
9
|
+
developer_group: Grupa programistyczna
|
|
10
|
+
domain: Domena
|
|
11
|
+
hashtag: Hasztag
|
|
12
|
+
hero_image: Obraz w domu
|
|
13
|
+
local_area: Okolica
|
|
14
|
+
meta_scope: Zakres metadanych
|
|
15
|
+
participatory_scope: Zakres partycypacji
|
|
16
|
+
participatory_structure: Struktura partycypacji
|
|
17
|
+
promoted: Lansowany
|
|
18
|
+
scope_id: Zakres
|
|
19
|
+
scopes_enabled: Zakresy włączone
|
|
20
|
+
short_description: Krótki opis
|
|
21
|
+
slug: Ślimak URL
|
|
22
|
+
subtitle: Podtytuł
|
|
23
|
+
target: Cel
|
|
24
|
+
title: Tytuł
|
|
25
|
+
decidim:
|
|
26
|
+
admin:
|
|
27
|
+
assemblies:
|
|
28
|
+
create:
|
|
29
|
+
error: Podczas tworzenia nowego zestawu wystąpił błąd.
|
|
30
|
+
success: Zgromadzenie zostało utworzone.
|
|
31
|
+
destroy:
|
|
32
|
+
success: Zgromadzenie zostało zniszczone.
|
|
33
|
+
edit:
|
|
34
|
+
update: Aktualizuj
|
|
35
|
+
form:
|
|
36
|
+
title: Informacje ogólne
|
|
37
|
+
index:
|
|
38
|
+
not_published: Nie opublikowane
|
|
39
|
+
published: Opublikowany
|
|
40
|
+
new:
|
|
41
|
+
create: Utwórz
|
|
42
|
+
title: Nowy montaż
|
|
43
|
+
update:
|
|
44
|
+
error: Podczas aktualizowania tego zestawu wystąpił błąd.
|
|
45
|
+
success: Zgromadzenie zostało zaktualizowane.
|
|
46
|
+
assemblies_copies:
|
|
47
|
+
create:
|
|
48
|
+
error: Podczas duplikowania tego zestawu wystąpił błąd.
|
|
49
|
+
success: Złożenie zostało powielone.
|
|
50
|
+
assembly_copies:
|
|
51
|
+
new:
|
|
52
|
+
copy: Kopiuj
|
|
53
|
+
select: Wybierz dane, które chcesz zduplikować
|
|
54
|
+
title: Duplikat montażu
|
|
55
|
+
assembly_publications:
|
|
56
|
+
create:
|
|
57
|
+
error: Podczas publikowania tego wystąpienia wystąpił błąd.
|
|
58
|
+
success: Zgromadzenie zostało opublikowane pomyślnie.
|
|
59
|
+
destroy:
|
|
60
|
+
error: Podczas publikowania tego wystąpienia wystąpił błąd.
|
|
61
|
+
success: Zgromadzenie nie zostało pomyślnie opublikowane.
|
|
62
|
+
menu:
|
|
63
|
+
assemblies: Zespoły
|
|
64
|
+
assemblies_submenu:
|
|
65
|
+
attachments: Załączniki
|
|
66
|
+
categories: Kategorie
|
|
67
|
+
features: cechy
|
|
68
|
+
info: Informacje
|
|
69
|
+
moderations: Modernizacje
|
|
70
|
+
models:
|
|
71
|
+
assembly:
|
|
72
|
+
fields:
|
|
73
|
+
created_at: Utworzono w
|
|
74
|
+
promoted: Podświetlony
|
|
75
|
+
published: Opublikowany
|
|
76
|
+
title: Tytuł
|
|
77
|
+
name: Montaż
|
|
78
|
+
titles:
|
|
79
|
+
assemblies: Zespoły
|
|
80
|
+
assemblies:
|
|
81
|
+
index:
|
|
82
|
+
title: Zespoły
|
|
83
|
+
show:
|
|
84
|
+
developer_group: Grupa programistyczna
|
|
85
|
+
local_area: Okolica
|
|
86
|
+
participatory_scope: Zakres partycypacji
|
|
87
|
+
participatory_structure: Struktura partycypacji
|
|
88
|
+
scope: Zakres
|
|
89
|
+
target: Cel
|
|
90
|
+
statistics:
|
|
91
|
+
answers_count: Odpowiedzi
|
|
92
|
+
assemblies_count: Zespoły
|
|
93
|
+
comments_count: Komentarze
|
|
94
|
+
headline: Czynność
|
|
95
|
+
meetings_count: Spotkania
|
|
96
|
+
orders_count: Święcenia
|
|
97
|
+
pages_count: Strony
|
|
98
|
+
projects_count: Projekty
|
|
99
|
+
proposals_count: Propozycje
|
|
100
|
+
results_count: Wyniki
|
|
101
|
+
surveys_count: Ankiety
|
|
102
|
+
users_count: Uczestnicy
|
|
103
|
+
votes_count: Głosowania
|
|
104
|
+
menu:
|
|
105
|
+
assemblies: Zespoły
|
|
106
|
+
layouts:
|
|
107
|
+
decidim:
|
|
108
|
+
assemblies:
|
|
109
|
+
assembly:
|
|
110
|
+
take_part: Wziąć udział
|
|
111
|
+
index:
|
|
112
|
+
promoted_assemblies: Podświetlone zespoły
|
|
113
|
+
no_assemblies_yet:
|
|
114
|
+
no_assemblies_yet: Żadne zespoły!
|
|
115
|
+
order_by_assemblies:
|
|
116
|
+
assemblies:
|
|
117
|
+
one: "%{count} montaż"
|
|
118
|
+
few: "%{count} złożeń"
|
|
119
|
+
other: "%{count} złożeń"
|
|
120
|
+
promoted_assembly:
|
|
121
|
+
more_info: Więcej informacji
|
|
122
|
+
take_part: Wziąć udział
|
|
123
|
+
assembly_header:
|
|
124
|
+
assembly_menu_item: Zgromadzenie
|
|
125
|
+
unfold: Rozwiń
|
|
126
|
+
assembly_widgets:
|
|
127
|
+
show:
|
|
128
|
+
take_part: Wziąć udział
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
uk:
|
|
2
|
+
activemodel:
|
|
3
|
+
attributes:
|
|
4
|
+
assembly:
|
|
5
|
+
banner_image: Банерне зображення
|
|
6
|
+
copy_categories: Скопіювати розділи
|
|
7
|
+
copy_features: Скопіювати складові
|
|
8
|
+
description: Опис
|
|
9
|
+
developer_group: Група розробників
|
|
10
|
+
domain: Домен
|
|
11
|
+
hashtag: Хештег
|
|
12
|
+
hero_image: Зображення головної сторінки
|
|
13
|
+
local_area: Місцевість
|
|
14
|
+
meta_scope: Метадані обсягу
|
|
15
|
+
participatory_scope: Обсяг співучасті
|
|
16
|
+
participatory_structure: Структура співучасті
|
|
17
|
+
promoted: Підвищено в статусі
|
|
18
|
+
scope_id: Обсяг
|
|
19
|
+
scopes_enabled: Ввімкнені обсяги
|
|
20
|
+
short_description: Стислий опис
|
|
21
|
+
slug: Скорочена URL-адреса
|
|
22
|
+
subtitle: Підзаголовок
|
|
23
|
+
target: Мета
|
|
24
|
+
title: Назва
|
|
25
|
+
decidim:
|
|
26
|
+
admin:
|
|
27
|
+
assemblies:
|
|
28
|
+
create:
|
|
29
|
+
error: При створенні нових зборів сталася помилка.
|
|
30
|
+
success: Збори успішно створено.
|
|
31
|
+
destroy:
|
|
32
|
+
success: Збори успішно видалено.
|
|
33
|
+
edit:
|
|
34
|
+
update: Оновити
|
|
35
|
+
form:
|
|
36
|
+
title: Загальні відомості
|
|
37
|
+
index:
|
|
38
|
+
not_published: Не опубліковано
|
|
39
|
+
published: Опубліковано
|
|
40
|
+
new:
|
|
41
|
+
create: Створити
|
|
42
|
+
title: Нові збори
|
|
43
|
+
update:
|
|
44
|
+
error: При оновленні цих зборів сталася помилка.
|
|
45
|
+
success: Збори успішно оновлено.
|
|
46
|
+
assemblies_copies:
|
|
47
|
+
create:
|
|
48
|
+
error: При створенні копії цих зборів сталася помилка.
|
|
49
|
+
success: Успішно створено копію зборів.
|
|
50
|
+
assembly_copies:
|
|
51
|
+
new:
|
|
52
|
+
copy: Скопіювати
|
|
53
|
+
select: Оберіть дані, копію яких ви хотіли б створити
|
|
54
|
+
title: Створити копію зборів
|
|
55
|
+
assembly_publications:
|
|
56
|
+
create:
|
|
57
|
+
error: Під час публікації цих зборів сталася помилка.
|
|
58
|
+
success: Збори успішно опубліковано.
|
|
59
|
+
destroy:
|
|
60
|
+
error: При скасуванні публікації цих зборів сталася помилка.
|
|
61
|
+
success: Публікацію зборів успішно скасовано.
|
|
62
|
+
menu:
|
|
63
|
+
assemblies: Збори
|
|
64
|
+
assemblies_submenu:
|
|
65
|
+
attachments: Вкладені файли
|
|
66
|
+
categories: Розділи
|
|
67
|
+
features: Складові
|
|
68
|
+
info: Відомості
|
|
69
|
+
moderations: Дії з модерації
|
|
70
|
+
models:
|
|
71
|
+
assembly:
|
|
72
|
+
fields:
|
|
73
|
+
created_at: 'Створене:'
|
|
74
|
+
promoted: Висвітлено
|
|
75
|
+
published: Опубліковано
|
|
76
|
+
title: Назва
|
|
77
|
+
name: Збори
|
|
78
|
+
titles:
|
|
79
|
+
assemblies: Збори
|
|
80
|
+
assemblies:
|
|
81
|
+
index:
|
|
82
|
+
title: Збори
|
|
83
|
+
show:
|
|
84
|
+
developer_group: Група розробників
|
|
85
|
+
local_area: Місцевість
|
|
86
|
+
participatory_scope: Обсяг співучасті
|
|
87
|
+
participatory_structure: Структура співучасті
|
|
88
|
+
scope: Обсяг
|
|
89
|
+
target: Мета
|
|
90
|
+
statistics:
|
|
91
|
+
answers_count: Відповіді
|
|
92
|
+
assemblies_count: Збори
|
|
93
|
+
comments_count: Коментарі
|
|
94
|
+
headline: Діяльність
|
|
95
|
+
meetings_count: Зустрічі
|
|
96
|
+
orders_count: Голоси
|
|
97
|
+
pages_count: Сторінки
|
|
98
|
+
projects_count: Проекти
|
|
99
|
+
proposals_count: Пропозиції
|
|
100
|
+
results_count: Підсумки
|
|
101
|
+
surveys_count: Опитування
|
|
102
|
+
users_count: Учасники
|
|
103
|
+
votes_count: Голоси
|
|
104
|
+
menu:
|
|
105
|
+
assemblies: Збори
|
|
106
|
+
layouts:
|
|
107
|
+
decidim:
|
|
108
|
+
assemblies:
|
|
109
|
+
assembly:
|
|
110
|
+
take_part: Взяти участь
|
|
111
|
+
index:
|
|
112
|
+
promoted_assemblies: Висвітлені збори
|
|
113
|
+
no_assemblies_yet:
|
|
114
|
+
no_assemblies_yet: Ще немає зборів!
|
|
115
|
+
order_by_assemblies:
|
|
116
|
+
assemblies:
|
|
117
|
+
one: "%{count} (одні) збори"
|
|
118
|
+
few: "%{count} зборів"
|
|
119
|
+
many: "%{count} зборів"
|
|
120
|
+
other: "%{count} зборів"
|
|
121
|
+
promoted_assembly:
|
|
122
|
+
more_info: Додаткові відомості
|
|
123
|
+
take_part: Взяти участь
|
|
124
|
+
assembly_header:
|
|
125
|
+
assembly_menu_item: Збори
|
|
126
|
+
unfold: Розгорнути
|
|
127
|
+
assembly_widgets:
|
|
128
|
+
show:
|
|
129
|
+
take_part: Взяти участь
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
class AddAssemblies < ActiveRecord::Migration[5.0]
|
|
4
|
+
def change
|
|
5
|
+
create_table :decidim_assemblies do |t|
|
|
6
|
+
t.string :slug, null: false
|
|
7
|
+
t.string :hashtag
|
|
8
|
+
|
|
9
|
+
t.integer :decidim_organization_id,
|
|
10
|
+
foreign_key: true,
|
|
11
|
+
index: { name: "index_decidim_assemblies_on_decidim_organization_id" }
|
|
12
|
+
|
|
13
|
+
t.datetime :created_at, null: false
|
|
14
|
+
t.datetime :updated_at, null: false
|
|
15
|
+
t.jsonb :title, null: false
|
|
16
|
+
t.jsonb :subtitle, null: false
|
|
17
|
+
t.jsonb :short_description, null: false
|
|
18
|
+
t.jsonb :description, null: false
|
|
19
|
+
t.string :hero_image
|
|
20
|
+
t.string :banner_image
|
|
21
|
+
t.boolean :promoted, default: false
|
|
22
|
+
t.datetime :published_at
|
|
23
|
+
t.jsonb :developer_group
|
|
24
|
+
t.jsonb :meta_scope
|
|
25
|
+
t.jsonb :local_area
|
|
26
|
+
t.jsonb :target
|
|
27
|
+
t.jsonb :participatory_scope
|
|
28
|
+
t.jsonb :participatory_structure
|
|
29
|
+
t.boolean :show_statistics, default: false
|
|
30
|
+
t.integer :decidim_scope_id
|
|
31
|
+
|
|
32
|
+
t.index [:decidim_organization_id, :slug],
|
|
33
|
+
name: "index_unique_assembly_slug_and_organization",
|
|
34
|
+
unique: true
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
Binary file
|
data/db/seeds/city.jpeg
ADDED
|
Binary file
|
data/db/seeds/city2.jpeg
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "decidim/assemblies/admin"
|
|
4
|
+
require "decidim/assemblies/engine"
|
|
5
|
+
require "decidim/assemblies/admin_engine"
|
|
6
|
+
require "decidim/assemblies/participatory_space"
|
|
7
|
+
|
|
8
|
+
module Decidim
|
|
9
|
+
# Base module for the assemblies engine.
|
|
10
|
+
module Assemblies
|
|
11
|
+
end
|
|
12
|
+
end
|