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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28c25beb59bd90ac3e73363c55c78e90cd23d84a0125dbc5390ecde3b8c5465e
4
- data.tar.gz: '09ea7ee2815cf19473205debe2000e41fa65e1740d4aa4090c190e7308cad61d'
3
+ metadata.gz: 5a0205a85db73626a26462874984316b85ca0c901160e1aaa88a83eb614c4354
4
+ data.tar.gz: 715c8b483498c212692829ccda7715b201d2922b420b9f6fb2fbee2adc712241
5
5
  SHA512:
6
- metadata.gz: 7fd7089bd0b573b689180dba96d3ba996417f6d1de5932995a85e24a45620b5eb41b8dff0bbe163a408989273701118f96f8a6adc35df86791da95ed560b7486
7
- data.tar.gz: c6c89d9c4533ad312fcacb308290e6719c11e8602b523c5ca0c849d59ada8267ab66fe59473f0b2f09a73ea6411b261ac24989b1bfe6d98c5e117c63a7e55f05
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
- <h5 class="card--list__heading">
4
+ <h3 class="card--list__heading">
5
5
  <%= translated_attribute(title) %>
6
- </h5>
6
+ </h3>
7
7
  <% end %>
8
8
 
9
- <h5>
9
+ <div class="heading5">
10
10
  <strong>
11
11
  <%= budget_to_currency(total_budget) %>
12
12
  </strong>
13
- </h5>
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
- <h3 class="section-heading">
5
+ <h2 class="section-heading">
6
6
  <%= t(:my_budgets, scope: i18n_scope) %>
7
- </h3>
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
- <h5 class="card__title budget-list__title">
4
+ <h3 class="card__title budget-list__title">
5
5
  <%= cell("decidim/budgets/project_selected_status", model) %>
6
6
 
7
7
  <%= resource_title %>
8
- </h5>
8
+ </h3>
9
9
  <% end %>
10
10
 
11
11
  <div class="show-for-medium">
@@ -17,7 +17,7 @@ module Decidim
17
17
  private
18
18
 
19
19
  def resource_path
20
- resource_locator([model.budget, model]).path(filter_link_params)
20
+ resource_locator([model.budget, model]).path
21
21
  end
22
22
 
23
23
  def resource_title
@@ -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
- <h3 class="heading3">
5
+ <h2 class="heading3">
6
6
  <%= t(".rules.title") %>
7
- </h3>
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
- <h3 class="heading3">
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
- </h3>
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
- <h3 class="heading3">
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
- </h3>
35
+ </h2>
36
36
  <p>
37
37
  <%= raw current_rule_description %>
38
38
  </p>
@@ -15,9 +15,9 @@
15
15
  </div>
16
16
 
17
17
  <div class="row columns">
18
- <h3 class="section-heading">
18
+ <h2 class="section-heading">
19
19
  <%= render partial: "count" %>
20
- </h3>
20
+ </h2>
21
21
  </div>
22
22
 
23
23
  <div class="row">
@@ -22,7 +22,7 @@ edit_link(
22
22
  <% end %>
23
23
 
24
24
  <div class="m-bottom">
25
- <%= link_to resource_locator(budget).path(filter_link_params), class: "muted-link" do %>
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 %>
@@ -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: عدد الأصوات
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-budgets version.
5
5
  module Budgets
6
6
  def self.version
7
- "0.26.0"
7
+ "0.26.1"
8
8
  end
9
9
  end
10
10
  end
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.0
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-02-22 00:00:00.000000000 Z
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.0
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.0
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.0
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.0
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.0
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.0
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.0
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.0
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.0
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.0
84
+ version: 0.26.1
85
85
  description: A budgets component for decidim's participatory spaces.
86
86
  email:
87
87
  - josepjaume@gmail.com