summaryrefslogtreecommitdiffstats
path: root/app/views/my/_sidebar.html.erb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-03-19 09:56:46 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-03-19 09:56:46 +0000
commitf286a6044be49b88b067f89072618aecc7164caa (patch)
tree6359dfe601c787be72932e98a862f5b99e98d11f /app/views/my/_sidebar.html.erb
parent65a91d13a0ef8a08f2cb118ea0bda716910db6a9 (diff)
downloadredmine-f286a6044be49b88b067f89072618aecc7164caa.tar.gz
redmine-f286a6044be49b88b067f89072618aecc7164caa.zip
Deprecate and rename rss_* methods to atom_* methods (#15118).
Patch by Mischa The Evil and Marius BÄ‚LTEANU git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my/_sidebar.html.erb')
-rw-r--r--app/views/my/_sidebar.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/my/_sidebar.html.erb b/app/views/my/_sidebar.html.erb
index 01ac5c6a5..cd4860796 100644
--- a/app/views/my/_sidebar.html.erb
+++ b/app/views/my/_sidebar.html.erb
@@ -10,12 +10,12 @@
<h4><%= l(:label_feeds_access_key) %></h4>
<p>
-<% if @user.rss_token %>
-<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
+<% if @user.atom_token %>
+<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.atom_token.created_on)) %>
<% else %>
<%= l(:label_missing_feeds_access_key) %>
<% end %>
-(<%= link_to l(:button_reset), my_rss_key_path, :method => :post %>)
+(<%= link_to l(:button_reset), my_atom_key_path, :method => :post %>)
</p>
<% if Setting.rest_api_enabled? %>