forgejo/templates/admin
Gusted f68bc0ec6a
[REFACTOR] Simplify converting struct to map in admin stats
- Instead of relying on JSON to convert the struct to map, use
`reflect` to do this conversion. Also simplify it a bit by only passing
one variable to the template.
- This avoids issues where the conversion to JSON causes changes in
the value, for example huge numbers are converted to its scientific
notation but are consequently not converted back when being displayed.
- Adds unit tests.
- Resolves an issue where the amount of comments is being displayed in
scientific notation on Codeberg.
2024-02-22 22:25:19 +01:00
..
applications
auth [BRANDING] cosmetic s/Gitea/Forgejo/ in logs, messages, etc. 2024-02-05 16:02:14 +01:00
base
emails
org
packages Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 2024-02-19 22:58:32 +01:00
repo Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 2024-02-19 22:58:32 +01:00
runners
user Convert visibility to number (#29226) 2024-02-19 22:58:33 +01:00
actions.tmpl
config.tmpl [GITEA] add option for banning dots in usernames 2024-02-05 16:05:50 +01:00
cron.tmpl
dashboard.tmpl Auto-update the system status in admin dashboard (#29163) 2024-02-17 23:24:31 +01:00
hook_new.tmpl
hooks.tmpl
layout_footer.tmpl
layout_head.tmpl
navbar.tmpl [GITEA] admin: "Self Check" should only show for some db types 2024-02-05 16:57:56 +01:00
notice.tmpl
queue.tmpl
queue_manage.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
self_check.tmpl
stacktrace-row.tmpl
stacktrace.tmpl Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 2024-02-19 22:58:32 +01:00
stats.tmpl [REFACTOR] Simplify converting struct to map in admin stats 2024-02-22 22:25:19 +01:00
system_status.tmpl Auto-update the system status in admin dashboard (#29163) 2024-02-17 23:24:31 +01:00