0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 15:32:47 +01:00
gitea/web_src/js
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
..
components Auto merge pull requests when all checks succeeded via WebUI (#19648) 2022-06-11 16:44:20 +02:00
features Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
markup Various Mermaid improvements (#18776) 2022-02-16 11:28:29 +08:00
standalone Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
testUtils Update JS dependencies (#19675) 2022-05-10 21:44:36 +02:00
bootstrap.js Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2022-03-30 13:52:24 +08:00
index.js Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Auto merge pull requests when all checks succeeded via WebUI (#19648) 2022-06-11 16:44:20 +02:00
svg.test.js Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
utils.js Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
utils.test.js Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00