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.
forgejo/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>
2 years ago
..
admin Replace blue button and label classes with primary (#19763) 2 years ago
api/packages/pypi Add Package Registry (#16510) 2 years ago
base Add alt text to logo (#19892) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Replace blue button and label classes with primary (#19763) 2 years ago
mail Try to prevent autolinking of displaynames by email readers (#19169) 2 years ago
org Replace blue button and label classes with primary (#19763) 2 years ago
package Replace blue button and label classes with primary (#19763) 2 years ago
repo Prettify number of issues (#17760) 2 years ago
shared Show source/target branches on PR's list (#19747) 2 years ago
status Refactor HTTP request context (#17979) 3 years ago
swagger Add API to serve blob or LFS file content (#19689) 2 years ago
user Prettify number of issues (#17760) 2 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
install.tmpl Refactor install page (db type) (#17919) 3 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago