Add last updated date to diary entry page
This commit is contained in:
parent
4e78f3ae5b
commit
f4239f8fc5
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
<h2><%= link_to diary_entry.title, diary_entry_path(diary_entry.user, diary_entry) %></h2>
|
||||
|
||||
<small class='text-muted'>
|
||||
<%= t(".posted_by_html", :link_user => (link_to diary_entry.user.display_name, user_path(diary_entry.user)), :created => l(diary_entry.created_at, :format => :blog), :language_link => (link_to diary_entry.language.name, :controller => "diary_entries", :action => "index", :display_name => nil, :language => diary_entry.language_code)) %>
|
||||
<%= t(".posted_by_html", :link_user => (link_to diary_entry.user.display_name, user_path(diary_entry.user)), :created => l(diary_entry.created_at, :format => :blog), :language_link => (link_to diary_entry.language.name, :controller => "diary_entries", :action => "index", :display_name => nil, :language => diary_entry.language_code), :updated => l(diary_entry.updated_at, :format => :blog)) %>
|
||||
</small>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -433,7 +433,7 @@ en:
|
|||
heading: "No entry with the id: %{id}"
|
||||
body: "Sorry, there is no diary entry or comment with the id %{id}. Please check your spelling, or maybe the link you clicked is wrong."
|
||||
diary_entry:
|
||||
posted_by_html: "Posted by %{link_user} on %{created} in %{language_link}"
|
||||
posted_by_html: "Posted by %{link_user} on %{created} in %{language_link} last updated on %{updated}"
|
||||
comment_link: Comment on this entry
|
||||
reply_link: Send a message to the author
|
||||
comment_count:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue