mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-26 07:25:51 +03:00
[GH-ISSUE #416] [BUG] badge text messed up #312
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#312
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LsHallo on GitHub (Aug 25, 2020).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/416
With the last 2 updates I've noticed that all of my badges look like this:


which is not correct.
I'm using the linuxserver docker image to self host.
@cuu508 commented on GitHub (Aug 26, 2020):
Thanks for reporting this!
Do badges also look like this on healthchecks.io? How do they look in different browsers? Can you post an example of the generated SVG here?
@LsHallo commented on GitHub (Aug 26, 2020):
Here is the raw svg as a gist since github doesn't support uploading svg. https://gist.github.com/LsHallo/ee4c73baf364a03c93ccd19a6a30cc27
I have no clue if it looks the same on healthchecks.io I'm running my own version on my server. Have restarted the docker container and cleared my cache. Also tried firefox and chrome and still looks the same.
I should also say that it worked before.
@cuu508 commented on GitHub (Aug 26, 2020):
Managed to reproduce the isssue.
With
USE_L10N = True, in some locales the decimal values in templates get formatted as15,0, not15.0. This results in broken SVG.There are problems in other places too, for example the sliders in the "Edit Timeout & Grace Time" dialog don't initialize properly.
I'll change
USE_L10Nback toFalse. We can set it toTrueafter we've caught and fixed this and similar issues.@LsHallo if you can modify
local_settings.py, as a short term fix you can putUSE_L10N = Falsethere.