Mercurial > hg > soundsoftware-site
comparison .svn/pristine/b4/b4b4309afdcbb28f9f563957d2319d3e733382e5.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
1 <h3><%=l(:label_my_account)%></h3> | |
2 | |
3 <p><%=l(:field_login)%>: <strong><%= link_to_user(@user, :format => :username) %></strong><br /> | |
4 <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p> | |
5 | |
6 <% if @user.own_account_deletable? %> | |
7 <p><%= link_to(l(:button_delete_my_account), {:action => 'destroy'}, :class => 'icon icon-del') %></p> | |
8 <% end %> | |
9 | |
10 <h4><%= l(:label_feeds_access_key) %></h4> | |
11 | |
12 <p> | |
13 <% if @user.rss_token %> | |
14 <%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %> | |
15 <% else %> | |
16 <%= l(:label_missing_feeds_access_key) %> | |
17 <% end %> | |
18 (<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>) | |
19 </p> | |
20 | |
21 <% if Setting.rest_api_enabled? %> | |
22 <h4><%= l(:label_api_access_key) %></h4> | |
23 <div> | |
24 <%= link_to_function(l(:button_show), "$('#api-access-key').toggle();")%> | |
25 <pre id='api-access-key' class='autoscroll'><%= h(@user.api_key) %></pre> | |
26 </div> | |
27 <%= javascript_tag("$('#api-access-key').hide();") %> | |
28 <p> | |
29 <% if @user.api_token %> | |
30 <%= l(:label_api_access_key_created_on, distance_of_time_in_words(Time.now, @user.api_token.created_on)) %> | |
31 <% else %> | |
32 <%= l(:label_missing_api_access_key) %> | |
33 <% end %> | |
34 (<%= link_to l(:button_reset), {:action => 'reset_api_key'}, :method => :post %>) | |
35 </p> | |
36 <% end %> |