decidim-accountability 0.27.9 → 0.28.0.rc4
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/accountability/content_blocks/highlighted_results_cell.rb +3 -8
- data/app/cells/decidim/accountability/highlighted_results/show.erb +3 -1
- data/app/cells/decidim/accountability/highlighted_results_for_component/show.erb +19 -19
- data/app/cells/decidim/accountability/highlighted_results_for_component_cell.rb +29 -6
- data/app/cells/decidim/accountability/project/show.erb +11 -0
- data/app/cells/decidim/accountability/project/timeline.erb +22 -0
- data/app/cells/decidim/accountability/project_cell.rb +75 -0
- data/app/cells/decidim/accountability/result_activity_cell.rb +1 -4
- data/app/cells/decidim/accountability/result_card_cell.rb +21 -0
- data/app/cells/decidim/accountability/result_cell.rb +2 -2
- data/app/cells/decidim/accountability/result_l/extra_data.erb +3 -0
- data/app/cells/decidim/accountability/result_l_cell.rb +30 -0
- data/app/cells/decidim/accountability/result_metadata/project_aside.erb +6 -0
- data/app/cells/decidim/accountability/result_metadata/show_footer.erb +11 -0
- data/app/cells/decidim/accountability/result_metadata/versions.erb +1 -0
- data/app/cells/decidim/accountability/result_metadata_cell.rb +136 -0
- data/app/cells/decidim/accountability/results/show.erb +7 -0
- data/app/cells/decidim/accountability/results_cell.rb +14 -0
- data/app/cells/decidim/accountability/status/show.erb +9 -0
- data/app/cells/decidim/accountability/status/status.erb +16 -0
- data/app/cells/decidim/accountability/status_cell.rb +91 -0
- data/app/commands/decidim/accountability/admin/import_projects_to_accountability.rb +37 -0
- data/app/controllers/concerns/decidim/accountability/admin/filterable.rb +2 -2
- data/app/controllers/decidim/accountability/admin/import_results_controller.rb +18 -6
- data/app/controllers/decidim/accountability/admin/projects_import_controller.rb +31 -0
- data/app/controllers/decidim/accountability/admin/results_controller.rb +4 -5
- data/app/controllers/decidim/accountability/admin/statuses_controller.rb +3 -3
- data/app/controllers/decidim/accountability/admin/timeline_entries_controller.rb +3 -3
- data/app/controllers/decidim/accountability/results_controller.rb +20 -2
- data/app/events/decidim/accountability/proposal_linked_event.rb +18 -1
- data/app/events/decidim/accountability/result_progress_updated_event.rb +18 -2
- data/app/forms/decidim/accountability/admin/import_results_form.rb +22 -0
- data/app/forms/decidim/accountability/admin/result_import_projects_form.rb +51 -0
- data/app/helpers/decidim/accountability/admin/application_helper.rb +1 -0
- data/app/helpers/decidim/accountability/application_helper.rb +43 -2
- data/app/helpers/decidim/accountability/breadcrumb_helper.rb +10 -0
- data/app/jobs/decidim/accountability/admin/import_projects_job.rb +72 -0
- data/app/mailers/decidim/accountability/import_projects_mailer.rb +25 -0
- data/app/models/decidim/accountability/result.rb +1 -1
- data/app/packs/entrypoints/decidim_accountability.js +4 -1
- data/app/packs/entrypoints/decidim_accountability_admin_imports.js +3 -0
- data/app/packs/images/decidim/accountability/breadcrumb_arrow.svg +3 -0
- data/app/packs/src/decidim/accountability/admin/imports.js +15 -0
- data/app/packs/stylesheets/accountability.scss +169 -0
- data/app/permissions/decidim/accountability/admin/permissions.rb +17 -6
- data/app/presenters/decidim/accountability/admin_log/result_presenter.rb +2 -2
- data/app/presenters/decidim/accountability/admin_log/status_presenter.rb +2 -2
- data/app/presenters/decidim/accountability/admin_log/timeline_entry_presenter.rb +2 -2
- data/app/queries/decidim/accountability/metrics/results_metric_manage.rb +1 -1
- data/app/services/decidim/accountability/results_calculator.rb +1 -1
- data/app/services/decidim/accountability/results_csv_importer.rb +2 -2
- data/app/views/decidim/accountability/admin/import_results/new.html.erb +27 -23
- data/app/views/decidim/accountability/admin/projects_import/new.html.erb +45 -0
- data/app/views/decidim/accountability/admin/results/_form.html.erb +46 -46
- data/app/views/decidim/accountability/admin/results/edit.html.erb +18 -7
- data/app/views/decidim/accountability/admin/results/index.html.erb +102 -91
- data/app/views/decidim/accountability/admin/results/new.html.erb +18 -8
- data/app/views/decidim/accountability/admin/shared/_subnav.html.erb +1 -1
- data/app/views/decidim/accountability/admin/statuses/_form.html.erb +15 -17
- data/app/views/decidim/accountability/admin/statuses/edit.html.erb +16 -6
- data/app/views/decidim/accountability/admin/statuses/index.html.erb +33 -36
- data/app/views/decidim/accountability/admin/statuses/new.html.erb +16 -6
- data/app/views/decidim/accountability/admin/timeline_entries/_form.html.erb +12 -14
- data/app/views/decidim/accountability/admin/timeline_entries/edit.html.erb +17 -6
- data/app/views/decidim/accountability/admin/timeline_entries/index.html.erb +35 -34
- data/app/views/decidim/accountability/admin/timeline_entries/new.html.erb +17 -6
- data/app/views/decidim/accountability/import_projects_mailer/import.html.erb +2 -0
- data/app/views/decidim/accountability/results/_home_categories.html.erb +28 -73
- data/app/views/decidim/accountability/results/_linked_results.html.erb +3 -12
- data/app/views/decidim/accountability/results/_project.html.erb +29 -0
- data/app/views/decidim/accountability/results/_projects_aside.html.erb +40 -0
- data/app/views/decidim/accountability/results/_scope_filters.html.erb +27 -27
- data/app/views/decidim/accountability/results/_search.html.erb +15 -9
- data/app/views/decidim/accountability/results/_stats_box.html.erb +3 -3
- data/app/views/decidim/accountability/results/home.html.erb +34 -8
- data/app/views/decidim/accountability/results/index.html.erb +15 -15
- data/app/views/decidim/accountability/results/index.js.erb +3 -0
- data/app/views/decidim/accountability/results/show.html.erb +9 -10
- data/app/views/decidim/accountability/versions/show.html.erb +13 -10
- data/app/views/decidim/participatory_spaces/_result.html.erb +4 -4
- data/config/assets.rb +2 -2
- data/config/locales/ar.yml +23 -61
- data/config/locales/bg.yml +0 -96
- data/config/locales/ca.yml +54 -31
- data/config/locales/cs.yml +58 -29
- data/config/locales/da.yml +1 -36
- data/config/locales/de.yml +59 -36
- data/config/locales/el.yml +62 -29
- data/config/locales/en.yml +55 -31
- data/config/locales/es-MX.yml +52 -29
- data/config/locales/es-PY.yml +52 -29
- data/config/locales/es.yml +55 -32
- data/config/locales/eu.yml +53 -30
- data/config/locales/fi-plain.yml +51 -28
- data/config/locales/fi.yml +54 -31
- data/config/locales/fr-CA.yml +51 -28
- data/config/locales/fr.yml +52 -29
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +0 -41
- data/config/locales/hu.yml +41 -29
- data/config/locales/id-ID.yml +1 -30
- data/config/locales/is-IS.yml +0 -32
- data/config/locales/it.yml +0 -43
- data/config/locales/ja.yml +55 -39
- data/config/locales/kaa.yml +20 -1
- data/config/locales/ko.yml +0 -188
- data/config/locales/lb.yml +1 -42
- data/config/locales/lt.yml +60 -41
- data/config/locales/lv.yml +1 -36
- data/config/locales/nl.yml +0 -41
- data/config/locales/no.yml +8 -49
- data/config/locales/pl.yml +17 -61
- data/config/locales/pt-BR.yml +41 -29
- data/config/locales/pt.yml +0 -42
- data/config/locales/ro-RO.yml +39 -66
- data/config/locales/ru.yml +1 -30
- data/config/locales/si-LK.yml +0 -4
- data/config/locales/sk.yml +1 -40
- data/config/locales/sl.yml +0 -11
- data/config/locales/sq-AL.yml +82 -7
- data/config/locales/sr-CS.yml +1 -30
- data/config/locales/sv.yml +36 -51
- data/config/locales/th-TH.yml +0 -140
- data/config/locales/tr-TR.yml +9 -75
- data/config/locales/uk.yml +1 -28
- data/config/locales/zh-CN.yml +1 -36
- data/config/locales/zh-TW.yml +52 -43
- data/lib/decidim/accountability/admin_engine.rb +3 -2
- data/lib/decidim/accountability/component.rb +4 -99
- data/lib/decidim/accountability/engine.rb +9 -1
- data/lib/decidim/accountability/result_serializer.rb +1 -1
- data/lib/decidim/accountability/seeds.rb +115 -0
- data/lib/decidim/accountability/test/factories.rb +18 -29
- data/lib/decidim/accountability/version.rb +1 -1
- data/lib/decidim/api/result_type.rb +1 -0
- metadata +62 -51
- data/app/cells/decidim/accountability/content_blocks/highlighted_results/elements.erb +0 -5
- data/app/cells/decidim/accountability/content_blocks/highlighted_results/heading.erb +0 -1
- data/app/cells/decidim/accountability/result_m/data.erb +0 -23
- data/app/cells/decidim/accountability/result_m/footer.erb +0 -22
- data/app/cells/decidim/accountability/result_m/tags.erb +0 -1
- data/app/cells/decidim/accountability/result_m_cell.rb +0 -37
- data/app/events/decidim/accountability/base_result_event.rb +0 -29
- data/app/packs/stylesheets/decidim/accountability/_accountability.scss +0 -4
- data/app/packs/stylesheets/decidim/accountability/accountability/_cards.scss +0 -11
- data/app/packs/stylesheets/decidim/accountability/accountability/_categories.scss +0 -121
- data/app/packs/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +0 -37
- data/app/packs/stylesheets/decidim/accountability/accountability/_results.scss +0 -148
- data/app/views/decidim/accountability/admin/results/proposals_picker.html.erb +0 -1
- data/app/views/decidim/accountability/result_widgets/show.html.erb +0 -2
- data/app/views/decidim/accountability/results/_home_header.html.erb +0 -23
- data/app/views/decidim/accountability/results/_results_leaf.html.erb +0 -47
- data/app/views/decidim/accountability/results/_results_parent.html.erb +0 -32
- data/app/views/decidim/accountability/results/_show_leaf.html.erb +0 -81
- data/app/views/decidim/accountability/results/_show_parent.html.erb +0 -30
- data/app/views/decidim/accountability/results/_stats.html.erb +0 -15
- data/app/views/decidim/accountability/results/_timeline.html.erb +0 -30
- data/app/views/decidim/accountability/versions/index.html.erb +0 -12
- data/config/locales/he-IL.yml +0 -219
- data/decidim-accountability.gemspec +0 -38
@@ -1,148 +0,0 @@
|
|
1
|
-
.accountability{
|
2
|
-
.intro{
|
3
|
-
ul{
|
4
|
-
margin-bottom: 1rem;
|
5
|
-
}
|
6
|
-
|
7
|
-
.progress-level{
|
8
|
-
background: $white;
|
9
|
-
padding: 1.5rem 1.75rem;
|
10
|
-
|
11
|
-
p{
|
12
|
-
font-weight: 600;
|
13
|
-
margin-bottom: .25rem;
|
14
|
-
display: inline-block;
|
15
|
-
margin-right: .5rem;
|
16
|
-
font-size: 1.25rem;
|
17
|
-
}
|
18
|
-
|
19
|
-
.icon{
|
20
|
-
background: lighten($dark-gray, 50);
|
21
|
-
border-radius: 50%;
|
22
|
-
fill: white;
|
23
|
-
padding: .15rem;
|
24
|
-
}
|
25
|
-
|
26
|
-
.progress{
|
27
|
-
max-width: 85%;
|
28
|
-
margin-bottom: 0;
|
29
|
-
}
|
30
|
-
|
31
|
-
.progress-figure{
|
32
|
-
font-size: 2.5rem;
|
33
|
-
font-weight: 300;
|
34
|
-
color: lighten($dark-gray, 50);
|
35
|
-
|
36
|
-
@include breakpoint(medium){
|
37
|
-
font-size: 4rem;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
.scope-filters{
|
44
|
-
div{
|
45
|
-
color: lighten($dark-gray, 50);
|
46
|
-
margin-bottom: .15rem;
|
47
|
-
}
|
48
|
-
|
49
|
-
span{
|
50
|
-
margin-right: .5rem;
|
51
|
-
}
|
52
|
-
|
53
|
-
ul{
|
54
|
-
display: inline;
|
55
|
-
}
|
56
|
-
|
57
|
-
li.active{
|
58
|
-
background-color: $medium-gray;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
|
62
|
-
.description{
|
63
|
-
margin-bottom: 1rem;
|
64
|
-
}
|
65
|
-
|
66
|
-
.title-action{
|
67
|
-
margin-bottom: .5rem;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
.result-view{
|
72
|
-
.title{
|
73
|
-
display: flex;
|
74
|
-
align-items: flex-start;
|
75
|
-
margin-bottom: 1rem;
|
76
|
-
flex-direction: column;
|
77
|
-
|
78
|
-
.icon{
|
79
|
-
fill: $secondary;
|
80
|
-
min-width: 1.5rem;
|
81
|
-
min-height: 1.5rem;
|
82
|
-
margin-bottom: .5rem;
|
83
|
-
|
84
|
-
@include breakpoint(medium){
|
85
|
-
margin-right: .75rem;
|
86
|
-
margin-top: .5rem;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
@include breakpoint(medium){
|
91
|
-
flex-direction: row;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
.progress-level{
|
96
|
-
background: $white;
|
97
|
-
border-radius: 4px;
|
98
|
-
padding: 1.5rem;
|
99
|
-
border: 1px solid $medium-gray;
|
100
|
-
|
101
|
-
.progress-label{
|
102
|
-
display: flex;
|
103
|
-
justify-content: space-between;
|
104
|
-
align-items: flex-end;
|
105
|
-
margin-bottom: .5rem;
|
106
|
-
|
107
|
-
.progress-text{
|
108
|
-
color: lighten($dark-gray, 30);
|
109
|
-
}
|
110
|
-
|
111
|
-
.progress-figure{
|
112
|
-
line-height: 1;
|
113
|
-
font-size: 2.25rem;
|
114
|
-
font-weight: 600;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
.result-description div{
|
120
|
-
margin-bottom: 1rem;
|
121
|
-
}
|
122
|
-
|
123
|
-
.result-meta{
|
124
|
-
margin-bottom: .5rem;
|
125
|
-
font-size: 1.25rem;
|
126
|
-
|
127
|
-
.result-meta--label{
|
128
|
-
font-weight: 600;
|
129
|
-
color: lighten($dark-gray, 30);
|
130
|
-
}
|
131
|
-
|
132
|
-
.result-meta--data{
|
133
|
-
font-size: 1.15rem;
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
hr{
|
138
|
-
width: 100%;
|
139
|
-
margin: 0 0 3rem;
|
140
|
-
}
|
141
|
-
|
142
|
-
.timeline{
|
143
|
-
.timeline__info{
|
144
|
-
background-color: transparent;
|
145
|
-
border: none;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= cell "decidim/proposals/proposals_picker", current_component %>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<div class="intro section">
|
2
|
-
<div class="row">
|
3
|
-
<div class="small-12 medium-7 columns">
|
4
|
-
<%= decidim_sanitize_admin translated_attribute(component_settings.intro) %>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<% if component_settings.display_progress_enabled? && progress_calculator(current_scope, nil).present? %>
|
8
|
-
<div class="small-12 medium-5 columns">
|
9
|
-
<div class="progress-level">
|
10
|
-
<p><%= t(".global_status") %></p>
|
11
|
-
|
12
|
-
<div class="progress">
|
13
|
-
<div class="progress-meter" style="width:<%= progress_calculator(current_scope, nil) %>%"></div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
<div class="progress-figure">
|
17
|
-
<%= display_percentage progress_calculator(current_scope, nil) %>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
<% end %>
|
22
|
-
</div>
|
23
|
-
</div>
|
@@ -1,47 +0,0 @@
|
|
1
|
-
<div class="title-action">
|
2
|
-
<h2 id="results-count" class="title-action__title section-heading">
|
3
|
-
<%= heading_leaf_level_results(total_count) %>
|
4
|
-
</h2>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="row">
|
8
|
-
<div id="results" class="columns">
|
9
|
-
<div class="card card--action card--list">
|
10
|
-
<% results.each do |result| %>
|
11
|
-
<div class="card--list__item">
|
12
|
-
<%= icon "actions", class: "card--list__icon", role: "img", "aria-hidden": true, remove_icon_class: true %>
|
13
|
-
|
14
|
-
<%= link_to result_path(result), class: "card--list__text card__link card__link--block" do %>
|
15
|
-
<h4 class="card--list__heading">
|
16
|
-
<%= translated_attribute(result.title) %>
|
17
|
-
</h4>
|
18
|
-
|
19
|
-
<div class="text-small card--meta">
|
20
|
-
<% if result.start_date %>
|
21
|
-
<strong><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></strong>
|
22
|
-
<span><%= l result.start_date, format: :decidim_short %></span>
|
23
|
-
<% end %>
|
24
|
-
|
25
|
-
<% if result.end_date %>
|
26
|
-
<strong><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></strong>
|
27
|
-
<span><%= l result.end_date, format: :decidim_short %></span>
|
28
|
-
<% end %>
|
29
|
-
|
30
|
-
<% if result.status %>
|
31
|
-
<strong><%= t("models.result.fields.status", scope: "decidim.accountability") %></strong>
|
32
|
-
<span><%= translated_attribute(result.status.name) %></span>
|
33
|
-
<% end %>
|
34
|
-
</div>
|
35
|
-
<% end %>
|
36
|
-
|
37
|
-
<% if component_settings.display_progress_enabled? && result.progress.present? %>
|
38
|
-
<div class="card--list__data">
|
39
|
-
<span class="card--list__data__number"><%= display_percentage result.progress %></span>
|
40
|
-
</div>
|
41
|
-
<% end %>
|
42
|
-
</div>
|
43
|
-
<% end %>
|
44
|
-
</div>
|
45
|
-
<%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
|
46
|
-
</div>
|
47
|
-
</div>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<div class="title-action">
|
2
|
-
<h2 id="results-count" class="title-action__title section-heading">
|
3
|
-
<%= heading_parent_level_results(total_count) %>
|
4
|
-
</h2>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="row">
|
8
|
-
<div id="results" class="columns">
|
9
|
-
<div class="card card--action card--list">
|
10
|
-
<% results.each do |result| %>
|
11
|
-
<div class="card--list__item">
|
12
|
-
<%= icon "proposals", class: "card--list__icon", remove_icon_class: true %>
|
13
|
-
|
14
|
-
<%= link_to result, class: "card--list__text card__link card__link--block" do %>
|
15
|
-
<h3 class="card--list__heading">
|
16
|
-
<%= translated_attribute result.title %>
|
17
|
-
</h3>
|
18
|
-
|
19
|
-
<span class="text-small"><%= heading_leaf_level_results(result.children.count) %></span>
|
20
|
-
<% end %>
|
21
|
-
|
22
|
-
<% if component_settings.display_progress_enabled? && result.progress.present? %>
|
23
|
-
<div class="card--list__data">
|
24
|
-
<span class="card--list__data__number"><%= display_percentage result.progress %></span>
|
25
|
-
</div>
|
26
|
-
<% end %>
|
27
|
-
</div>
|
28
|
-
<% end %>
|
29
|
-
</div>
|
30
|
-
<%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
|
31
|
-
</div>
|
32
|
-
</div>
|
@@ -1,81 +0,0 @@
|
|
1
|
-
<div class="row accountability result-view">
|
2
|
-
<div class="small-12 columns">
|
3
|
-
<%= render partial: "decidim/accountability/results/nav_breadcrumb", locals: { category: result.parent.try(:category) || result.category } %>
|
4
|
-
</div>
|
5
|
-
<div class="small-12 columns">
|
6
|
-
<div class="title">
|
7
|
-
<%= icon("proposals", class: "icon", aria_label: t("models.result.fields.title", scope: "decidim.accountability"), role: "img") %>
|
8
|
-
<h2 class="heading2"><%= translated_attribute result.title %></h2>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="row">
|
12
|
-
<% if component_settings.display_progress_enabled? && result.progress.present? %>
|
13
|
-
<div class="columns section mediumlarge-3 mediumlarge-push-9">
|
14
|
-
<div class="progress-level">
|
15
|
-
<div class="progress-label">
|
16
|
-
<span class="progress-text"><%= t("models.result.fields.progress", scope: "decidim.accountability") %>:</span>
|
17
|
-
<span class="progress-figure">
|
18
|
-
<%= display_percentage result.progress %>
|
19
|
-
</span>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<div class="progress">
|
23
|
-
<div class="progress-meter" style="width:<%= result.progress %>%"></div>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
<% end %>
|
28
|
-
|
29
|
-
<div class="columns mediumlarge-9 <%= component_settings.display_progress_enabled? && result.progress.present? ? "mediumlarge-pull-3" : "" %>">
|
30
|
-
<div class="section">
|
31
|
-
<div class="result-meta row">
|
32
|
-
<% if result.start_date %>
|
33
|
-
<div class="result-meta--label medium-2 columns"><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></div>
|
34
|
-
<div class="result-meta--data medium-10 columns"><%= l result.start_date, format: :decidim_short %></div>
|
35
|
-
<% end %>
|
36
|
-
</div>
|
37
|
-
|
38
|
-
<div class="result-meta row">
|
39
|
-
<% if result.end_date %>
|
40
|
-
<div class="result-meta--label medium-2 columns"><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></div>
|
41
|
-
<div class="result-meta--data medium-10 columns"><%= l result.end_date, format: :decidim_short %></div>
|
42
|
-
<% end %>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div class="result-meta row">
|
46
|
-
<% if result.status %>
|
47
|
-
<div class="result-meta--label medium-2 columns"><%= t("models.result.fields.status", scope: "decidim.accountability") %></div>
|
48
|
-
<div class="result-meta--data medium-10 columns"><%= translated_attribute(result.status.name) %></div>
|
49
|
-
<% end %>
|
50
|
-
</div>
|
51
|
-
|
52
|
-
<div class="result-meta row">
|
53
|
-
<% if result.status && translated_attribute(result.status.description).present? %>
|
54
|
-
<div class="result-meta--label medium-2 columns"><%= t("models.status.fields.description", scope: "decidim.accountability") %></div>
|
55
|
-
<div class="result-meta--data medium-10 columns"><%= translated_attribute(result.status.description) %></div>
|
56
|
-
<% end %>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
|
61
|
-
<hr>
|
62
|
-
|
63
|
-
<div class="small-12 mediumlarge-8 large-9 columns">
|
64
|
-
<div class="section result-description">
|
65
|
-
<%= decidim_sanitize_admin(translated_attribute(result.description)) %>
|
66
|
-
<%= cell "decidim/tags", result, context: { extra_classes: ["tags--result"] } %>
|
67
|
-
</div>
|
68
|
-
</div>
|
69
|
-
|
70
|
-
<%= render partial: "stats_box" %>
|
71
|
-
|
72
|
-
<%= render partial: "timeline", locals: { result: result } if result.timeline_entries.any? %>
|
73
|
-
|
74
|
-
<%= attachments_for result %>
|
75
|
-
</div>
|
76
|
-
</div>
|
77
|
-
|
78
|
-
<%= render partial: "stats" %>
|
79
|
-
</div>
|
80
|
-
|
81
|
-
<%= comments_for result %>
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<div class="row accountability result-view">
|
2
|
-
<div class="small-12 columns">
|
3
|
-
<%= render partial: "decidim/accountability/results/nav_breadcrumb", locals: { category: result.try(:category) } %>
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<div class="small-12 columns">
|
7
|
-
<h2 class="heading2"><%= translated_attribute result.title %></h2>
|
8
|
-
|
9
|
-
<div class="row">
|
10
|
-
<div class="mediumlarge-8 columns">
|
11
|
-
<div class="section">
|
12
|
-
<div class="description">
|
13
|
-
<%== translated_attribute result.description %>
|
14
|
-
</div>
|
15
|
-
<%= cell "decidim/tags", result, context: { extra_classes: ["tags--result"] } %>
|
16
|
-
|
17
|
-
<%= render partial: "results_leaf", locals: { results: result.children.page(1).per(result.children_count), total_count: result.children_count } %>
|
18
|
-
|
19
|
-
<%= attachments_for result %>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
<%= render partial: "stats_box" %>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<%= render partial: "stats" %>
|
28
|
-
|
29
|
-
<%= comments_for result %>
|
30
|
-
</div>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<div class="small-12 columns section">
|
2
|
-
<div class="row">
|
3
|
-
<div class="small-12 medium-9 columns">
|
4
|
-
<%= linked_resources_for result, :proposals, "included_proposals" %>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="small-12 medium-9 columns">
|
8
|
-
<%= linked_resources_for result, :projects, "included_projects" %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="small-12 medium-9 columns end">
|
12
|
-
<%= linked_resources_for result, :meetings, "meetings_through_proposals" %>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
</div>
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<div class="small-12 columns">
|
2
|
-
<div class="section">
|
3
|
-
<h4 class="section-heading"><%= t(".title") %></h4>
|
4
|
-
<ol class="timeline">
|
5
|
-
<% result.timeline_entries.each_with_index do |timeline_entry, i| %>
|
6
|
-
<li class="timeline__item ">
|
7
|
-
<div class="timeline__phase">
|
8
|
-
<span class="timeline__phase__number"><%= i + 1 %></span>
|
9
|
-
</div>
|
10
|
-
<div class="timeline__info">
|
11
|
-
<div class="timeline__description">
|
12
|
-
<span class="timeline__date text-small">
|
13
|
-
<%= l timeline_entry.entry_date, format: :decidim_short %>
|
14
|
-
</span>
|
15
|
-
<h4 class="timeline__title">
|
16
|
-
<%= translated_attribute timeline_entry.title %>
|
17
|
-
</h4>
|
18
|
-
|
19
|
-
<% if translated_attribute(timeline_entry.description).present? %>
|
20
|
-
<div class="timeline__description__description">
|
21
|
-
<%= decidim_escape_translated(timeline_entry.description) %>
|
22
|
-
</div>
|
23
|
-
<% end %>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</li>
|
27
|
-
<% end %>
|
28
|
-
</ol>
|
29
|
-
</div>
|
30
|
-
</div>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div class="row accountability">
|
2
|
-
<div class="small-12 columns">
|
3
|
-
<%= render partial: "decidim/accountability/results/nav_breadcrumb", locals: { category: versioned_resource.parent.try(:category) || versioned_resource.try(:category) } %>
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<%= cell(
|
7
|
-
"decidim/versions_list",
|
8
|
-
versioned_resource,
|
9
|
-
version_path: proc { |version_index| url_for(action: :show, id: version_index) },
|
10
|
-
i18n_scope: "decidim.accountability.results.show.stats"
|
11
|
-
) %>
|
12
|
-
</div>
|
data/config/locales/he-IL.yml
DELETED
@@ -1,219 +0,0 @@
|
|
1
|
-
---
|
2
|
-
he:
|
3
|
-
activemodel:
|
4
|
-
attributes:
|
5
|
-
result:
|
6
|
-
decidim_accountability_status_id: סטטוס
|
7
|
-
decidim_category_id: קטגוריה
|
8
|
-
decidim_scope_id: היקף
|
9
|
-
description: תיאור
|
10
|
-
end_date: תאריך סיום
|
11
|
-
progress: התקדמות
|
12
|
-
project_ids: פרויקטים כלולים
|
13
|
-
proposals: הצעות כלולות
|
14
|
-
start_date: תאריך התחלה
|
15
|
-
title: כותרת
|
16
|
-
updated_at: עודכן ב-
|
17
|
-
status:
|
18
|
-
description: תיאור
|
19
|
-
key: מפתח
|
20
|
-
name: שם
|
21
|
-
progress: התקדמות
|
22
|
-
timeline_entry:
|
23
|
-
description: תיאור
|
24
|
-
entry_date: תאריך
|
25
|
-
title: כותרת
|
26
|
-
models:
|
27
|
-
decidim/accountability/proposal_linked_event: הצעה כלולה בתוצאה
|
28
|
-
decidim/accountability/result_progress_updated_event: התקדמות התוצאה עודכנה
|
29
|
-
activerecord:
|
30
|
-
models:
|
31
|
-
decidim/accountability/result:
|
32
|
-
one: תוצאה
|
33
|
-
two: תוצאות
|
34
|
-
many: תוצאות
|
35
|
-
other: תוצאות
|
36
|
-
decidim:
|
37
|
-
accountability:
|
38
|
-
actions:
|
39
|
-
attachment_collections: תיקיות
|
40
|
-
attachments: צרופות
|
41
|
-
confirm_destroy: האם את/ה בטוח/ה שברצונך למחוק את {name}?
|
42
|
-
destroy: מחיקה
|
43
|
-
edit: עריכה
|
44
|
-
preview: תצוגה מקדימה
|
45
|
-
timeline_entries: אבולוציה של הפרויקט
|
46
|
-
title: פעולות
|
47
|
-
admin:
|
48
|
-
exports:
|
49
|
-
result_comments: תגובות
|
50
|
-
results: תוצאות
|
51
|
-
import_results:
|
52
|
-
new:
|
53
|
-
download_export: להורדת הייצוא כקובץ CSV
|
54
|
-
import: ייבוא
|
55
|
-
models:
|
56
|
-
result:
|
57
|
-
name: תוצאה
|
58
|
-
status:
|
59
|
-
name: סטטוס
|
60
|
-
results:
|
61
|
-
edit:
|
62
|
-
title: עריכת תוצאה
|
63
|
-
update: עדכון תוצאה
|
64
|
-
index:
|
65
|
-
title: תוצאות
|
66
|
-
new:
|
67
|
-
create: יצירת תוצאה
|
68
|
-
title: תוצאה חדשה
|
69
|
-
shared:
|
70
|
-
subnav:
|
71
|
-
statuses: סטטוסים
|
72
|
-
statuses:
|
73
|
-
edit:
|
74
|
-
title: עריכת סטטוס
|
75
|
-
update: עדכון סטטוס
|
76
|
-
index:
|
77
|
-
title: סטטוסים
|
78
|
-
new:
|
79
|
-
create: יצירת סטטוס
|
80
|
-
title: סטטוס חדש
|
81
|
-
timeline_entries:
|
82
|
-
edit:
|
83
|
-
title: עריכת רשומה
|
84
|
-
update: עדכן רשומה
|
85
|
-
index:
|
86
|
-
title: ערכי ציר הזמן של הפרויקט
|
87
|
-
new:
|
88
|
-
create: יצירת רשומה
|
89
|
-
title: רשומה חדשה
|
90
|
-
admin_log:
|
91
|
-
result:
|
92
|
-
create: "%{user_name} תוצאה נוצרה %{resource_name} ב %{space_name}"
|
93
|
-
delete: "%{user_name} מחק.ה את %{resource_name} התוצאה ב %{space_name}"
|
94
|
-
update: "%{user_name} עדכן.ה תוצאה %{resource_name} ב %{space_name}"
|
95
|
-
status:
|
96
|
-
create: "%{user_name} יצר.ה את %{resource_name} הסטטוס"
|
97
|
-
delete: "%{user_name} מחק.ה את %{resource_name} הסטטוס"
|
98
|
-
update: "%{user_name} עדכנ.ה את %{resource_name} הסטטוס"
|
99
|
-
timeline_entry:
|
100
|
-
create: "%{user_name} יצר את הערך של ציר הזמן %{resource_name}"
|
101
|
-
delete: "%{user_name} מחק את הערך של ציר הזמן %{resource_name}"
|
102
|
-
update: "%{user_name} יצר את הערך של ציר הזמן %{resource_name}"
|
103
|
-
value_types:
|
104
|
-
parent_presenter:
|
105
|
-
not_found: 'ההורה לא נמצא במסד הנתונים (מזהה: %{id})'
|
106
|
-
content_blocks:
|
107
|
-
highlighted_results:
|
108
|
-
results: תוצאות
|
109
|
-
import_mailer:
|
110
|
-
import:
|
111
|
-
errors: שגיאות
|
112
|
-
row_number: שורה
|
113
|
-
subject: ייבוא מוצלח של תוצאות
|
114
|
-
success: ייבוא מוצלח של תוצאות. ניתן לעיין בתוצאות בממשק הניהול.
|
115
|
-
models:
|
116
|
-
result:
|
117
|
-
fields:
|
118
|
-
category: קטגוריה
|
119
|
-
created_at: נוצר
|
120
|
-
end_date: תאריך סיום
|
121
|
-
id: מספר מזהה
|
122
|
-
progress: התקדמות
|
123
|
-
scope: היקף
|
124
|
-
start_date: תאריך התחלה
|
125
|
-
status: סטטוס
|
126
|
-
title: כותרת
|
127
|
-
status:
|
128
|
-
fields:
|
129
|
-
description: תיאור
|
130
|
-
key: מפתח
|
131
|
-
name: שם
|
132
|
-
progress: התקדמות
|
133
|
-
timeline_entry:
|
134
|
-
fields:
|
135
|
-
entry_date: תאריך
|
136
|
-
title: כותרת
|
137
|
-
results:
|
138
|
-
count:
|
139
|
-
results_count:
|
140
|
-
one: תוצאה אחת
|
141
|
-
two: "שתי תוצאות"
|
142
|
-
many: "%{count} תוצאות"
|
143
|
-
other: "%{count} תוצאות"
|
144
|
-
filters:
|
145
|
-
all: הכל
|
146
|
-
home:
|
147
|
-
categories_label: קטגוריות
|
148
|
-
subcategories_label: תתי קטגוריות
|
149
|
-
home_header:
|
150
|
-
global_status: סטטוס ביצוע גלובלי
|
151
|
-
nav_breadcrumb:
|
152
|
-
global: ביצוע גלובלי
|
153
|
-
search:
|
154
|
-
search: חיפוש פעולה
|
155
|
-
show:
|
156
|
-
stats:
|
157
|
-
attendees: משתתפים.ות
|
158
|
-
back_to_resource: בחזרה לתוצאות
|
159
|
-
comments: תגובות
|
160
|
-
contributions: תרומות
|
161
|
-
last_edited_by: נערך לאחרונה על-ידי
|
162
|
-
last_updated_at: עודכן לאחרונה ב
|
163
|
-
meetings: פגישות
|
164
|
-
proposals: הצעות
|
165
|
-
votes: תמיכה
|
166
|
-
timeline:
|
167
|
-
title: אבולוציה של הפרויקט
|
168
|
-
admin:
|
169
|
-
filters:
|
170
|
-
results:
|
171
|
-
category_id_eq:
|
172
|
-
label: קטגוריה
|
173
|
-
scope_id_eq:
|
174
|
-
label: היקף
|
175
|
-
status_id_eq:
|
176
|
-
label: סטטוס
|
177
|
-
components:
|
178
|
-
accountability:
|
179
|
-
actions:
|
180
|
-
comment: תגובה
|
181
|
-
name: אחריותיות
|
182
|
-
settings:
|
183
|
-
global:
|
184
|
-
categories_label: שם ל"קטגוריות"
|
185
|
-
comments_enabled: איפשור תגובות
|
186
|
-
comments_max_length: אורך מקסימלי להערות (השאירו 0 לערך ברירת המחדל)
|
187
|
-
display_progress_enabled: הצגת התקדמות
|
188
|
-
heading_leaf_level_results: שם ל"פרויקטים"
|
189
|
-
heading_parent_level_results: שם ל"תוצאות"
|
190
|
-
intro: הקדמה
|
191
|
-
scope_id: היקף
|
192
|
-
scopes_enabled: היקפים מאופשרים
|
193
|
-
subcategories_label: שם ל"תתי קטוגריות"
|
194
|
-
step:
|
195
|
-
comments_blocked: תגובות חסומות
|
196
|
-
events:
|
197
|
-
accountability:
|
198
|
-
proposal_linked:
|
199
|
-
email_intro: 'ההצעה "%{proposal_title}" נכללה בתוצאה. ניתן לראות אותה מהעמוד הזה:'
|
200
|
-
email_outro: קיבלת הודעה זו מכיוון שאת.ה עוקב.ת אחר "%{proposal_title}". ניתן להפסיק לקבל התראות באמצעות הקישור הקודם.
|
201
|
-
email_subject: עדכון ל-%{proposal_title}
|
202
|
-
notification_title: ההצעה <a href="%{proposal_path}">%{proposal_title}</a> נכללה בתוצאת <a href="%{resource_path}">%{resource_title}</a>.
|
203
|
-
result_progress_updated:
|
204
|
-
email_intro: 'התוצאה "%{resource_title}", הכוללת את ההצעה "%{proposal_title}", הושלמה כעת %{progress}%. ניתן לראות את זה מהעמוד הזה:'
|
205
|
-
email_outro: קיבלת הודעה זו מכיוון שאת.ה עוקב.ת אחר "%{proposal_title}", וההצעה הזו כלולה בתוצאה "%{resource_title}". ניתן להפסיק לקבל התראות באמצעות הקישור הקודם.
|
206
|
-
email_subject: עדכון ל-%{resource_title} התקדמות
|
207
|
-
notification_title: התוצאה <a href="%{resource_path}">%{resource_title}</a>, הכוללת את ההצעה <a href="%{proposal_path}">%{proposal_title}</a>, היא כעת %{ התקדמות}% הושלמה.
|
208
|
-
metrics:
|
209
|
-
results:
|
210
|
-
description: מספר התוצאות שנוצרו
|
211
|
-
object: תוצאות
|
212
|
-
title: תוצאות
|
213
|
-
resource_links:
|
214
|
-
included_projects:
|
215
|
-
result_project: פרויקטים כלולים בתוצאה זו
|
216
|
-
included_proposals:
|
217
|
-
result_proposal: הצעות כלולות בתוצאה זו
|
218
|
-
statistics:
|
219
|
-
results_count: תוצאות
|