mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 03:24:09 +08:00
15 lines
387 B
JavaScript
15 lines
387 B
JavaScript
/**
|
|
This view is used for rendering a list of replies below a post
|
|
|
|
@class RepliesView
|
|
@extends Ember.CollectionView
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
export default Ember.CollectionView.extend({
|
|
tagName: 'section',
|
|
classNameBindings: [':embedded-posts', ':bottom', 'hidden'],
|
|
itemViewClass: 'embedded-post',
|
|
hidden: Em.computed.equal('content.length', 0)
|
|
});
|