Use scope for time_ago when viewing users
Refs #2255.
Also removes unused translation referencing ago, that was unneeded
after cbf71f04c2
This commit is contained in:
parent
50d469a74a
commit
47e653ffe0
2 changed files with 2 additions and 4 deletions
|
@ -21,7 +21,7 @@
|
|||
<p>
|
||||
<% changeset = contact.changesets.first %>
|
||||
<% if changeset %>
|
||||
<%= t("users.show.latest edit", :ago => t("users.show.ago", :time_in_words_ago => time_ago_in_words(changeset.created_at))) %>
|
||||
<%= t("users.show.latest edit", :ago => time_ago_in_words(changeset.created_at, :scope => :'datetime.distance_in_words_ago')) %>
|
||||
<% comment = changeset.tags["comment"].to_s != "" ? changeset.tags["comment"] : t("browse.no_comment") %>
|
||||
"<%= link_to(comment,
|
||||
{ :controller => "browse", :action => "changeset", :id => changeset.id },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue