1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-11 04:34:25 +00:00
gitea/templates/repo/issue
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
..
labels Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
view_content Auto merge pull requests when all checks succeeded via WebUI (#19648) 2022-06-11 16:44:20 +02:00
branch_selector_field.tmpl Add option to define refs in issue templates (#17842) 2021-12-17 21:29:09 +00:00
choose.tmpl Use the new/choose link for New Issue on project page (#19172) 2022-03-22 19:54:24 +00:00
comment_tab.tmpl Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 2022-01-11 12:11:40 -06:00
labels.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
list.tmpl Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00
milestone_issues.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
milestone_new.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
milestones.tmpl Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new_form.tmpl prevent double click new issue/pull/comment button (#16157) 2022-05-07 14:24:02 +02:00
new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
openclose.tmpl Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
search.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
view_content.tmpl Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (#19729) 2022-05-20 04:26:04 +02:00
view_title.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
view.tmpl Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00