decidim-budgets 0.25.0.rc4 → 0.26.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/decidim/budgets/budget/_budget-vote-button.scss +22 -0
- data/app/cells/decidim/budgets/budget_information_modal/show.erb +3 -3
- data/app/cells/decidim/budgets/budget_list_item/show.erb +31 -15
- data/app/cells/decidim/budgets/budget_list_item_cell.rb +30 -1
- data/app/cells/decidim/budgets/budgets_header/show.erb +1 -1
- data/app/cells/decidim/budgets/budgets_list/card_list.erb +17 -6
- data/app/cells/decidim/budgets/budgets_list/show.erb +2 -3
- data/app/cells/decidim/budgets/budgets_list/voted.erb +6 -0
- data/app/cells/decidim/budgets/project_list_item/project_data.erb +1 -1
- data/app/cells/decidim/budgets/{project_list_item/project_data_vote_button.erb → project_vote_button/show.erb} +1 -0
- data/app/cells/decidim/budgets/project_vote_button_cell.rb +10 -0
- data/app/commands/decidim/budgets/add_line_item.rb +5 -1
- data/app/controllers/concerns/decidim/budgets/admin/filterable.rb +51 -0
- data/app/controllers/decidim/budgets/admin/projects_controller.rb +6 -1
- data/app/controllers/decidim/budgets/line_items_controller.rb +2 -2
- data/app/helpers/decidim/budgets/admin/filterable_helper.rb +10 -0
- data/app/models/decidim/budgets/project.rb +28 -1
- data/app/packs/entrypoints/decidim_budgets.js +1 -0
- data/app/packs/src/decidim/budgets/exit_handler.js +131 -0
- data/app/packs/src/decidim/budgets/projects.js +9 -39
- data/app/packs/stylesheets/decidim/budgets/budget/_budget-list.scss +35 -1
- data/app/views/decidim/budgets/admin/projects/index.html.erb +16 -5
- data/app/views/decidim/budgets/projects/_exit_modal.html.erb +22 -0
- data/app/views/decidim/budgets/projects/_filters_small_view.html.erb +3 -3
- data/app/views/decidim/budgets/projects/_project_budget_button.html.erb +17 -38
- data/app/views/decidim/budgets/projects/index.html.erb +25 -22
- data/app/views/decidim/budgets/projects/show.html.erb +42 -39
- data/config/locales/ca.yml +4 -0
- data/config/locales/cs.yml +24 -0
- data/config/locales/de.yml +10 -0
- data/config/locales/el.yml +141 -1
- data/config/locales/en.yml +23 -0
- data/config/locales/es-MX.yml +1 -0
- data/config/locales/es-PY.yml +1 -0
- data/config/locales/es.yml +24 -0
- data/config/locales/eu.yml +166 -0
- data/config/locales/fi-plain.yml +24 -0
- data/config/locales/fi.yml +24 -0
- data/config/locales/fr-CA.yml +19 -0
- data/config/locales/fr.yml +19 -0
- data/config/locales/ga-IE.yml +91 -0
- data/config/locales/gl.yml +9 -0
- data/config/locales/it.yml +10 -0
- data/config/locales/ja.yml +29 -5
- data/config/locales/lb-LU.yml +294 -0
- data/config/locales/lb.yml +295 -0
- data/config/locales/nl.yml +18 -0
- data/config/locales/pl.yml +7 -0
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +143 -0
- data/config/locales/ro-RO.yml +127 -49
- data/config/locales/sv.yml +4 -0
- data/config/locales/val-ES.yml +1 -0
- data/lib/decidim/budgets/engine.rb +4 -0
- data/lib/decidim/budgets/version.rb +1 -1
- metadata +25 -18
- data/app/cells/decidim/budgets/budgets_list/highlighted.erb +0 -11
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-budgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
8
8
|
- Marc Riera Casals
|
9
9
|
- Oriol Gual Oliva
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-comments
|
@@ -18,70 +18,70 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.26.0.rc1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.26.0.rc1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-core
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.26.0.rc1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.26.0.rc1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-admin
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.26.0.rc1
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.
|
56
|
+
version: 0.26.0.rc1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-dev
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
63
|
+
version: 0.26.0.rc1
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.
|
70
|
+
version: 0.26.0.rc1
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: decidim-proposals
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
77
|
+
version: 0.26.0.rc1
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
84
|
+
version: 0.26.0.rc1
|
85
85
|
description: A budgets component for decidim's participatory spaces.
|
86
86
|
email:
|
87
87
|
- josepjaume@gmail.com
|
@@ -93,6 +93,7 @@ extra_rdoc_files: []
|
|
93
93
|
files:
|
94
94
|
- README.md
|
95
95
|
- Rakefile
|
96
|
+
- app/assets/stylesheets/decidim/budgets/budget/_budget-vote-button.scss
|
96
97
|
- app/cells/decidim/budgets/base_cell.rb
|
97
98
|
- app/cells/decidim/budgets/budget_cell.rb
|
98
99
|
- app/cells/decidim/budgets/budget_information_modal/show.erb
|
@@ -105,14 +106,12 @@ files:
|
|
105
106
|
- app/cells/decidim/budgets/budgets_header/show.erb
|
106
107
|
- app/cells/decidim/budgets/budgets_header_cell.rb
|
107
108
|
- app/cells/decidim/budgets/budgets_list/card_list.erb
|
108
|
-
- app/cells/decidim/budgets/budgets_list/highlighted.erb
|
109
109
|
- app/cells/decidim/budgets/budgets_list/show.erb
|
110
110
|
- app/cells/decidim/budgets/budgets_list/voted.erb
|
111
111
|
- app/cells/decidim/budgets/budgets_list_cell.rb
|
112
112
|
- app/cells/decidim/budgets/limit_announcement_cell.rb
|
113
113
|
- app/cells/decidim/budgets/project_cell.rb
|
114
114
|
- app/cells/decidim/budgets/project_list_item/project_data.erb
|
115
|
-
- app/cells/decidim/budgets/project_list_item/project_data_vote_button.erb
|
116
115
|
- app/cells/decidim/budgets/project_list_item/project_image.erb
|
117
116
|
- app/cells/decidim/budgets/project_list_item/project_text.erb
|
118
117
|
- app/cells/decidim/budgets/project_list_item/show.erb
|
@@ -123,6 +122,8 @@ files:
|
|
123
122
|
- app/cells/decidim/budgets/project_selected_status_cell.rb
|
124
123
|
- app/cells/decidim/budgets/project_tags/show.erb
|
125
124
|
- app/cells/decidim/budgets/project_tags_cell.rb
|
125
|
+
- app/cells/decidim/budgets/project_vote_button/show.erb
|
126
|
+
- app/cells/decidim/budgets/project_vote_button_cell.rb
|
126
127
|
- app/cells/decidim/budgets/project_voted_hint_cell.rb
|
127
128
|
- app/cells/decidim/budgets/project_votes_count_cell.rb
|
128
129
|
- app/commands/decidim/budgets/add_line_item.rb
|
@@ -136,6 +137,7 @@ files:
|
|
136
137
|
- app/commands/decidim/budgets/cancel_order.rb
|
137
138
|
- app/commands/decidim/budgets/checkout.rb
|
138
139
|
- app/commands/decidim/budgets/remove_line_item.rb
|
140
|
+
- app/controllers/concerns/decidim/budgets/admin/filterable.rb
|
139
141
|
- app/controllers/concerns/decidim/budgets/needs_current_order.rb
|
140
142
|
- app/controllers/concerns/decidim/budgets/orderable.rb
|
141
143
|
- app/controllers/decidim/budgets/admin/application_controller.rb
|
@@ -154,6 +156,7 @@ files:
|
|
154
156
|
- app/forms/decidim/budgets/admin/project_form.rb
|
155
157
|
- app/forms/decidim/budgets/admin/project_import_proposals_form.rb
|
156
158
|
- app/helpers/decidim/budgets/admin/application_helper.rb
|
159
|
+
- app/helpers/decidim/budgets/admin/filterable_helper.rb
|
157
160
|
- app/helpers/decidim/budgets/application_helper.rb
|
158
161
|
- app/helpers/decidim/budgets/projects_helper.rb
|
159
162
|
- app/jobs/decidim/budgets/send_order_summary_job.rb
|
@@ -165,6 +168,7 @@ files:
|
|
165
168
|
- app/models/decidim/budgets/project.rb
|
166
169
|
- app/packs/entrypoints/decidim_budgets.js
|
167
170
|
- app/packs/images/decidim/budgets/decidim_budgets.svg
|
171
|
+
- app/packs/src/decidim/budgets/exit_handler.js
|
168
172
|
- app/packs/src/decidim/budgets/progressFixed.js
|
169
173
|
- app/packs/src/decidim/budgets/projects.js
|
170
174
|
- app/packs/stylesheets/decidim/budgets/_budgets.scss
|
@@ -197,6 +201,7 @@ files:
|
|
197
201
|
- app/views/decidim/budgets/projects/_budget_excess.html.erb
|
198
202
|
- app/views/decidim/budgets/projects/_budget_summary.html.erb
|
199
203
|
- app/views/decidim/budgets/projects/_count.html.erb
|
204
|
+
- app/views/decidim/budgets/projects/_exit_modal.html.erb
|
200
205
|
- app/views/decidim/budgets/projects/_filters.html.erb
|
201
206
|
- app/views/decidim/budgets/projects/_filters_small_view.html.erb
|
202
207
|
- app/views/decidim/budgets/projects/_linked_projects.html.erb
|
@@ -251,6 +256,7 @@ files:
|
|
251
256
|
- config/locales/ko-KR.yml
|
252
257
|
- config/locales/ko.yml
|
253
258
|
- config/locales/lb-LU.yml
|
259
|
+
- config/locales/lb.yml
|
254
260
|
- config/locales/lt-LT.yml
|
255
261
|
- config/locales/lt.yml
|
256
262
|
- config/locales/lv.yml
|
@@ -275,6 +281,7 @@ files:
|
|
275
281
|
- config/locales/ti-ER.yml
|
276
282
|
- config/locales/tr-TR.yml
|
277
283
|
- config/locales/uk.yml
|
284
|
+
- config/locales/val-ES.yml
|
278
285
|
- config/locales/vi-VN.yml
|
279
286
|
- config/locales/vi.yml
|
280
287
|
- config/locales/zh-CN.yml
|
@@ -320,7 +327,7 @@ homepage: https://github.com/decidim/decidim
|
|
320
327
|
licenses:
|
321
328
|
- AGPL-3.0
|
322
329
|
metadata: {}
|
323
|
-
post_install_message:
|
330
|
+
post_install_message:
|
324
331
|
rdoc_options: []
|
325
332
|
require_paths:
|
326
333
|
- lib
|
@@ -335,8 +342,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
342
|
- !ruby/object:Gem::Version
|
336
343
|
version: 1.3.1
|
337
344
|
requirements: []
|
338
|
-
rubygems_version: 3.1.
|
339
|
-
signing_key:
|
345
|
+
rubygems_version: 3.1.6
|
346
|
+
signing_key:
|
340
347
|
specification_version: 4
|
341
348
|
summary: Decidim budgets module
|
342
349
|
test_files: []
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<% if highlighted? %>
|
2
|
-
<p id="highlighted-budget">
|
3
|
-
<% highlighted.each do |budget| %>
|
4
|
-
<%= link_to(
|
5
|
-
t("highlighted_cta", scope: i18n_scope,
|
6
|
-
name: translated_attribute(budget.title)),
|
7
|
-
resource_locator(budget).path,
|
8
|
-
class: :button ) %>
|
9
|
-
<% end %>
|
10
|
-
</p>
|
11
|
-
<% end %>
|