decidim-accountability 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js.es6 +6 -42
- data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +8 -1
- data/app/assets/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +8 -0
- data/app/assets/stylesheets/decidim/accountability/accountability/_results.scss +0 -3
- data/app/cells/decidim/accountability/highlighted_results_for_component/show.erb +3 -3
- data/app/cells/decidim/accountability/highlighted_results_for_component_cell.rb +1 -1
- data/app/commands/decidim/accountability/admin/create_imported_result.rb +106 -0
- data/app/commands/decidim/accountability/admin/update_imported_result.rb +110 -0
- data/app/controllers/decidim/accountability/admin/import_results_controller.rb +34 -0
- data/app/controllers/decidim/accountability/admin/results_controller.rb +2 -20
- data/app/controllers/decidim/accountability/versions_controller.rb +7 -8
- data/app/jobs/application_job.rb +4 -0
- data/app/jobs/decidim/accountability/admin/import_results_csv_job.rb +19 -0
- data/app/mailers/decidim/accountability/import_mailer.rb +26 -0
- data/app/queries/decidim/accountability/metrics/results_metric_manage.rb +2 -8
- data/app/services/decidim/accountability/results_csv_importer.rb +139 -0
- data/app/views/decidim/accountability/admin/import_results/new.html.erb +22 -0
- data/app/views/decidim/accountability/admin/results/_form.html.erb +1 -5
- data/app/views/decidim/accountability/admin/results/index.html.erb +1 -0
- data/app/views/decidim/accountability/admin/results/proposals_picker.html.erb +1 -0
- data/app/views/decidim/accountability/import_mailer/import.html.erb +25 -0
- data/app/views/decidim/accountability/results/_linked_results.html.erb +1 -1
- data/app/views/decidim/accountability/results/_results_leaf.html.erb +5 -5
- data/app/views/decidim/accountability/results/_results_parent.html.erb +2 -2
- data/app/views/decidim/accountability/results/_scope_filters.html.erb +16 -3
- data/app/views/decidim/accountability/results/_search.html.erb +3 -3
- data/app/views/decidim/accountability/results/_stats_box.html.erb +11 -4
- data/app/views/decidim/accountability/results/_timeline.html.erb +2 -2
- data/app/views/decidim/accountability/versions/index.html.erb +7 -25
- data/app/views/decidim/accountability/versions/show.html.erb +9 -31
- data/app/views/decidim/participatory_spaces/_result.html.erb +3 -3
- data/config/locales/ar.yml +1 -24
- data/config/locales/bg-BG.yml +220 -0
- data/config/locales/ca.yml +19 -22
- data/config/locales/cs.yml +44 -47
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/de.yml +19 -22
- data/config/locales/el.yml +222 -0
- data/config/locales/en.yml +19 -22
- data/config/locales/es-MX.yml +19 -22
- data/config/locales/es-PY.yml +19 -22
- data/config/locales/es.yml +19 -22
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/eu.yml +1 -24
- data/config/locales/fi-plain.yml +19 -22
- data/config/locales/fi.yml +32 -35
- data/config/locales/fr-CA.yml +222 -0
- data/config/locales/fr.yml +18 -22
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +1 -24
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hu.yml +18 -22
- data/config/locales/id-ID.yml +1 -24
- data/config/locales/is-IS.yml +1 -21
- data/config/locales/it.yml +37 -40
- data/config/locales/ja-JP.yml +221 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lv-LV.yml +218 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/nl.yml +18 -22
- data/config/locales/no.yml +25 -28
- data/config/locales/pl.yml +46 -49
- data/config/locales/pt-BR.yml +2 -25
- data/config/locales/pt.yml +59 -62
- data/config/locales/ro-RO.yml +223 -0
- data/config/locales/ru.yml +1 -24
- data/config/locales/sk-SK.yml +224 -0
- data/config/locales/sk.yml +207 -0
- data/config/locales/sl.yml +129 -0
- data/config/locales/sr-CS.yml +205 -0
- data/config/locales/sv.yml +21 -24
- data/config/locales/tr-TR.yml +1 -24
- data/config/locales/uk.yml +1 -21
- data/db/migrate/20200320105903_index_foreign_keys_in_decidim_accountability_results.rb +7 -0
- data/lib/decidim/accountability/admin_engine.rb +4 -3
- data/lib/decidim/accountability/version.rb +1 -1
- metadata +54 -24
- data/app/views/decidim/accountability/admin/results/_proposals.html.erb +0 -12
- data/app/views/decidim/accountability/versions/_version.html.erb +0 -20
@@ -1,12 +0,0 @@
|
|
1
|
-
<div class="picker-header">
|
2
|
-
<h1><%= t(".current_selection") %></h1>
|
3
|
-
</div>
|
4
|
-
<div class="picker-content">
|
5
|
-
<input type="text" name="proposal-search" id="data_picker-autocomplete">
|
6
|
-
</div>
|
7
|
-
<div class="picker-footer">
|
8
|
-
<div class="buttons button--double">
|
9
|
-
<a id="proposal-picker-choose" class="button mute" href="<%= proposals_results_path(current_component, format: :json) %>" data-picker-value="" data-picker-text="" data-picker-choose><%= t(".select") %></a>
|
10
|
-
<a class="button clear" data-close=""><%= t(".close") %></a>
|
11
|
-
</div>
|
12
|
-
</div>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<div class="card--list__item">
|
2
|
-
<div class="card--list__text">
|
3
|
-
<div>
|
4
|
-
<%= link_to result_version_path(result, index + 1) do %>
|
5
|
-
<h6 class="card--list__heading heading6">
|
6
|
-
<%= t(".version_index", index: index + 1) %>
|
7
|
-
</h6>
|
8
|
-
<% end %>
|
9
|
-
<div class="author-data">
|
10
|
-
<%= render_resource_editor(version) %>
|
11
|
-
<%= l version.created_at, format: :decidim_short %>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
<div class="card--list__data">
|
16
|
-
<%= link_to result_version_path(result, index + 1), class: "card--list__data__icon" do %>
|
17
|
-
<%= icon "chevron-right" %>
|
18
|
-
<% end %>
|
19
|
-
</div>
|
20
|
-
</div>
|