summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-11 11:40:47 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-11 11:40:47 -0400
commit12f81de349b9793c6f8f14b11af32ee94a735d5f (patch)
treeb8a5833bfa660ddf639eb8ecb701336b212a011e /templates/user
parentb3de0ded70bdc6ea460a8a4002aae084d07c384e (diff)
downloadgitea-12f81de349b9793c6f8f14b11af32ee94a735d5f.tar.gz
gitea-12f81de349b9793c6f8f14b11af32ee94a735d5f.zip
Finish delete user
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/delete.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/delete.tmpl b/templates/user/delete.tmpl
index e6522aa21d..af0e1fbc06 100644
--- a/templates/user/delete.tmpl
+++ b/templates/user/delete.tmpl
@@ -15,7 +15,7 @@
<div id="gogs-user-setting-container" class="col-md-9">
<form action="/user/delete" method="post" class="form-horizontal" id="gogs-user-delete">
<h4>Delete Account</h4>
- <p class="alert alert-danger">Deleting your account is permanent. Sorry to see you go, if you have any feedback you can contact us.</p>
+ <p class="alert alert-danger">{{if not .HasError}}The operation will delete your account permanently. Sorry to see you go, but we know you'll back soon.{{else}}{{.ErrorMsg}}{{end}}</p>
<div class="form-group">
<div class="col-md-3">
<button type="submit" class="btn btn-danger btn-lg">Delete Account</button>