githaven/templates/user/dashboard
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
..
dashboard.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
feeds.tmpl Fix release typo (#18728) 2022-02-11 14:08:17 -05:00
issues.tmpl Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
milestones.tmpl Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
navbar.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
repolist.tmpl Disable unnecessary mirroring elements (#18527) 2022-06-04 19:42:17 +08:00