Javi Martín
5a3eb70a46
Use same translations for poll and budget stats
2019-05-21 13:50:15 +02:00
voodoorai2000
abb6eb18b0
Order headings by name and group
...
Note that we are relying on the existing `sort_by_name`[1] method in the `Budget::Heading` class.
This method sorts by DESC group name first and then ASC heading name.
[1] https://github.com/AyuntamientoMadrid/consul/pull/1875
2019-05-16 22:01:42 +02:00
decabeza
7b2495845d
Moves social tags outside cache on budget stats
2019-05-16 22:01:42 +02:00
Angel Perez
3bbdffceaf
Remove conditional to render tabs on budgets/stats#show
...
'Results' and 'Execution' tabs are now shown to the user regardless
of the budget's current status
2019-05-16 22:01:42 +02:00
Angel Perez
c2b9042ad7
Add 'Execution' tab to a finished Budget stats
...
This tab will show all winner investments projects with milestones
2019-05-16 22:01:42 +02:00
María Checa
fac99cfb10
Add web and booth participants in budget stats
2019-05-16 22:01:42 +02:00
decabeza
99d0ac52c0
Fixes budgets stats ui for all phases
2019-05-16 22:01:42 +02:00
decabeza
7b2f77dfbd
removes duplicated thead tag
2019-05-16 22:01:42 +02:00
Bertocq
6a46719ff8
Link to results without heading unless its on the results menu
2019-05-16 22:01:42 +02:00
Bertocq
c5a4a427c4
Add links between Budget stats and results routes
2019-05-16 22:01:42 +02:00
Bertocq
4691b486b0
Improve budget stats investments sent text to have a breakline on spanish
2019-05-16 22:01:42 +02:00
Bertocq
e5a2440e91
Remove the last totals row on Budget stats view
2019-05-16 22:01:42 +02:00
Bertocq
07cef9cd78
Order headings by id on budget stats view
2019-05-16 22:01:42 +02:00
Bertocq
4b2a2dd995
Improve percent round
2019-05-16 22:01:42 +02:00
Bertocq
be89289b09
Improve budget stats page with a new row showing each column totals
2019-05-16 22:01:42 +02:00
decabeza
9f6f7496c1
changes text classes on gender stats
2019-05-16 22:01:42 +02:00
Bertocq
427781a253
Reorder gender statistics to match gender image
2019-05-16 22:01:42 +02:00
Bertocq
1f3bc2c8d9
Switch from feasible to selected investments on budget stats
2019-05-16 22:01:42 +02:00
rgarcia
f9e45dc2e2
displays selected instead of feasible investments
2019-05-16 22:01:42 +02:00
decabeza
eb57b5c375
adds multiplier on progress meter stats age table
2019-05-16 22:01:42 +02:00
Bertocq
6c214c266f
Correct budget stats age group id's and labels
2019-05-16 22:01:42 +02:00
decabeza
88ac17cc1b
removes progress meter multiplier
2019-05-16 22:01:42 +02:00
decabeza
895c8292ab
updates page title
2019-05-16 22:01:42 +02:00
decabeza
1c0c55c0fb
improves texts and styles for budgets stats
2019-05-16 22:01:42 +02:00
Bertocq
fd4ea312c3
Fix budget stats translations with line breaks
2019-05-16 22:01:42 +02:00
Bertocq
6899ba9a9f
Complete Budget Stats view with translations
2019-05-16 22:01:42 +02:00
decabeza
0993aaf5d1
changes budgets stats html
2019-05-16 22:01:42 +02:00
Bertocq
0c73d57118
Add budget stats view, pending some work and style
2019-05-16 22:01:42 +02:00
decabeza
a57397dd6c
Always use map image from admin site customization images
2019-05-07 14:43:04 +02:00
Julian Herrero
7e422f2187
Fix bug management print voted investments
...
If budget is in balloting phase and there are voted investments, it
was not possible to print budgets investments because the ballot was
never being loaded in the controller and therefore an error was raised
when rendering the view.
Failure/Error: <% if ballot.has_investment?(investment) %>
ActionView::Template::Error:
undefined method `has_investment?' for nil:NilClass
app/views/budgets/investments/_ballot.html.erb:3
app/views/budgets/investments/_investment.html.erb:88
app/views/custom/management/budgets/investments/print.html.erb:26
2019-04-17 14:19:32 +02:00
decabeza
d7bde5818e
Update texts on check my ballot links
2019-03-28 17:16:15 +01:00
Javi Martín
3e4e65ead7
Use double quotes inside ERB
...
We were using single quotes inside ERB code when that code was inside
HTML double quotes.
2019-03-25 14:58:54 +01:00
Julian Herrero
c87267d34f
Use double quotes in app/views/budgets
2019-03-19 12:16:50 +01:00
decabeza
88cae1424e
Add missing mobile social share message
2019-03-14 11:32:14 +01:00
decabeza
be8f2dca88
Remove unnecessary anchor link for finished budgets
2019-03-14 11:31:33 +01:00
decabeza
55a2bcb559
Show unfeasible budget investment messages only when valuation finished
2019-03-06 10:46:03 +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
Alberto
eacf740087
Merge pull request #3290 from consul/budget-heading-alert
...
[Backport] Include heading names in "headings limit reached" alert
2019-02-13 17:10:38 +01:00
Julian Herrero
a963a99c55
Use correct scope to sort headings by name
2019-02-13 13:35:09 +01:00
Julian Herrero
1c35ec99c1
Make budget groups translatable
2019-02-13 12:30:37 +01:00
Alberto
938d5eba43
Merge pull request #3191 from consul/ui-i18n-details
...
Fix i18n and UI minor details
2019-02-13 10:55:03 +01:00
Marko Lovic
4a2fae5e90
Add headings to "headings limit reached" alert msg
2019-02-12 17:16:40 +01:00
decabeza
b4ecd07f1f
Refactor social share messages
2019-02-11 15:41:35 +01:00
rgarcia
55fb14ac14
do not display alert when supporting for whole city
2019-02-07 16:55:24 +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
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