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/repo/issue
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
..
fields Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2 years ago
labels Remove "inverted" class on creating new label and cancel buttons (#24030) 2 years ago
view_content Fix date display bug (#24047) 2 years ago
branch_selector_field.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
choose.tmpl Implement Issue Config (#20956) 2 years ago
comment_tab.tmpl Improve markdown editor: width, height, preferred (#23895) 2 years ago
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 3 years ago
labels.tmpl Convert `<div class="button">` to `<button class="button">` (#23337) 2 years ago
list.tmpl Merge template functions "dict/Dict/mergeinto" (#23932) 2 years ago
milestone_issues.tmpl Localize milestone related time strings (#24051) 2 years ago
milestone_new.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
milestones.tmpl Refactor locale number (#24134) 2 years ago
navbar.tmpl Add some headings to repo views (#22869) 2 years ago
new.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
new_form.tmpl Merge template functions "dict/Dict/mergeinto" (#23932) 2 years ago
openclose.tmpl Refactor locale number (#24134) 2 years ago
search.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
view.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
view_content.tmpl Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
view_title.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago