diff --git a/app/views/request_for_comments/show.html.erb b/app/views/request_for_comments/show.html.erb index a222fa7d..11ae2512 100644 --- a/app/views/request_for_comments/show.html.erb +++ b/app/views/request_for_comments/show.html.erb @@ -184,26 +184,23 @@ also, all settings from the rails model needed for the editor configuration in t if (index !== 0) { htmlContent += '
' } - htmlContent += '
'; - htmlContent += '
' + - '
' + preprocess(comment.username) + '
' + - '
' + comment.date + '
'; - if (comment.updated) { - htmlContent += '
' + - '' + - '<%= t('request_for_comments.comment_edited') %>' + - '
' - } - htmlContent += '
' + - '
' + commentText + '
' + - ''; - if (comment.editable) { - htmlContent += '
' + - '' + - '' + - '
'; - } - htmlContent += '
'; + htmlContent += '\ +
\ +
\ +
' + preprocess(comment.username) + '
\ +
' + comment.date + '
\ +
\ + \ + <%= t('request_for_comments.comment_edited') %> \ +
\ +
\ +
' + commentText + '
\ + \ +
\ + \ + \ +
\ +
'; }); return htmlContent; }