2017-09-10 19:31:54 -07:00
|
|
|
{{#comment/comment-stream
|
|
|
|
|
comments=comments
|
|
|
|
|
commentTypes=commentTypes
|
|
|
|
|
updateCommentInStream=(action "handleStreamAction" streamActions.modify)
|
|
|
|
|
deleteCommentFromStream=(action "handleStreamAction" streamActions.destroy)
|
2019-08-31 20:51:14 -07:00
|
|
|
addCommentToStream=(action "handleStreamAction" streamActions.add)
|
|
|
|
|
as |stream|
|
|
|
|
|
}}
|
2017-02-13 14:50:56 -08:00
|
|
|
|
2017-09-10 19:31:54 -07:00
|
|
|
{{stream.header}}
|
2017-02-13 14:50:56 -08:00
|
|
|
|
2017-09-10 19:31:54 -07:00
|
|
|
{{#stream.new}}
|
|
|
|
|
+ Add a comment...
|
|
|
|
|
{{/stream.new}}
|
|
|
|
|
|
|
|
|
|
{{#each stream.comments as |comment|}}
|
|
|
|
|
{{#stream.item comment=comment}}
|
2018-03-01 11:47:24 -08:00
|
|
|
{{comment.text}}
|
2017-09-10 19:31:54 -07:00
|
|
|
{{/stream.item}}
|
|
|
|
|
{{/each}}
|
|
|
|
|
|
|
|
|
|
{{/comment/comment-stream}}
|