Make titles in note popups link to the note
This commit is contained in:
parent
4b324f5896
commit
104f554008
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<div class="note">
|
||||
<h2><%- I18n.t('javascripts.notes.show.title', { id: note.id }) %></h2>
|
||||
<h2><a href="/?note=<%- note.id %>"><%- I18n.t('javascripts.notes.show.title', { id: note.id }) %></a></h2>
|
||||
<% if (note.comments.some(function (comment) { return !comment.user })) { %>
|
||||
<small class="warning"><%- I18n.t('javascripts.notes.show.anonymous_warning') %></small>
|
||||
<% } %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue