decidim-budgets 0.26.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/budgets/budget_list_item/show.erb +4 -4
- data/app/cells/decidim/budgets/budgets_list/show.erb +2 -2
- data/app/cells/decidim/budgets/budgets_list/voted.erb +1 -1
- data/app/cells/decidim/budgets/project_list_item/project_text.erb +2 -2
- data/app/cells/decidim/budgets/project_list_item_cell.rb +1 -1
- data/app/views/decidim/budgets/projects/_budget_summary.html.erb +6 -6
- data/app/views/decidim/budgets/projects/index.html.erb +2 -2
- data/app/views/decidim/budgets/projects/show.html.erb +1 -1
- data/config/locales/ar.yml +24 -0
- data/lib/decidim/budgets/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a0205a85db73626a26462874984316b85ca0c901160e1aaa88a83eb614c4354
|
4
|
+
data.tar.gz: 715c8b483498c212692829ccda7715b201d2922b420b9f6fb2fbee2adc712241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e5512b50e90b410d6b5a0c1a90820e5b39921c5980d16af6c39fea7905e1bff7fb68f401114af3df042dd1a75f2e7037561fa56f86468333b9ffda1f6f1bcc1
|
7
|
+
data.tar.gz: 71708f646a5b962d93af18de12b8450fe6ca0deea0291f0aa323705955bde146a61cb2f58255851d41668f70a4f987c6db7fb7e3338e4dffc98f5e2debbba4b3
|
@@ -1,16 +1,16 @@
|
|
1
1
|
<div class="<%= card_class %> budget-list__item budget-list__item-cell">
|
2
2
|
<div class="budget-list__text flex-horizontal">
|
3
3
|
<%= link_to budget_path(budget), class: link_class do %>
|
4
|
-
<
|
4
|
+
<h3 class="card--list__heading">
|
5
5
|
<%= translated_attribute(title) %>
|
6
|
-
</
|
6
|
+
</h3>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<
|
9
|
+
<div class="heading5">
|
10
10
|
<strong>
|
11
11
|
<%= budget_to_currency(total_budget) %>
|
12
12
|
</strong>
|
13
|
-
</
|
13
|
+
</div>
|
14
14
|
|
15
15
|
<%= decidim_sanitize html_truncate(translated_attribute(description), length: 140) %>
|
16
16
|
</div>
|
@@ -2,9 +2,9 @@
|
|
2
2
|
<div class="columns medium-7 mediumlarge-8">
|
3
3
|
<% if !voting_finished? && (voted?) %>
|
4
4
|
<div class="section">
|
5
|
-
<
|
5
|
+
<h2 class="section-heading">
|
6
6
|
<%= t(:my_budgets, scope: i18n_scope) %>
|
7
|
-
</
|
7
|
+
</h2>
|
8
8
|
|
9
9
|
<%= render :voted %>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<%= t(:voted_on, scope: i18n_scope, links: budgets_link_list(voted)) %>
|
5
5
|
</p>
|
6
6
|
|
7
|
-
<div id="voted-budgets" class="card card--list budget-list">
|
7
|
+
<div id="voted-budgets-list" class="card card--list budget-list">
|
8
8
|
<% voted.each do |budget| %>
|
9
9
|
<%= cell("decidim/budgets/budget_list_item", budget) %>
|
10
10
|
<% end %>
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<div class="budget-list__text card__text">
|
2
2
|
<div>
|
3
3
|
<%= link_to resource_path, class: "card__link" do %>
|
4
|
-
<
|
4
|
+
<h3 class="card__title budget-list__title">
|
5
5
|
<%= cell("decidim/budgets/project_selected_status", model) %>
|
6
6
|
|
7
7
|
<%= resource_title %>
|
8
|
-
</
|
8
|
+
</h3>
|
9
9
|
<% end %>
|
10
10
|
|
11
11
|
<div class="show-for-medium">
|
@@ -2,9 +2,9 @@
|
|
2
2
|
<div class="callout warning">
|
3
3
|
<div class="row">
|
4
4
|
<div class="columns medium-8 large-9">
|
5
|
-
<
|
5
|
+
<h2 class="heading3">
|
6
6
|
<%= t(".rules.title") %>
|
7
|
-
</
|
7
|
+
</h2>
|
8
8
|
<ul>
|
9
9
|
<%= raw current_rule_explanation %>
|
10
10
|
</ul>
|
@@ -16,23 +16,23 @@
|
|
16
16
|
<div class="card__content">
|
17
17
|
<% if include_heading %>
|
18
18
|
<% if current_order_checked_out? %>
|
19
|
-
<
|
19
|
+
<h2 class="heading3">
|
20
20
|
<%= t(".checked_out.title") %>
|
21
21
|
<% unless current_workflow.single? %>
|
22
22
|
<small><%= translated_attribute(budget.title) %></small>
|
23
23
|
<% end %>
|
24
|
-
</
|
24
|
+
</h2>
|
25
25
|
<p>
|
26
26
|
<%= raw t(".checked_out.description", cancel_link: link_to(t(".cancel_order"), budget_order_path(return_to: "budget"), method: :delete, class: "cancel-order", data: { confirm: t(".are_you_sure") })) %>
|
27
27
|
</p>
|
28
28
|
<% else %>
|
29
|
-
<
|
29
|
+
<h2 class="heading3">
|
30
30
|
<% if current_workflow.single? %>
|
31
31
|
<%= t(".title") %>
|
32
32
|
<% else %>
|
33
33
|
<%= translated_attribute(budget.title) %>
|
34
34
|
<% end %>
|
35
|
-
</
|
35
|
+
</h2>
|
36
36
|
<p>
|
37
37
|
<%= raw current_rule_description %>
|
38
38
|
</p>
|
@@ -22,7 +22,7 @@ edit_link(
|
|
22
22
|
<% end %>
|
23
23
|
|
24
24
|
<div class="m-bottom">
|
25
|
-
<%= link_to
|
25
|
+
<%= link_to budget_projects_path(budget), class: "muted-link js-back-to-list" do %>
|
26
26
|
<%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
|
27
27
|
<%= t(".view_all_projects") %>
|
28
28
|
<% end %>
|
data/config/locales/ar.yml
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
ar:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
+
budget:
|
5
|
+
description: الوصف
|
6
|
+
title: العنوان
|
7
|
+
total_budget: الميزانية الإجمالية
|
4
8
|
project:
|
5
9
|
decidim_category_id: الفئة
|
6
10
|
decidim_scope_id: نطاق
|
@@ -17,6 +21,11 @@ ar:
|
|
17
21
|
many: مشاريع
|
18
22
|
other: مشاريع
|
19
23
|
decidim:
|
24
|
+
admin:
|
25
|
+
filters:
|
26
|
+
projects:
|
27
|
+
category_id_eq:
|
28
|
+
label: الفئة
|
20
29
|
budgets:
|
21
30
|
actions:
|
22
31
|
attachment_collections: المجلدات
|
@@ -24,10 +33,16 @@ ar:
|
|
24
33
|
confirm_destroy: هل أنت متأكد أنك تريد حذف هذا المشروع؟
|
25
34
|
destroy: حذف
|
26
35
|
edit: تعديل
|
36
|
+
edit_projects: إدارة المشاريع
|
27
37
|
import: استيراد مقترحات للمشاريع
|
38
|
+
new: '%{name} جديد'
|
28
39
|
preview: معاينة
|
29
40
|
title: أفعال
|
30
41
|
admin:
|
42
|
+
budgets:
|
43
|
+
edit:
|
44
|
+
title: تعديل الميزانية
|
45
|
+
update: تحديث الميزانية
|
31
46
|
models:
|
32
47
|
project:
|
33
48
|
name: مشروع
|
@@ -63,9 +78,16 @@ ar:
|
|
63
78
|
create: "%{user_name} إنشاء المشروع %{resource_name} في %{space_name} الفضاء"
|
64
79
|
delete: "%{user_name} حذف المشروع %{resource_name} في %{space_name} الفضاء"
|
65
80
|
update: "%{user_name} تحديث المشروع %{resource_name} في %{space_name} الفضاء"
|
81
|
+
budget_information_modal:
|
82
|
+
continue: مواصلة
|
83
|
+
more_information: المزيد من المعلومات
|
66
84
|
models:
|
85
|
+
budget:
|
86
|
+
fields:
|
87
|
+
name: الإسم
|
67
88
|
project:
|
68
89
|
fields:
|
90
|
+
category: الفئة
|
69
91
|
title: عنوان
|
70
92
|
projects:
|
71
93
|
budget_confirm:
|
@@ -145,5 +167,7 @@ ar:
|
|
145
167
|
destroy:
|
146
168
|
error: حدثت مشكلة في إلغاء تصويتك
|
147
169
|
success: تم إلغاء تصويتك بنجاح
|
170
|
+
statistics:
|
171
|
+
projects_count: المشاريع
|
148
172
|
index:
|
149
173
|
confirmed_orders_count: عدد الأصوات
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-budgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-03-25 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.26.
|
21
|
+
version: 0.26.1
|
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.26.
|
28
|
+
version: 0.26.1
|
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.26.
|
35
|
+
version: 0.26.1
|
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.26.
|
42
|
+
version: 0.26.1
|
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.26.
|
49
|
+
version: 0.26.1
|
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.26.
|
56
|
+
version: 0.26.1
|
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.26.
|
63
|
+
version: 0.26.1
|
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.26.
|
70
|
+
version: 0.26.1
|
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.26.
|
77
|
+
version: 0.26.1
|
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.26.
|
84
|
+
version: 0.26.1
|
85
85
|
description: A budgets component for decidim's participatory spaces.
|
86
86
|
email:
|
87
87
|
- josepjaume@gmail.com
|