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
f38c4e3a0c
Highlight budgets menu when editing budget phases
2019-02-13 11:44:46 +01:00
rgarcia
55fb14ac14
do not display alert when supporting for whole city
2019-02-07 16:55:24 +01:00
Alberto
14e73e9086
Merge pull request #3269 from consul/homepage-feeds
...
[Backport] Change layout on homepage if feed debates and proposals are enabled
2019-02-06 14:32:46 +01:00
decabeza
218c8e1ae7
Change layout on homepage if feed debates and proposals are enabled
2019-02-05 17:28:57 +01:00
decabeza
a2161f3ace
Hide voted group css class if current filter is unfeasible
2019-02-05 17:16:04 +01:00
decabeza
5409db6c55
Show only selected investments on map from publishing prices phase
...
If there are no selected investements show all investments on map.
2019-02-05 14:01:27 +01:00
taitus
487c485fe0
Add new section on sidebar menu for recommended proposals
...
- Display recommended_proposals on new section as goals with toogle.
- Divide recommended actions into actions done and actions pending to clarify the information to the user as summary_recomended_actions.
2019-02-04 11:48:47 +01:00
Alberto
9475a0c6ee
Merge pull request #3249 from consul/custom-pages
...
Refactor processes header colors and custom pages
2019-01-30 20:05:20 +01:00
decabeza
773302f0d7
Show only random order for unfeasible and unselected investments
2019-01-30 14:16:25 +01:00
decabeza
5893ed7587
Create helper for legislation process header with custom colors
2019-01-30 13:15:42 +01:00
decabeza
2695e19e2f
Fix hound warnings
2019-01-29 17:54: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
ebe5bf13e7
Merge pull request #3149 from NahiaSolutions/add_cards_to_custom_pages
...
Add cards to custom pages
2019-01-29 16:05:47 +01:00
Alberto
78479ff0e7
Merge pull request #3228 from consul/milestones_public_progress_bar
...
[Backport] Add progress bars to milestones public view
2019-01-29 14:12:08 +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
decabeza
a497e57475
Replace progress tag to div class progress
2019-01-24 17:39:56 +01:00
Javi Martín
8c5907a3fb
Add percentage text to progress bars
...
Note we require extra <span> tags because the <progress> tag is an empty
tag (like <img>), and so it can't have ::before or ::after
pseudo-elements. There's a workaround for that, but currently it only
works on Chrome.
For some reason, the text seems to be slightly misaligned vertically in
all implementations I've tried. So the `top: -0.1rem` rule is a hack to
align it properly.
2019-01-24 17:34:04 +01:00
Javi Martín
e73f3bd97a
Add progress bars to milestones public view
2019-01-24 17:33:34 +01:00
decabeza
4498c26ff7
Create helper for active menus and show stats or results on poll subnav
2019-01-24 14:44:11 +01:00
Manu
b6cfe92d76
fixed banner styles issues
2019-01-21 12:02:27 -05:00
Manu
26db37a17f
fixed wrong menu selection inside site content
2019-01-18 09:54:43 -05:00
Julian Herrero
d77183ee09
Improvement - CRUD budgets and content blocks
2019-01-14 12:59:48 +01:00
Javi Martín
68fb295db5
Use if blocks instead of two ternary operators
...
Using a simple ternary operator is usually fine; however, code combining
two ternary operator is a bit hard to follow.
2019-01-10 16:11:51 +01:00
Javi Martín
eb6bba52e3
Simplify code
...
The string inside `params[:direction]` should already use lowercase
characters.
2019-01-10 16:11:51 +01:00
Javi Martín
814579d58f
Simplify interpolation
...
It's OK ot use single quotes inside a string with double quotes in order
to avoid escape characters.
2019-01-10 16:11:51 +01:00
Javi Martín
ee2f970e03
Fix sorting links for non-English languages
...
We were assuming the translation and the column name were related.
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
3fd7b3d216
Extract setting icon and direction to methods
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
0fe9ea08c3
Fix the direction assignment
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
e88acb8905
Make params handling case insensitive
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
e264490bca
Styling and refactor sorting methods and helpers
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
37b2226432
Make the link_to helper more readable
2019-01-10 16:11:51 +01:00
Anna Anks Nowak
747b8295b1
Refactor link_to_investments_sorted method
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
Anna Anks Nowak
5dd468092a
Rewrite the method to not use budget_investments_sorting_options [ #2931 ]
2019-01-10 15:28:55 +01:00
Anna Anks Nowak
22059379f5
Refactor by creating a helper method for generating sorting links [ #2931 ]
2019-01-10 15:28:55 +01:00
Julian Herrero
1ea18f0c89
refactor - correct place for block variable
2019-01-02 12:50:01 +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
Javier Martín
4782ca37d6
Merge pull request #3111 from consul/backport-customize_toda_la_ciudad
...
Remove custom "toda la ciudad" code
2018-12-18 13:03:51 +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
Javi Martín
e6a609e6e5
Extract method to filter investments by status
2018-12-14 18:15:51 +01:00
Javi Martín
b4b0b18a2d
Extract method to get investment milestone status
2018-12-14 18:15:51 +01:00
Julian Herrero
8fb8f70efd
cleanup (due to new CRUD for budget groups and headings)
2018-12-14 15:37:25 +01:00
Javi Martín
03dc43a500
Manage legislation process milestones
2018-12-11 20:18:53 +01:00
Julian Nicolas Herrero
6aa54d6c62
Merge branch 'master' into content_blocks_for_headings
2018-12-11 16:40:25 +01:00
Javier Martín
3631ff7340
Merge pull request #3074 from consul/backport-refactor_legislation_process_subnav
...
Refactor legislation process subnav
2018-12-05 13:32:22 +01:00