Link from a diary entry to the relevant user's diary
Fix #2956 by making the title on a diary entry a link back to the diary list page for the author.
This commit is contained in:
parent
9e6e6c2e23
commit
89bd91e7d8
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<%= user_image @entry.user, :style => "float: right" %>
|
||||
|
||||
<h2><%= t 'diary_entry.view.user_title', :user => h(@entry.user.display_name) %></h2>
|
||||
<h2><%= link_to t('diary_entry.view.user_title', :user => h(@entry.user.display_name)), :action => :list %></h2>
|
||||
|
||||
<%= render :partial => 'diary_entry', :object => @entry %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue