rgarcia
f9e45dc2e2
displays selected instead of feasible investments
2019-05-16 22:01:42 +02:00
rgarcia
ef958aae59
adds version to cache
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
rgarcia
51ab4a430e
Load budget in stats controller
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
Bertocq
132397b610
Add Budget Stats class
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
Bertocq
63631f29a8
Add ballot_lines_count counter_cache to ballot -> ballot line relationship
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
María Checa
d5c7858f6c
Removed officer alert in admin section
2019-05-16 14:45:46 +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
Alberto Garcia Cabeza
135984d535
removes budget countdown
2019-05-16 13:37:47 +02:00
Juanjo Bazán
5121c9b6d8
removes booth message from admin interface
2019-05-16 13:37:47 +02:00
rgarcia
be757f79d0
cleans up
2019-05-16 13:37:47 +02:00
rgarcia
b628631769
fixes specs
2019-05-16 13:37:47 +02:00
rgarcia
0d9ff07ff5
adds back button from graph
2019-05-16 13:37:47 +02:00
rgarcia
73d35e2c19
removes chart js from stats summary
2019-05-16 13:37:47 +02:00
rgarcia
a31b62526b
removes unused multiple lines per graph
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
Alberto
60c02cc19a
Merge pull request #3466 from consul/admin-documents
...
Add document uploads from admin section
2019-05-10 17:57:22 +02:00
Javier Martín
48b8e0f9da
Merge pull request #3487 from consul/backport-fix_widget_card_order
...
Remove unused (and flaky) card code and its spec
2019-05-10 17:09:23 +02:00
Javi Martín
574bd87b08
Remove unused (and flaky) card code and its spec
...
This code was introduced in commit 722a431b , but it stopped being used
in commit 7657a0e0 .
The spec was failing sometimes because the method didn't order the
records, but the spec checked the records returned in a certain order.
Furthermore, the method `page` generated a potential conflict with
kaminari's `page method.
2019-05-10 15:21:58 +02:00
Javi Martín
55c8fa3297
Fix obsolete respond_with_bip usage
...
Since we removed the `best_in_place` gem, this method doesn't exist
anymore. We're replacing it with what the method actually does.
Note the test doesn't check the poll is correctly updated. We could add
a `visit proposal_dashboard_polls_path(proposal)` before checking the
"Show results" field, but then we would enter a race condition between
this request and the AJAX request. A proper solution would be to provide
actual feedback to the user so they know the poll has been updated, and
then checking that feedback is present in the tests.
2019-05-09 19:41:04 +02:00
decabeza
a57397dd6c
Always use map image from admin site customization images
2019-05-07 14:43:04 +02:00
decabeza
367c2e7b78
Fix hound warnings
2019-04-30 12:06:56 +02:00
decabeza
1719a8ed28
Adds styles to admin site customization documents
2019-04-30 12:00:59 +02:00
decabeza
62a29e2cf9
Adds missing i18n
2019-04-30 12:00:46 +02:00
decabeza
4193bb193c
Adds documents to menu customization admin helper
2019-04-30 11:59:57 +02:00
voodoorai2000
19b7526421
Add document upload from admin section
2019-04-30 11:59:08 +02:00
Raimond Garcia
9df433eeda
Merge pull request #3462 from consul/1.0.0-beta
...
Release version 1.0.0-beta
2019-04-30 01:56:12 +02:00
voodoorai2000
d1ac727a6b
Update release version number to 1.0.0-beta
2019-04-29 18:52:03 -05:00
Javi Martín
c43b0fea64
Use Rails 5 conventions in Dashboard
...
These models and migrations were added on a branch based on Rails 4.
2019-04-29 13:08:43 -05:00
Javi Martín
8094417828
Remove best_in_place
...
It was only used in one place, so it's best to remove it and use the
patterns we use everywhere else.
2019-04-29 12:37:28 -05:00
Javi Martín
f284d5c09e
Remove record_tag_helper
...
It was only used in one place, and could easily be replaced.
Note we usually use HTML classes like `map-location` instead of
`map_location`, but I've kept the underscore for compatibility with the
previous version.
2019-04-29 12:36:09 -05:00
decabeza
9f973bf789
Add message on dashboard request to archived proposals
2019-04-29 15:46:44 +02:00
decabeza
47985df4f3
Fix request_to_administrators checkbox on admin dashboard actions
2019-04-29 15:46:38 +02:00
decabeza
197cbcd9bd
Fix styles of dashboard poster
2019-04-29 15:46:35 +02:00
decabeza
de72b65151
Use proposal_poll_path on communities poll links
2019-04-29 15:46:32 +02:00
decabeza
55fb14c6e3
Always show dashboard buttons
2019-04-29 15:46:27 +02:00