Merge pull request #1150 from mcwumbly/topic-likes

little tweaks to like counts in topic list view
This commit is contained in:
Sam 2013-07-07 23:39:38 -07:00
commit f42fc3be37
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

@ -929,13 +929,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"