You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/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>
3 years ago
..
vars Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
base.go format with gofumpt (#18184) 3 years ago
dynamic.go Remove legacy `+build:` constraint (#19582) 3 years ago
helper.go Prettify number of issues (#17760) 3 years ago
helper_test.go Use templates for issue e-mail subject and body (#8329) 5 years ago
static.go Remove legacy `+build:` constraint (#19582) 3 years ago
templates_bindata.go Remove legacy `+build:` constraint (#19582) 3 years ago