From fd850e00db835d2b84c59014c3b1021fea2294fc Mon Sep 17 00:00:00 2001 From: Israel Madueme Date: Fri, 10 Aug 2018 08:57:01 -0400 Subject: Bug 1456878 - Support markdown comments --- .../en/default/bug_modal/activity_stream.html.tmpl | 15 ++++++++++++--- .../BugModal/template/en/default/bug_modal/edit.html.tmpl | 4 ++-- .../template/en/default/bug_modal/new_comment.html.tmpl | 15 +++++++++++---- 3 files changed, 25 insertions(+), 9 deletions(-) (limited to 'extensions/BugModal/template/en') diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl index 08c6b5b64..340bb6f81 100644 --- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl @@ -244,8 +244,17 @@ [% END %] [% BLOCK comment_body %] - + [%~ comment.body_full FILTER renderComment(bug, comment) ~%] [% END %] [% diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index e926c04b4..e2e8bc124 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -202,7 +202,7 @@ no_label = 1 hide_on_edit = 1 %] -

[% bug.short_desc FILTER quoteUrls(bug) FILTER wbr %]

+

[% bug.short_desc FILTER renderComment(bug, undef, 1) FILTER wbr %]

[% END %] [%# alias %] @@ -1191,7 +1191,7 @@ [% END %] [% END %] -
[% bug.cf_user_story FILTER quoteUrls(bug) %]
+
[% bug.cf_user_story FILTER renderComment(bug, undef) %]
[% IF user.id %] -
- - Comments Subject to Etiquette and Contributor Guidelines +
-- cgit v1.2.3-24-g4f1b