Currently we have some license issues. We are working on it.

Commit a420ba2c authored by Thorsten Claus's avatar Thorsten Claus Committed by Jonne Haß
Browse files

Formatting post per user fractions

closes #8227
parent a98fdc80
......@@ -10,6 +10,7 @@
* Delete a user's invitation code during account deletion [#8202](
* Bump mimemagic [#8231](
* Removed support for defunct Uni Heidelberg OSM tile server, Mapbox is now required if you want to show maps [#8215](
* Render only two fractional digits in the posts per user/day admin statistics [#8227](
## Features
* Support and recommend TOML as configuration format [#8132](
......@@ -38,8 +38,8 @@
%p.col-md-12.alert.alert-info.text-center{role: "alert"}
!= t("admins.stats.current_segment",
post_yest: content_tag(:strong, posts[:yesterday] / user_count),
post_day: content_tag(:strong, posts[:day_before] / user_count))
post_yest: content_tag(:strong, "%0.2f" % (posts[:yesterday] / user_count)),
post_day: content_tag(:strong, "%0.2f" % (posts[:day_before] / user_count)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment