diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-23 18:13:24 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-23 18:13:24 +0000 |
commit | e26eeef837f15de2d8f139ca838980eaa9de4da0 (patch) | |
tree | 263ba38f7580ce4b4bf2e5ee2faaa43e241874cf /app/views/my/account.rhtml | |
parent | d404d2f586645cfc6d334c3ef4e963b2fa1b9667 (diff) | |
download | redmine-e26eeef837f15de2d8f139ca838980eaa9de4da0.tar.gz redmine-e26eeef837f15de2d8f139ca838980eaa9de4da0.zip |
Display API key in the sidebar, just below the API key heading.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3225 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my/account.rhtml')
-rw-r--r-- | app/views/my/account.rhtml | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index a3136f4cd..9bf45b33e 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -52,17 +52,6 @@ <% end %> </div> -<% if Setting.rest_api_enabled? && @user.api_token %> -<h3><%=l(:label_api_access_key) %></h3> -<div class="box"> - <p> - <%= link_to_function(l(:button_show), "$('api-access-key').show();")%> - <pre id='api-access-key'><%= @user.api_key %></pre> - </p> - <%= javascript_tag("$('api-access-key').hide();") %> -</div> -<% end %> - </div> <% end %> |