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/templates/user
wxiaoguang 7681d582cd
Refactor locale number (#24134)
Before, the `GiteaLocaleNumber.js` was just written as a a drop-in
replacement for old `js-pretty-number`.

Actually, we can use Golang's `text` package to format.

This PR partially completes the TODOs in `GiteaLocaleNumber.js`:

> if we have complete backend locale support (eg: Golang "x/text"
package), we can drop this component.
> tooltip: only 2 usages of this, we can replace it with Golang's
"x/text/number" package in the future.

This PR also helps #24131

Screenshots:

<details>

![image](https://user-images.githubusercontent.com/2114189/232179420-b1b9974b-9d96-4408-b209-b80182c8b359.png)


![image](https://user-images.githubusercontent.com/2114189/232179416-14f36aa0-3f3e-4ac9-b366-7bd3a4464a11.png)

</details>
2 years ago
..
auth Remove incorrect HTML self close tag (#23748) 2 years ago
dashboard Refactor locale number (#24134) 2 years ago
notification Merge template functions "dict/Dict/mergeinto" (#23932) 2 years ago
overview Add missing tabs to org projects page (#22705) 2 years ago
settings Add tooltips to `Hide comment type` settings where necessary (#21306) 2 years ago
code.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
heatmap.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
profile.tmpl Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
project.tmpl Add context cache as a request level cache (#22294) 2 years ago