<p>
<small class="deemphasize">
<% if (comment.user) { %>
- <%- I18n.t('javascripts.notes.show.event', {
- action: comment.action, user: comment.user, time: comment.date
+ <%= I18n.t('javascripts.notes.show.event', {
+ action: comment.action, user: comment.user,
+ user_url: comment.user_url, time: comment.date
}) %>
<% } else { %>
<%- I18n.t('javascripts.notes.show.anonymous_event', {
add: Add Note
show:
title: Note %{id}
- event: "%{action} by %{user} at %{time}"
+ event: "%{action} by <a href='%{user_url}'>%{user}</a> at %{time}"
anonymous_event: "%{action} by anonymous at %{time}"
close: Close
comment_and_close: Comment & Close