decidim-accountability 0.9.3 → 0.10.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 +46 -0
- data/app/assets/javascripts/decidim/accountability/version_diff.js.es6 +2 -6
- data/app/commands/decidim/accountability/admin/create_result.rb +15 -0
- data/app/commands/decidim/accountability/admin/update_status.rb +1 -1
- data/app/commands/decidim/accountability/admin/update_timeline_entry.rb +1 -1
- data/app/controllers/decidim/accountability/admin/results_controller.rb +20 -0
- data/app/events/decidim/accountability/proposal_linked_event.rb +21 -0
- data/app/forms/decidim/accountability/admin/result_form.rb +13 -3
- data/app/models/decidim/accountability/result.rb +8 -1
- data/app/presenters/decidim/accountability/admin_log/result_presenter.rb +44 -0
- data/app/views/decidim/accountability/admin/results/_form.html.erb +3 -5
- data/app/views/decidim/accountability/admin/results/_proposals.html.erb +12 -0
- data/app/views/decidim/accountability/results/_home_categories.html.erb +3 -3
- data/app/views/decidim/accountability/results/_home_header.html.erb +1 -1
- data/app/views/decidim/accountability/results/_nav_breadcrumb.html.erb +12 -4
- data/app/views/decidim/accountability/results/_results_leaf.html.erb +1 -1
- data/app/views/decidim/accountability/results/_results_parent.html.erb +1 -1
- data/app/views/decidim/accountability/results/_show_leaf.html.erb +1 -1
- data/app/views/decidim/accountability/results/_show_parent.html.erb +1 -1
- data/app/views/decidim/accountability/results/_stats_box.html.erb +20 -2
- data/app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb +12 -0
- data/app/views/decidim/participatory_processes/participatory_process_groups/_result.html.erb +32 -0
- data/app/views/decidim/participatory_spaces/_highlighted_results.html.erb +14 -0
- data/app/views/decidim/participatory_spaces/_result.html.erb +32 -0
- data/config/locales/ca.yml +28 -1
- data/config/locales/en.yml +28 -1
- data/config/locales/es.yml +28 -1
- data/config/locales/eu.yml +28 -1
- data/config/locales/fi.yml +28 -1
- data/config/locales/fr.yml +28 -1
- data/config/locales/gl.yml +28 -1
- data/config/locales/it.yml +28 -1
- data/config/locales/nl.yml +28 -1
- data/config/locales/pl.yml +28 -6
- data/config/locales/pt-BR.yml +28 -1
- data/config/locales/pt.yml +28 -1
- data/config/locales/ru.yml +0 -1
- data/config/locales/sv.yml +28 -1
- data/config/locales/uk.yml +3 -3
- data/lib/decidim/accountability/admin_engine.rb +3 -0
- data/lib/decidim/accountability/engine.rb +34 -0
- data/lib/decidim/accountability/feature.rb +1 -0
- data/lib/decidim/accountability/version.rb +1 -1
- metadata +29 -22
- data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js +0 -9
@@ -1,9 +0,0 @@
|
|
1
|
-
// = require_self
|
2
|
-
|
3
|
-
$("#result_decidim_accountability_status_id").change(function () {
|
4
|
-
/* eslint-disable no-invalid-this */
|
5
|
-
const progress = $(this).find(':selected').data('progress')
|
6
|
-
if (progress || progress === 0) {
|
7
|
-
$("#result_progress").val(progress);
|
8
|
-
}
|
9
|
-
});
|