Javi Martín
82b0a6a92d
Remove new CSV report generation
...
The new CSV report was more configurable and could work on proposals,
processes and comments. However, it had several issues.
In the public area, by default it generated a blank file.
In the admin section, the report was hard to configure and it generated
a file with less quality than the old system.
So until we improve this system, we're bringing back the old investment
CSV exporter.
This commit reverts most of commit 9d1ca3bf .
2019-11-06 00:04:02 +01:00
Javi Martín
8ff728ee83
Use the shared partial to render errors
...
We were using it most of the time, but in some places we still had
duplicated code.
2019-10-25 15:15:47 +02:00
Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
taitus
27a3ff28d3
Align admin legislation processes form fields with new translations interface
2019-07-01 14:49:44 +02:00
Senén Rodero Rodríguez
146c09adb7
Update references to new translation interface
2019-07-01 14:49:43 +02:00
German Galia
9d1ca3bfd4
Report generation. Download csv
2019-06-12 10:17:31 +02:00
Julian Herrero
7b4b4b716c
Use double quotes in app/views/admin/legislation
2019-03-19 12:16:50 +01:00
decabeza
528a4b6e8e
Add default colours to admin banners
2019-03-13 13:17:42 +01:00
decabeza
4a532bf807
Use activerecord translations on admin legislation processes
2019-03-05 17:43:39 +01:00
decabeza
e1bbd0eef0
Add default colours for legislation processes header
2019-02-20 13:32:31 +01:00
decabeza
32d4495a88
Replace created at date to start and end date on admin legislation processes
2019-02-20 13:32:22 +01:00
decabeza
e68f5c0b77
Use labels for type text inputs
2019-02-08 12:29:00 +01:00
decabeza
8b295b14a3
Improve legislation processes form colors layout and add help text
2019-02-08 12:19:41 +01:00
decabeza
865dca85bf
Improve layout of admin legislation process form
2019-01-30 13:16:35 +01:00
Manu
d08fc08769
added i18n to process form
2019-01-21 12:02:27 -05:00
Manu
37edfb94a4
changed h4 instead of h3
2019-01-21 12:02:27 -05:00
Manu
1e020f4df8
use banners js in new legislative process
2019-01-21 12:02:27 -05:00
Manu
bd4e12112d
Add image to legislation processes and banner colors
2019-01-21 12:02:27 -05:00
Javi Martín
9ad8c5728a
Refactor legislation process subnav
2018-11-30 18:09:52 +01:00
Javi Martín
abf48af331
Rename draft_texts key to draft_versions
...
This way we can refactor the legislation tabs, since now all translation
keys follow the same convention (using the same name as the active tab
name).
2018-11-30 18:09:51 +01:00
João Lutz
34b58a5208
Adds draft phase functionality in legislation processes
2018-11-19 22:18:50 -02:00
Javi Martín
21cf39d5ed
Fix alignment in last translatable fields
...
When we grouped the fields together, the last one turned into a
`last-child`, which foundation automatically aligns to the right.
The markdown editor also needed to be tweaked a little bit.
2018-10-22 16:36:17 +02:00
Javi Martín
5bfc7ca2e3
Update legislation process translatable fields
2018-10-22 15:46:16 +02:00
Javi Martín
cc6da6be28
Fix inputs in legislation process translations
...
They were accidentally changed from `text_area` to `text_field` when
making them translatable.
2018-09-19 14:54:24 +02:00
Marko Lovic
d78aea1fd3
Make Legistlation Processes translatable
2018-09-19 14:54:24 +02:00
decabeza
f8707a73cd
Unifies styles and views for admin legislation processes
2018-07-31 12:50:48 +02:00
decabeza
4fca07172c
Reorders and improve i18n for legislation processes form
2018-06-08 18:45:52 +02:00
decabeza
bf4d1cd8e2
Adss missing th on legislation processes index table
2018-06-08 18:45:10 +02:00
decabeza
ee884ed998
Updates active to is-active class for menus
2018-06-06 12:01:16 +02:00
Raimond Garcia
ad37606129
Merge branch 'master' into legislation-processes-documents
2017-11-08 11:31:09 +01:00
decabeza
f0cfe50de4
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-25 11:52:31 +02:00
Manuel Ortega
97fb986626
Added documentable feature to legislation processes
2017-10-18 19:50:34 +02:00
decabeza
96bd8cec00
fixes styles on admin legislation processes subnav
2017-10-13 18:54:26 +02:00
María Checa
c811fd46f0
Proposals description migration and form
...
- Added to legislation processes a new attribute called `proposals_description`.
- Then created new views to show a form for the `@process` to edit this attribute **from in the proposals section**.
- Completed translations for new views.
2017-09-13 15:48:07 +02:00
María Checa
dc9fe973f4
Added proposals phase attributes to legislation processes form
...
Also added them to the list of accepted params and completed translations.
2017-09-13 12:33:16 +02:00
decabeza
0b235d69d4
adds consistency for back links
2017-07-26 18:18:30 +02:00
Eduardo Martinez Echevarria
dfa9c988ad
Add checkbox to set published in process admin management
2017-06-30 15:08:23 +02:00
Bertocq
33e825672c
Rename label for legislation process active checkbox to enabled on both translations and form
2017-06-13 23:56:31 +02:00
Bertocq
73ff68815d
Update admin legislation process controller and form to allow enabling/disabling phase/publications
2017-06-13 23:50:12 +02:00
Bertocq
8710d8c0d3
Replace old active_phase? for new phase/publication enabled? for legislation processes
2017-06-13 22:04:36 +02:00
Bertocq
e55328caf4
Rename legislation process final_version_publication phase name to more descriptive result_publication
2017-06-13 22:04:36 +02:00
Bertocq
0c27f1ffde
Rename Legislation Process final_publication_date field to more descriptive result_publication_date
2017-06-13 22:04:36 +02:00
Bertocq
02d31953be
Remove Target field from Legislative Process from views, i18n, factories and specs
2017-06-10 23:16:13 +02:00
Bertocq
d624a08abc
Remove How To Participate field from Legislative Process from views, i18n, factories and specs
2017-06-10 23:11:55 +02:00
Bertocq
c05744b846
Add summary field to the admin form for Legislative Processes, plus placeholder translations
2017-06-07 18:43:34 +02:00
decabeza
02055bd09a
hides legislation empty tables, improves table styles
2017-05-24 13:34:37 +02:00
decabeza
5364ec106a
fixes headings structure on legislation admin
2017-05-24 13:04:19 +02:00
decabeza
9be616f62c
improves admin legislation forms
2017-05-23 13:54:36 +02:00
Fernando Blat
04ad8bb6c7
Refactor JS and add update test
2017-02-10 09:48:28 +01:00
Amaia Castro
132d5622ca
Checkboxes for process dates
2017-02-09 19:09:59 +01:00