projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4b324f5
)
Make titles in note popups link to the note
author
Tom Hughes
<tom@compton.nu>
Sun, 3 Feb 2013 16:50:59 +0000
(16:50 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 3 Feb 2013 16:50:59 +0000
(16:50 +0000)
app/assets/javascripts/templates/notes/show.jst.ejs
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/templates/notes/show.jst.ejs
b/app/assets/javascripts/templates/notes/show.jst.ejs
index 8c37118f189cdf04246ca27c364d2fd2e1e40a97..e60971884dcd0f07147f5dcfe2247f26dfe1917d 100644
(file)
--- a/
app/assets/javascripts/templates/notes/show.jst.ejs
+++ b/
app/assets/javascripts/templates/notes/show.jst.ejs
@@
-1,5
+1,5
@@
<div class="note">
<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>
<% } %>
<% if (note.comments.some(function (comment) { return !comment.user })) { %>
<small class="warning"><%- I18n.t('javascripts.notes.show.anonymous_warning') %></small>
<% } %>