Display formatted notes in the web UI
This commit is contained in:
parent
2ddd667910
commit
c533fb4b74
2 changed files with 18 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
<div class="note">
|
||||
<h2><%- I18n.t('javascripts.notes.show.title', { id: note.id }) %></h2>
|
||||
<% note.comments.forEach(function (comment) { %>
|
||||
<p>
|
||||
<div>
|
||||
<small class="deemphasize">
|
||||
<% if (comment.user) { %>
|
||||
<%= I18n.t('javascripts.notes.show.event', {
|
||||
|
@ -14,9 +14,8 @@
|
|||
}) %>
|
||||
<% } %>
|
||||
</small>
|
||||
<br/>
|
||||
<%- comment.text %>
|
||||
</p>
|
||||
<div class="comment_body"><%= comment.html %></div>
|
||||
</div>
|
||||
<% }) %>
|
||||
<% if (note.status == "open") { %>
|
||||
<form action="#">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue