Javi Martín
dc077bb03c
Simplify budget stats in voting phase
...
So we only show the total number of participants, and not divided by web
participants and booth participants.
2019-05-21 13:50:17 +02:00
Javi Martín
7362b8233a
Remove unrelated text
...
The number refers to the total number of participants, and not the total
number of votes.
2019-05-21 13:50:17 +02:00
decabeza
6410d4c3e5
Replace data equalizer with css
...
Data equalizer was used to show a border to separate sidebar from the content. Now is the same with only css avoiding use js.
2019-05-21 13:50:17 +02:00
Javi Martín
2d7b8bc8df
Use new design for advanced budget stats
2019-05-21 13:50:17 +02:00
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
8f0bccf5b3
Add mail votes stub to poll stats
...
So far we don't know about implemenation details.
2019-05-21 13:50:16 +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
decabeza
70dbbbd1b9
Add stack class to polls stats table
...
This class improve tables layout on mobile screen sizes.
2019-05-21 13:50:16 +02:00
decabeza
1975b6ae7c
Remove sticky on polls stats links
2019-05-21 13:50:16 +02:00
Javi Martín
4d520a3a47
Rename age_groups method
...
The name was confusing because it seemed to return a list of age groups.
2019-05-21 13:50:16 +02:00
Javi Martín
4ade857a1b
Extract method to render number and info
...
We're going to use it in many places, so removing duplication is useful.
2019-05-21 13:50:16 +02:00
Javi Martín
1c9552b922
Add number-with-info HTML class to stats
...
So it can be reused in advanced statistics.
2019-05-21 13:50:16 +02:00
Javi Martín
573e04ef8f
Move common stats to partials
2019-05-21 13:50:16 +02:00
decabeza
b91b766e96
Adds styles and updates html markup to stats
2019-05-21 13:50:16 +02:00
Javi Martín
7ce57f649f
Use a <meter> tag to display age percentages
2019-05-21 13:50:16 +02:00
Javi Martín
1a1ca13525
Add age stats to polls
2019-05-21 13:50:15 +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
c0044f4e56
Extract method to show stats percentage
2019-05-21 13:50:15 +02:00
Javi Martín
80486b8193
Use section tags in stats
...
This way we can easily see the h3 tag's parent is the h2 tag.
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
Javi Martín
afa8bf8dba
Add basic headings and navigaton styles for stats
2019-05-21 13:50:15 +02:00
Javi Martín
1a86f7dbe8
Simplify total participants view logic
2019-05-21 13:49:42 +02:00
Javier Martín
cbfa2c1df8
Merge pull request #3504 from consul/backport-poll_slugs
...
Add slug to polls
2019-05-21 13:42:47 +02:00
Bertocq
b8dbdaf9a7
Move question most voted answer from boolean to a enumerable max by total_votes
2019-05-21 13:26:44 +02:00
decabeza
607b2362a3
adds missing id
2019-05-21 13:26:44 +02:00
Javi Martín
e461c8d0ac
Generate navigation links for polls without a slug
2019-05-21 13:04:26 +02:00
Alberto
1c10c22b08
Merge pull request #3509 from consul/menu-users
...
Users menu
2019-05-21 12:54:42 +02:00
Alberto
0b437d65fc
Merge pull request #3508 from consul/admin-ui
...
Improve help texts on Admin UI
2019-05-21 12:53:43 +02:00
decabeza
43dd3d2169
Include mailer header logo on custom images list
2019-05-21 11:22:04 +02:00
Alberto
7db1cac3bc
Merge pull request #3507 from consul/proposals-user-segment
...
Proposals authors user segment
2019-05-20 14:00:15 +02:00
decabeza
aee62b9d33
Change header title link on officing namespace
2019-05-17 17:48:54 +02:00
decabeza
2c9d9b5de8
Remove admin shortcuts links to stats and settings
...
These links are already on sidebar and isn't necessary have them on header.
2019-05-17 17:48:49 +02:00
decabeza
cbbe188d6a
Move officing link inside header dropdown menu
...
Also include the condition to hide this link on officing namespace.
2019-05-17 17:48:43 +02:00
decabeza
30cd7ec9b2
Add help text to admin newsletter new
2019-05-17 17:43:58 +02:00
decabeza
035b11c460
Hide select text if budget finished
2019-05-17 17:42:58 +02:00
decabeza
625c34bac2
Add officer email on admin poll shifts table
2019-05-17 17:41:42 +02:00
decabeza
33c06ea0d3
Add help text to admin poll officers search
2019-05-17 17:41:36 +02:00
decabeza
8fda0bfb6c
Add help text to slug on admin new site customization pages
2019-05-17 17:41:30 +02:00
Alberto
d845c6e973
Merge pull request #3476 from consul/delete-poll
...
Allow delete polls with associated questions and answers
2019-05-17 17:38:20 +02:00
decabeza
61ae4d0ba2
Fix indentation on admin newsletters show
2019-05-17 17:22:41 +02:00
decabeza
4296a83025
Removes unncesary div tag on admin newsletters show
...
This prevent send button renders outside of the layout.
2019-05-17 17:22:37 +02:00
Alberto
7c79965547
Merge pull request #3397 from consul/proposals-form
...
Remove question and external_url fields from proposals and legislation proposals
2019-05-17 17:08:56 +02:00
Bertocq
65fd88ef32
Use poll slug on stats and results paths
2019-05-17 05:41:09 +02:00