diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-29 20:07:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-29 20:07:28 +0000 |
commit | 39c9874a41028c7ec5f67207d698947c751d9484 (patch) | |
tree | b45e4b35f8bca53c89ba763dd005729c7497f7d8 /app/views/my | |
parent | 317b460d96523c234d2dc2343a9774888c74d44c (diff) | |
download | redmine-39c9874a41028c7ec5f67207d698947c751d9484.tar.gz redmine-39c9874a41028c7ec5f67207d698947c751d9484.zip |
Added the ability to reset its own RSS access key on "My account".
git-svn-id: http://redmine.rubyforge.org/svn/trunk@677 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my')
-rw-r--r-- | app/views/my/account.rhtml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index 24f0ef551..c884de841 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -1,7 +1,12 @@ <h2><%=l(:label_my_account)%></h2> -<p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br /> -<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p> +<p><%=l(:field_login)%>: <strong><%= @user.login %></strong> +<br /><%=l(:field_created_on)%>: <%= format_time(@user.created_on) %> +<% if @user.rss_token %> +<br /><%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %> +(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>) +<% end %> +</p> <%= error_messages_for 'user' %> |