|
|
|
@ -21,16 +21,18 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
<%= User.human_attribute_name(:created_on) %>: <%= format_time(@user.created_on) %></p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><%= l(:label_feeds_access_key) %></h3> |
|
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
<% if @user.rss_token %> |
|
|
|
|
<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %> |
|
|
|
|
<% else %> |
|
|
|
|
<%= l(:label_missing_feeds_access_key) %> |
|
|
|
|
<% unless Setting.feeds_disabled? %> |
|
|
|
|
<h3><%= l(:label_feeds_access_key) %></h3> |
|
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
<% if @user.rss_token %> |
|
|
|
|
<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %> |
|
|
|
|
<% else %> |
|
|
|
|
<%= l(:label_missing_feeds_access_key) %> |
|
|
|
|
<% end %> |
|
|
|
|
(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>) |
|
|
|
|
</p> |
|
|
|
|
<% end %> |
|
|
|
|
(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>) |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
<% if Setting.rest_api_enabled? %> |
|
|
|
|
<h3><%= l(:label_api_access_key) %></h3> |
|
|
|
|