Javi Martín
6ad3bc063c
Move budget stats translations to stats files
...
We were using custom translations, but now this code is going to be
included in the main CONSUL repository.
2019-05-21 13:50:17 +02:00
Javi Martín
cf32dcd6d5
Use the new stats layout in budget stats
...
So now stats by gender and age are replaced by shared participation
stats (which also includes stats by district), reusing the code already
used in poll stats, and advanced statistics (which used to be at the top
of the page) are now displayed after partipation stats.
2019-05-21 13:50:17 +02:00
Javi Martín
8f69113233
Add poll stats by geozone and channel
2019-05-21 13:50:17 +02:00
Javi Martín
202fb44008
Add poll stats by age and channel
2019-05-21 13:50:17 +02:00
Javi Martín
7b408a4b88
Add poll stats by gender and channel
2019-05-21 13:50:17 +02:00
Javi Martín
553af8e95b
Add poll stats by channel
...
Note we currently don't have a way to get the votes by mail, so that
section is always blank.
2019-05-21 13:50:17 +02:00
Javi Martín
a9bb3eba26
Add headings for advanced statistics
2019-05-21 13:50:16 +02:00
Javi Martín
90fe746d27
Add geozone stats to polls
2019-05-21 13:50:16 +02:00
Javi Martín
9a01ff5323
Refactor age groups method
...
We try to make the method return data which is easier to handle in the
view.
2019-05-21 13:50:15 +02:00
Javi Martín
be68c8cdbf
Add gender stats to polls
2019-05-21 13:50:15 +02:00
Javi Martín
5a3eb70a46
Use same translations for poll and budget stats
2019-05-21 13:50:15 +02:00
Angel Perez
a889f62f68
Remove unused budget I18n keys
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
Bertocq
4691b486b0
Improve budget stats investments sent text to have a breakline on spanish
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
decabeza
75dfa4c663
fixes typo
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
Bertocq
e0e02b47c0
Add Budgets Stats Controller, route and ability on reviewing ballots and finished budget
2019-05-16 22:01:42 +02:00
Javier Martín
668b6cfd73
Merge pull request #3499 from consul/backport-admin_stats
...
Add admin budget stats
2019-05-16 20:41:39 +02:00
Juanjo Bazán
110ee961e3
adds budget stats for final voting to admin stats
2019-05-16 14:45:46 +02:00
Juanjo Bazán
5be54b57da
reduces current admin budget stats as supporting phase
2019-05-16 14:45:45 +02:00
rgarcia
11437a1d40
add budget investment stats
2019-05-16 13:41:49 +02:00
rgarcia
b628631769
fixes specs
2019-05-16 13:37:47 +02:00
rgarcia
94a3e7e61a
does not exclude ahoy events
2019-05-16 13:37:47 +02:00
rgarcia
cfe3f95f5c
moves graphs to individual views
2019-05-16 13:37:47 +02:00
Javier Martín
c39a3d7525
Merge pull request #3492 from consul/backport-fix_delete_budget_with_polls
...
Don't destroy budgets with an associated poll
2019-05-16 13:07:18 +02:00
Javi Martín
1b323383a8
Don't destroy budgets with an associated poll
...
We were getting an exception due to foreign key database violations.
2019-05-13 13:44:58 +02:00
Javi Martín
9c991297c5
Fix typo
2019-05-13 13:44:58 +02:00
decabeza
62a29e2cf9
Adds missing i18n
2019-04-30 12:00:46 +02:00
voodoorai2000
19b7526421
Add document upload from admin section
2019-04-30 11:59:08 +02:00
Julian Herrero
2ba7355b00
Add lib folder path to eager_load_paths
...
Because autoloading is disabled in production with Rails 5,
using autoload_paths will not load needed classes from
specified paths. The solution to this, is to ask Rails
to eager load classes.
https://sipsandbits.com/2017/02/14/upgrading-a-ruby-on-rails-application/
2019-04-29 17:45:58 -05:00
Javi Martín
825367145c
Remove redundant test order option
...
The test order is now random by default.
2019-04-29 13:08:43 -05:00
decabeza
9f973bf789
Add message on dashboard request to archived proposals
2019-04-29 15:46:44 +02:00
decabeza
3add160b4b
Change i18n to resources on next goal
...
This resources always are locked when are shown on next goal section.
2019-04-29 15:45:04 +02:00
voodoorai2000
dfbdc0568c
Allow actions to be unexecuted
...
Before actions could be marked as executed. With this commit we are also allowing actions to be marked as unexecuted.
2019-04-29 15:43:53 +02:00
voodoorai2000
6f3b213612
Refactor proposal poll routes
...
Moving routes from custom file to the proposal's routes file.
2019-04-29 15:43:25 +02:00
decabeza
51ced318e0
Merge branch 'master' into proposal-dashboard
2019-04-29 13:48:23 +02:00
decabeza
0a40c747a3
Add default actions list on admin dashboard actions index
2019-04-24 14:05:05 +02:00
decabeza
7b6619528c
Temporally not send dashboard's notifications
2019-04-24 14:04:45 +02:00
decabeza
b53a2f8012
Fix button text on dashboard polls form
2019-04-24 14:02:07 +02:00
decabeza
5bbf325c1f
Remove copy link on dashboard polls
2019-04-24 14:01:08 +02:00
decabeza
4100bf2ddf
Update dashboard specs
2019-04-24 14:00:38 +02:00
decabeza
c76b465ce8
Show message when request a resource to admins
2019-04-24 13:58:42 +02:00
decabeza
19c158f4eb
Add pending and done filters to dashboard administrator tasks
2019-04-24 13:58:27 +02:00
decabeza
2cff3767c1
Remove open in new tab option for links
2019-04-24 13:58:13 +02:00
decabeza
21e6e8097f
Update i18n texts
2019-04-24 13:56:49 +02:00
Javi Martín
a71928ae31
Update share message interpolation variables
...
Having translations with the old interpolation variables was causing the
application to crash.
2019-04-23 20:06:24 +02:00