mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
- like counts use number formatting (so 1100 is 1.1K like other counts)
- made 'likes' column wide enough to hold 3 digit and > 999 likes
This commit is contained in:
parent
88ca51bb00
commit
a3eb175683
3 changed files with 6 additions and 2 deletions
|
@ -55,7 +55,7 @@
|
|||
|
||||
<td class='num likes'>
|
||||
{{#if like_count}}
|
||||
<a href='{{url}}{{#if has_best_of}}?filter=best_of{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{like_count}} <i class='icon-heart'></i></a>
|
||||
<a href='{{url}}{{#if has_best_of}}?filter=best_of{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='icon-heart'></i></a>
|
||||
{{/if}}
|
||||
</td>
|
||||
|
||||
|
|
|
@ -178,6 +178,9 @@
|
|||
color: inherit;
|
||||
}
|
||||
}
|
||||
.likes {
|
||||
width: 50px;
|
||||
}
|
||||
.activity {
|
||||
width: 50px;
|
||||
}
|
||||
|
|
|
@ -930,13 +930,14 @@ en:
|
|||
help: "this topic is invisible; it will not be displayed in topic lists, and can only be accessed via a direct link"
|
||||
|
||||
posts: "Posts"
|
||||
posts_long: "{{number}} posts in this topic"
|
||||
posts_long: "there are {{number}} posts in this topic"
|
||||
original_post: "Original Post"
|
||||
views: "Views"
|
||||
replies: "Replies"
|
||||
views_long: "this topic has been viewed {{number}} times"
|
||||
activity: "Activity"
|
||||
likes: "Likes"
|
||||
likes_long: "there are {{number}} likes in this topic"
|
||||
top_contributors: "Participants"
|
||||
category_title: "Category"
|
||||
history: "History"
|
||||
|
|
Loading…
Reference in a new issue