mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 09:23:44 +08:00
UX: Make posts columns link to the last post in a topic.
This commit is contained in:
parent
b175abbfb5
commit
454c634b7e
|
@ -32,7 +32,7 @@ export default Ember.Component.extend({
|
|||
|
||||
render: function(buffer) {
|
||||
var postsCount = this.get('topic.posts_count'),
|
||||
url = this.get('topic.lastUnreadUrl');
|
||||
url = this.get('topic.lastPostUrl');
|
||||
|
||||
buffer.push("<a href='" + url + "' class='badge-posts " + this.get('likesHeat') + "'>");
|
||||
buffer.push(Discourse.Formatter.number(postsCount));
|
||||
|
|
Loading…
Reference in New Issue
Block a user