This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/views/reply-history.js.es6
2014-06-18 16:00:54 -04:00

17 lines
385 B
JavaScript

/**
Lists previous posts in the history of a post.
@class ReplyHistory
@namespace Discourse
@module Discourse
**/
export default Em.CollectionView.extend({
tagName: 'section',
classNameBindings: [':embedded-posts', ':top', ':topic-body', ':offset2', 'hidden'],
itemViewClass: 'embedded-post',
hidden: Em.computed.equal('content.length', 0),
previousPost: true
});