FIX: Missing styling for embedded reply
This commit is contained in:
parent
a566657d7a
commit
af71326a9c
|
@ -84,7 +84,15 @@
|
|||
{{/if}}
|
||||
{{view 'post-menu' post=this adminMenu=view.adminMenu}}
|
||||
</div>
|
||||
{{view 'replies' content=replies}}
|
||||
|
||||
{{#if replies}}
|
||||
<section class='embedded-posts bottom'>
|
||||
{{#each replies}}
|
||||
{{view 'embedded-post' content=this}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
{{discourse-action-history post=this}}
|
||||
{{view 'topic-map-container' post=this topic=controller.model}}
|
||||
</div>
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
/**
|
||||
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)
|
||||
});
|
Loading…
Reference in New Issue