mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #1150 from mcwumbly/topic-likes
little tweaks to like counts in topic list view
This commit is contained in:
commit
f42fc3be37
3 changed files with 6 additions and 2 deletions
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
<td class='num likes'>
|
<td class='num likes'>
|
||||||
{{#if like_count}}
|
{{#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}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
|
@ -178,6 +178,9 @@
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.likes {
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
.activity {
|
.activity {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
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: "Posts"
|
||||||
posts_long: "{{number}} posts in this topic"
|
posts_long: "there are {{number}} posts in this topic"
|
||||||
original_post: "Original Post"
|
original_post: "Original Post"
|
||||||
views: "Views"
|
views: "Views"
|
||||||
replies: "Replies"
|
replies: "Replies"
|
||||||
views_long: "this topic has been viewed {{number}} times"
|
views_long: "this topic has been viewed {{number}} times"
|
||||||
activity: "Activity"
|
activity: "Activity"
|
||||||
likes: "Likes"
|
likes: "Likes"
|
||||||
|
likes_long: "there are {{number}} likes in this topic"
|
||||||
top_contributors: "Participants"
|
top_contributors: "Participants"
|
||||||
category_title: "Category"
|
category_title: "Category"
|
||||||
history: "History"
|
history: "History"
|
||||||
|
|
Loading…
Reference in a new issue