summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-06 16:48:02 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-06 16:48:02 +0800
commitd3a987eded8bf2d0afc35dce32238e59da8080a8 (patch)
tree8d94bf76ca20cf2cc6ea1c5eda04ef61c50b71fc /templates/user
parent1b0142513e21fd37d477ca776ccf8d6f6f1bc928 (diff)
downloadgitea-d3a987eded8bf2d0afc35dce32238e59da8080a8.tar.gz
gitea-d3a987eded8bf2d0afc35dce32238e59da8080a8.zip
username & repo-name changing help message
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/setting.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/user/setting.tmpl b/templates/user/setting.tmpl
index b32689fe12..d582833870 100644
--- a/templates/user/setting.tmpl
+++ b/templates/user/setting.tmpl
@@ -10,9 +10,10 @@
{{if .IsSuccess}}<p class="alert alert-success">Your profile has been successfully updated.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}}
<p>Your Email will be public and used for Account related notifications and any web based operations made via the web.</p>
<div class="form-group">
- <label class="col-md-2 control-label">Username<strong class="text-danger">*</strong></label>
+ <label class="col-md-2 control-label" for="user-setting-username">Username<strong class="text-danger">*</strong></label>
<div class="col-md-8">
- <input name="username" class="form-control" placeholder="Type your user name" required="required" value="{{.SignedUser.Name}}" title="{{.SignedUser.Name}}">
+ <input name="username" class="form-control" placeholder="Type your user name" required="required" value="{{.SignedUser.Name}}" title="{{.SignedUser.Name}}" id="user-setting-username">
+ <p class="help-block hidden"><span class="text-danger">Cautious : </span>your username is changing !</p>
</div>
</div>