Tidy up created on column

pull/3451/head
Alexander Bach 9 years ago committed by Peter Lehwess
parent db2bc11164
commit a5a47a8e5e
  1. 4
      app/views/my/access_token.html.erb

@ -73,7 +73,7 @@ See doc/COPYRIGHT.rdoc for more details.
<td>
<% if @user.rss_token %>
<span title="<%= @user.rss_token.created_on %>">
<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
<%= @user.rss_token.created_on.to_s %>
</span>
<% else %>
<%= l(:label_missing_feeds_access_key) %>
@ -93,7 +93,7 @@ See doc/COPYRIGHT.rdoc for more details.
<td>
<% if @user.api_token %>
<span title="<%= @user.api_token.created_on %>">
<%= l(:label_api_access_key_created_on, distance_of_time_in_words(Time.now, @user.api_token.created_on)) %>
<%= @user.api_token.created_on.to_s %>
</span>
<% else %>
<%= l(:label_missing_api_access_key) %>

Loading…
Cancel
Save