Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang
19de52e0f4
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861)
Follow #21429 & #22861
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)
|
2 years ago |
.. |
fields
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
labels
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
view_content
|
Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" (#23790)
|
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
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
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
|
Improve home page template, fix Sort dropdown menu flash (#23856)
|
2 years ago |
milestone_issues.tmpl
|
Added close/open button to details page of milestone (#23877)
|
2 years ago |
milestone_new.tmpl
|
Add main landmark to templates and adjust titles (#22670)
|
2 years ago |
milestones.tmpl
|
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861)
|
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
|
Use data-tooltip-content for tippy tooltip (#23649)
|
2 years ago |
openclose.tmpl
|
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861)
|
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
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
view_title.tmpl
|
Use data-tooltip-content for tippy tooltip (#23649)
|
2 years ago |