Refactor browsed object loading
This commit is contained in:
parent
a4e38ea695
commit
6157280d19
4 changed files with 39 additions and 53 deletions
|
@ -1,5 +1,5 @@
|
|||
<div class="note">
|
||||
<a class="icon link permalink deemphasize" href="/?note=<%- note.id %>"><span><%- I18n.t('javascripts.notes.show.permalink', { id: note.id }) %></span></a>
|
||||
<a class="icon link permalink deemphasize" href="/browse/note/<%- note.id %>"><span><%- I18n.t('javascripts.notes.show.permalink', { id: note.id }) %></span></a>
|
||||
<% 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