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.
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>
2 years ago
..
labels Replace blue button and label classes with primary (#19763) 2 years ago
view_content Auto merge pull requests when all checks succeeded via WebUI (#19648) 2 years ago
branch_selector_field.tmpl Add option to define refs in issue templates (#17842) 3 years ago
choose.tmpl Use the new/choose link for New Issue on project page (#19172) 2 years ago
comment_tab.tmpl Remove dependent on session auth for api/v1 routers (#19321) 2 years ago
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 3 years ago
labels.tmpl Add class to page content to unify top margin (#13766) 4 years ago
list.tmpl Improve UI on mobile (#19546) 2 years ago
milestone_issues.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
milestone_new.tmpl Replace blue button and label classes with primary (#19763) 2 years ago
milestones.tmpl Prettify number of issues (#17760) 2 years ago
navbar.tmpl Search bar for issues/pulls (#530) 8 years ago
new.tmpl Add class to page content to unify top margin (#13766) 4 years ago
new_form.tmpl prevent double click new issue/pull/comment button (#16157) 2 years ago
openclose.tmpl Prettify number of issues (#17760) 2 years ago
search.tmpl Replace blue button and label classes with primary (#19763) 2 years ago
view.tmpl Improve UI on mobile (#19546) 2 years ago
view_content.tmpl Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (#19729) 2 years ago
view_title.tmpl Replace blue button and label classes with primary (#19763) 2 years ago