githaven/templates/user
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
..
auth Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
dashboard Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
notification Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
overview Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
settings Remove out-dated comments (#19921) 2022-06-08 18:17:44 +01:00
heatmap.tmpl Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
profile.tmpl Make user profile image show full image on mobile (#19840) 2022-06-10 19:06:34 +08:00
project.tmpl Fix truncated organization names (#14655) 2021-02-12 03:29:07 +02:00