Julian Herrero
df08e42c3b
Use preferred format for array of strings
2019-02-21 15:18:34 +01:00
Alberto
f9476eaa6a
Merge pull request #3323 from consul/ui-fixes
...
[Backport] Fix UI details for a better UX and design
2019-02-20 14:37:46 +01:00
Javier Martín
ea0bec3574
Merge pull request #3319 from consul/backport-image_attributes
...
Reuse image attributes in legislation processes
2019-02-20 13:46:40 +01:00
decabeza
0d834744fd
Replace open to active filter on admin legislation processes index
...
Now active filter show open processes and the next ones, processes with a start date greather than current date.
2019-02-20 13:32:09 +01:00
Javi Martín
af9a2179eb
Reuse image attributes in legislation processes
...
It wasn't originally added because at the time legislation processes
didn't have images.
2019-02-19 19:57:27 +01:00
Julian Herrero
884274c4ad
Add a description for open polls
2019-02-18 13:34:07 +01:00
Javier Martín
b330de01f6
Merge pull request #3148 from matisnape/budget_investments_sorting_columns
...
Add sort links to admin tables
2019-02-15 19:19:11 +01:00
Javier Martín
a0fb19f0b4
Merge branch 'master' into feature/3153
2019-02-15 16:25:50 +01:00
Julian Nicolas Herrero
4a12425987
Merge pull request #3296 from consul/make_budgets_translatable
...
[Backport] Make budgets translatable
2019-02-13 19:01:13 +01:00
Julian Herrero
922600252c
Make budget headings translatable
2019-02-13 13:35:07 +01:00
Julian Herrero
1c35ec99c1
Make budget groups translatable
2019-02-13 12:30:37 +01:00
Julian Herrero
90d0a6e416
Make budget phases translatable
2019-02-13 11:44:56 +01:00
Julian Herrero
d76782f150
Make budgets translatable
2019-02-13 11:41:58 +01:00
Julian Herrero
5f4a369606
Deleting a booth shift with recounts or partial results.
...
Show a flash message that it's not possible to delete booth shifts
when they have associated recounts or partial results. Before an
execption was raised.
2019-02-12 18:59:51 +01:00
decabeza
33fabe18b8
Remove admin legislation processes past filter
2019-02-08 14:30:08 +01:00
decabeza
060a4c684f
Remove legislation processes next filter
2019-02-08 14:29:43 +01:00
decabeza
bc1679550b
Remove incoming polls filter
2019-02-08 14:28:19 +01:00
Alberto
282ae61139
Merge pull request #3252 from consul/custom-pages-cards
...
Allow select column width for widget cards
2019-02-05 17:37:46 +01:00
taitus
082cc41a1e
Allow admin set published_proposal field
2019-02-02 17:45:55 +01:00
decabeza
dfd4f60e15
Order admin poll list by starts_at date
2019-01-31 18:49:24 +01:00
decabeza
64cbed838a
Fix hound warnings
2019-01-31 17:23:45 +01:00
decabeza
e7fcf2ce35
Add select on cards form to select the number of columns
2019-01-31 17:06:01 +01:00
Julian Nicolas Herrero
81b65ec821
Merge pull request #3202 from consul/sort_legislation_processes_by_start_date
...
Sort Legislation Processes by descending start date
2019-01-29 17:30:02 +01:00
Alberto
41fe1e3922
Merge pull request #3152 from NahiaSolutions/add_image_to_legislation_processes
...
Add image to legislation processes and banner colors
2019-01-29 16:06:54 +01:00
Alberto
bd4826b25e
Merge branch 'master' into add_cards_to_custom_pages
2019-01-28 14:49:39 +01:00
Alberto
c297595e49
Merge branch 'master' into add_image_to_legislation_processes
2019-01-28 14:49:19 +01:00
Julian Herrero
33d6f6c18d
Sort Legislation Processes by descending start date
2019-01-22 18:51:22 +01:00
Manu
bd4e12112d
Add image to legislation processes and banner colors
2019-01-21 12:02:27 -05:00
Javi Martín
2926e4e375
Fix managing widget cards for homepage
...
The condition `params[:page_id] != 0` didn't work properly when editing
the homepage because in that case the parameter was `nil`, and the line
`SiteCustomization::Page.find(@card.site_customization_page_id)` raised
an exception because it couldn't find a page with a `nil` ID.
Fixing the issue while maintaining the check against `0` lead to complex
code, and so allowing `nil` in the database and assuming cards with no
`site_customization_page_id` belonged in the homepage seemed to be the
easiest solution.
2019-01-21 10:40:14 -05:00
Javi Martín
9c050ca6bd
Extract method to redirect when managing cards
2019-01-21 10:40:04 -05:00
Javi Martín
8a643c72e7
Use I18n for card notice messages
2019-01-21 10:39:42 -05:00
Manu
7657a0e0b4
added i18n text to custom pages cards
2019-01-18 09:54:43 -05:00
Manu
2dd953bdfd
added hound corrections and removed wrong tables form the schema.rb
2019-01-18 09:54:43 -05:00
Manu
722a431b54
Add cards to custom pages
2019-01-18 09:54:43 -05:00
Javi Martín
c5d32c5ab9
Manage progress bars in the admin area
2019-01-18 14:17:33 +01:00
Javi Martín
4f25581636
Add progress bar polymorphic views
2019-01-18 14:17:29 +01:00
rogelio-o
f1bb1ff8de
Moves attributes to a concern.
2019-01-14 20:26:47 +01:00
rogelio-o
ea76179002
Solves #3153 . It refactors images attributes.
2019-01-12 17:42:55 +01:00
Anna Anks Nowak
3ab70ff0d8
Move validating params to model
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
cb761c56c2
Fix issue with app crashing when sort_by param was incorrect
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
2523775d9f
Make the conditional more readable temporarily
2019-01-10 15:35:54 +01:00
Anna Anks Nowak
9786b0bf7d
Rewrite sorting to support direction param [ #2931 ]
2019-01-10 15:34:33 +01:00
Julian Nicolas Herrero
7ccab504f0
Merge pull request #3160 from consul/backport-1784-consistency_remove_semicolon_from_controllers
...
[Backport] Remove semicolons from controllers
2019-01-09 17:46:32 +01:00
Julian Nicolas Herrero
08a692341a
Merge pull request #3150 from consul/backport-1769-crud_budget_and_usa
...
[Backport] new CRUD budgets, content blocks and heading map
2019-01-09 17:35:46 +01:00
Julian Herrero
9a60135d9f
[Consistency] remove semicolons from controllers
2019-01-08 15:46:46 +01:00
María Checa
650fe2553e
Add default order for admin budget investments list
...
When there's no sorting option selected, by default it orders the investment list by supports and, for those with the same number of supports, by ID.
2019-01-02 12:52:28 +01:00
Julian Herrero
2081269a67
fix Hound violations
2019-01-02 10:46:31 +01:00
Raimond Garcia
a8de5306c8
Merge pull request #3091 from dpgigorro/2791-homepage-for-legislation-process
...
add homepage for legislation processes
2018-12-19 11:14:24 +01:00
Julian Nicolas Herrero
2175339609
Merge pull request #3106 from consul/2918-crud_budget_groups_headings
...
Change CRUD for budget groups and headings
2018-12-18 10:23:24 +01:00
dperez
bef404c443
add homepage for legislation processes
2018-12-15 18:04:24 +01:00