mirror of
https://github.com/discourse/discourse.git
synced 2025-02-14 00:52:45 +08:00
18 lines
440 B
JavaScript
18 lines
440 B
JavaScript
/**
|
|
Lists previous posts in the history of a post.
|
|
|
|
@class ReplyHistory
|
|
@extends Discourse.EmbeddedPostView
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.ReplyHistory = Em.CollectionView.extend({
|
|
tagName: 'section',
|
|
classNameBindings: [':embedded-posts', ':top', ':span14', ':offset2', 'hidden'],
|
|
itemViewClass: Discourse.EmbeddedPostView,
|
|
hidden: Em.computed.equal('content.length', 0),
|
|
previousPost: true
|
|
});
|
|
|
|
|