0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-20 05:33:45 +01:00
gitea/templates
Gusted 796c4eca0b
Prettify number of issues (#17760)
* Prettify number of issues

- Use the PrettyNumber function to add commas in large amount of issues.

* Use client-side formatting

* prettify on both server and client

* remove unused i18n entries

* handle more cases, support other int types in PrettyNumber

* specify locale to avoid issues with node default locale

* remove superfluos argument

* introduce template helper, octicon tweaks, js refactor

* Update modules/templates/helper.go

* Apply some suggestions.

* Add comment

* Update templates/user/dashboard/issues.tmpl

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-06-12 20:08:23 +08:00
..
admin
api/packages/pypi
base Add alt text to logo (#19892) 2022-06-05 17:41:51 +08:00
custom
explore
mail
org
package
repo Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
shared
status
swagger Add API to serve blob or LFS file content (#19689) 2022-06-04 21:17:53 +08:00
user Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
home.tmpl
install.tmpl
post-install.tmpl