gitea/templates/repo/issue
wxiaoguang 19de52e0f4
Introduce GiteaLocaleNumber custom element to handle number localization on pages. ()
Follow  & 

Use `<gitea-locale-number>` instead of backend `PrettyNumber`. All old
`PrettyNumber` related functions are removed. A lot of code could be
simplified.

And some functions haven't been used for long time (dead code), so they
are also removed by the way (eg: `SplitStringAtRuneN`, `Dedent`)

This PR only tries to improve the `PrettyNumber` rendering problem, it
doesn't touch the "plural" problem.

Screenshot:


![image](https://user-images.githubusercontent.com/2114189/229290804-1f63db65-1e34-4a54-84ba-e00b44331b17.png)


![image](https://user-images.githubusercontent.com/2114189/229290911-c88dea00-b11d-48dd-accb-9f52edd73ce4.png)
..
fields Introduce GitHub markdown editor, keep EasyMDE as fallback ()
labels Introduce GitHub markdown editor, keep EasyMDE as fallback ()
view_content Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" ()
branch_selector_field.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
choose.tmpl Implement Issue Config ()
comment_tab.tmpl Introduce GitHub markdown editor, keep EasyMDE as fallback ()
label_precolors.tmpl Fix purple color in suggested label colors ()
labels.tmpl Convert `<div class="button">` to `<button class="button">` ()
list.tmpl Improve home page template, fix Sort dropdown menu flash ()
milestone_issues.tmpl Added close/open button to details page of milestone ()
milestone_new.tmpl Add main landmark to templates and adjust titles ()
milestones.tmpl Introduce GiteaLocaleNumber custom element to handle number localization on pages. ()
navbar.tmpl Add some headings to repo views ()
new.tmpl Add main landmark to templates and adjust titles ()
new_form.tmpl Use data-tooltip-content for tippy tooltip ()
openclose.tmpl Introduce GiteaLocaleNumber custom element to handle number localization on pages. ()
search.tmpl Remove incorrect HTML self close tag ()
view.tmpl Add main landmark to templates and adjust titles ()
view_content.tmpl Introduce GitHub markdown editor, keep EasyMDE as fallback ()
view_title.tmpl Use data-tooltip-content for tippy tooltip ()