diff --git a/app/views/my/_sidebar.rhtml b/app/views/my/_sidebar.rhtml index 0a95acf..2089fee 100644 --- a/app/views/my/_sidebar.rhtml +++ b/app/views/my/_sidebar.rhtml @@ -17,10 +17,10 @@ <% if Setting.rest_api_enabled? %>

<%= l(:label_api_access_key) %>

-

+

<%= link_to_function(l(:button_show), "$('api-access-key').toggle();")%>
<%= @user.api_key %>
-

+
<%= javascript_tag("$('api-access-key').hide();") %>

<% if @user.api_token %>