diff options
author | 2020-06-23 18:39:58 +0000 | |
---|---|---|
committer | 2020-06-23 18:39:58 +0000 | |
commit | de72bc872d6b49ef996c7aedcf8f48cff98599cd (patch) | |
tree | e0e58e5330ab51bf5f47338b957f141512c8f7c7 /web/templates/list/browse.tmpl | |
parent | Hide messages where the date is null (diff) | |
download | archives-de72bc872d6b49ef996c7aedcf8f48cff98599cd.tar.gz archives-de72bc872d6b49ef996c7aedcf8f48cff98599cd.tar.bz2 archives-de72bc872d6b49ef996c7aedcf8f48cff98599cd.zip |
Format Messaage count when browsing lists
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web/templates/list/browse.tmpl')
-rw-r--r-- | web/templates/list/browse.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/list/browse.tmpl b/web/templates/list/browse.tmpl index 9c2ea3f..de5257e 100644 --- a/web/templates/list/browse.tmpl +++ b/web/templates/list/browse.tmpl @@ -21,7 +21,7 @@ {{.Name}} </span> <h4 class="mb-0"> - <span class="badge badge-secondary badge-pill">{{.MessageCount}}</span> + <span class="badge badge-secondary badge-pill">{{formatCount (toString .MessageCount)}}</span> </h4> </a> {{end}} @@ -48,7 +48,7 @@ {{.Name}} </span> <h4 class="mb-0"> - <span class="badge badge-secondary badge-pill">{{.MessageCount}}</span> + <span class="badge badge-secondary badge-pill">{{formatCount (toString .MessageCount)}}</span> </h4> </a> {{end}} |