summaryrefslogtreecommitdiffstats
path: root/app/views/my/_sidebar.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/_sidebar.html.erb')
-rw-r--r--app/views/my/_sidebar.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/my/_sidebar.html.erb b/app/views/my/_sidebar.html.erb
index 407fe990f..c89e6f3b4 100644
--- a/app/views/my/_sidebar.html.erb
+++ b/app/views/my/_sidebar.html.erb
@@ -3,6 +3,9 @@
<p><%=l(:field_login)%>: <strong><%= link_to_user(@user, :format => :username) %></strong><br />
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
+<% if @user.own_account_deletable? %>
+ <p><%= link_to(l(:button_delete_my_account), {:action => 'destroy'}, :class => 'icon icon-del') %></p>
+<% end %>
<h4><%= l(:label_feeds_access_key) %></h4>