2 <h2><%- I18n.t('javascripts.notes.show.title', { id: note.id }) %></h2>
3 <% note.comments.forEach(function (comment) { %>
5 <small class="deemphasize">
6 <% if (comment.user) { %>
7 <%= I18n.t('javascripts.notes.show.event', {
8 action: comment.action, user: comment.user,
9 user_url: comment.user_url, time: comment.date
12 <%- I18n.t('javascripts.notes.show.anonymous_event', {
13 action: comment.action, time: comment.date
17 <div class="comment_body"><%= comment.html %></div>
20 <% if (note.status == "open") { %>
22 <textarea class="comment" name="text" cols="40" rows="5"></textarea>
25 <input type="submit" name="close" value="<%- I18n.t('javascripts.notes.show.close') %>" data-url="<%- note.close_url %>">
26 <input type="submit" name="comment" value="<%- I18n.t('javascripts.notes.show.comment') %>" data-url="<%- note.comment_url %>" disabled="1">