decabeza
4e4804e180
Replace total votes to cached_votes_score on debates
...
This show votes_score as result of votes_up minus votes_down
2019-02-12 18:42:35 +01:00
Alberto
f9b18667e6
Merge pull request #3280 from consul/next-filters
...
[Backport] Removes next/incoming filters
2019-02-11 20:43:09 +01:00
Julian Nicolas Herrero
5a50992773
Merge pull request #3275 from consul/legacy_legislation_cleanup
...
LegacyLegislation migration cleanup
2019-02-08 20:04:19 +01:00
Alberto
73ecdb13ea
Merge pull request #3278 from consul/budget-alert
...
[Backport] Do not display alert when supporting in a group with a single heading
2019-02-08 15:36:33 +01:00
decabeza
bc1679550b
Remove incoming polls filter
2019-02-08 14:28:19 +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
rgarcia
55fb14ac14
do not display alert when supporting for whole city
2019-02-07 16:55:24 +01:00
Julian Herrero
54e59a8a58
LegacyLegislation migration cleanup
...
These legacy models are not used anymore.
2019-02-06 17:07:38 +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
Alberto
6a7fcde9a6
Merge pull request #3268 from consul/budget-polish
...
[Backport] Budgets UI minor fixes
2019-02-06 14:31:26 +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
decabeza
218c8e1ae7
Change layout on homepage if feed debates and proposals are enabled
2019-02-05 17:28:57 +01:00
decabeza
5c7cc5a20f
Improve space for links on budget index
2019-02-05 17:16:10 +01:00
decabeza
a2161f3ace
Hide voted group css class if current filter is unfeasible
2019-02-05 17:16:04 +01:00
decabeza
025bcedce9
Show project winner label only if budget is finished
2019-02-05 17:15:40 +01:00
decabeza
5974b7ee84
Update calculate winners button on budgets form
2019-02-05 17:15:26 +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
6bb3c0a3da
Add columns on welcome card view
2019-01-31 17:20:04 +01:00
decabeza
47877f1bcd
Remove unnecessary title on page cards
2019-01-31 17:08:01 +01:00
decabeza
40a42b0c63
Show card label only if it is present
2019-01-31 17:07:51 +01:00
decabeza
98f550fc18
Add columns on pages card view and improve css layout
2019-01-31 17:06:44 +01:00
decabeza
e7fcf2ce35
Add select on cards form to select the number of columns
2019-01-31 17:06:01 +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
849dcb7a1a
Fix map overlapping links
2019-01-30 14:16:19 +01:00
decabeza
7de846f55c
Hide heading links if budget is finished
2019-01-30 14:15:49 +01:00
decabeza
9edabb5bf4
Fix links on budgets index page
2019-01-30 14:15:40 +01:00
decabeza
865dca85bf
Improve layout of admin legislation process form
2019-01-30 13:16:35 +01:00
decabeza
5893ed7587
Create helper for legislation process header with custom colors
2019-01-30 13:15:42 +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
rgarcia
dacc2d529d
Fix destroy document specs
...
We were linking to the document url itself, which does not have a route
associated and so the specs fails
With this commit we are using the correct path to the destroy action of
the DocumentsController.
We are also using the referrer instead of a params[:from] attribute, as
it avoids having to pass an extra parameter, making the code prettier
and it works the same way
2019-01-24 21:39:43 +01:00
Julian Herrero
8f112cf37e
Allow admins delete poll answer documents
2019-01-24 19:19:04 +01:00
Alberto
5d790eae67
Merge pull request #3230 from consul/admin-images-map
...
[Backport] Allow change map image from admin
2019-01-24 17:48:02 +01:00
decabeza
78d8e34415
Show following tab on process if there are progress bar
...
Before, this tab only was show if were some milestone
2019-01-24 17:40:09 +01:00
decabeza
b27616eeed
Add styles to milestones progress bars
2019-01-24 17:40:05 +01:00
Javi Martín
1962fcc2a2
Hide locale selector for primary progress bars
...
These progress bars don't have any translatable attributes.
2019-01-24 17:34:55 +01:00
Javi Martín
ce0a93be58
Add styles to milestones progress bars
2019-01-24 17:33:56 +01:00
Javi Martín
84fc254e92
Extract milestones progress bars to a partial
2019-01-24 17:33:49 +01:00
Javi Martín
b552f6e70b
Add heading to milestones progress bars
2019-01-24 17:33:43 +01:00
Javi Martín
e73f3bd97a
Add progress bars to milestones public view
2019-01-24 17:33:34 +01:00
decabeza
045c4eca64
Allow change map image from admin site customization
...
Also adds on site customization image.rb jpeg content type to allow replace this image.
2019-01-24 14:55:01 +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
decabeza
62088bc635
Hide poll results and stats to admins
2019-01-24 14:33:41 +01:00
Alberto
227f496f6d
Merge pull request #3195 from consul/milestone_progress_bar
...
[Backport] Manage milestone progress bars
2019-01-24 11:59:24 +01:00