mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
387 stars 195 forks source link

Prettify numbers in the admin interface #7663

Closed WilliamWDTK closed 1 year ago

WilliamWDTK commented 1 year ago

Where it is not an ID, numbers in the admin interface could be formatted to make them prettier and easier to read.

Instead of

46094 public authorities
961917 requests, 1436718 outgoing messages, 2245111 incoming messages
266132 users, 168870 tracked things
110164 annotations

We could have something like

46,094 public authorities
961,917 requests, 1,436,718 outgoing messages, 2,245,111 incoming messages
266,132 users, 168,870 tracked things
110,164 annotations

Not just on this page (https://www.whatdotheyknow.com/admin/stats), but elsewhere also.

confirmordeny commented 1 year ago

This would be helpful for WhatDoTheyKnow and other Alaveteli sites based in English speaking countries.

HelenWDTK commented 1 year ago

+1 Though it would need localising, as some countries use . or a space as a thousands separator.