FIX: prepend 'continue discussion' link to topic template

This commit is contained in:
Arpit Jalan
2016-05-03 14:37:57 +05:30
parent 44868c9e77
commit 706ea28ef9
3 changed files with 25 additions and 1 deletions
@@ -509,7 +509,7 @@ export default Ember.Controller.extend(SelectedPostsCount, BufferedContent, {
}).then(q => {
const postUrl = `${location.protocol}//${location.host}${post.get('url')}`;
const postLink = `[${Handlebars.escapeExpression(self.get('model.title'))}](${postUrl})`;
composerController.get('model').appendText(`${I18n.t("post.continue_discussion", { postLink })}\n\n${q}`);
composerController.get('model').prependText(`${I18n.t("post.continue_discussion", { postLink })}\n\n${q}`, {new_line: true});
});
},