- 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:
David McClure 2013-07-05 23:07:08 -07:00
parent 88ca51bb00
commit a3eb175683
3 changed files with 6 additions and 2 deletions

View file

@ -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>

View file

@ -178,6 +178,9 @@
color: inherit;
}
}
.likes {
width: 50px;
}
.activity {
width: 50px;
}

View file

@ -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"