diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-01 08:26:41 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-01 08:26:41 -0400 |
commit | 89c99167b2916a36ef112125662e014ca5b9da26 (patch) | |
tree | 5568a33c5e04677c584e7958b20e1e9b2c04e799 /templates/user | |
parent | d0ea4c7b686a200af3eca3847909b515c40539ee (diff) | |
download | gitea-89c99167b2916a36ef112125662e014ca5b9da26.tar.gz gitea-89c99167b2916a36ef112125662e014ca5b9da26.zip |
Fix #149
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/profile.tmpl | 1 | ||||
-rw-r--r-- | templates/user/setting.tmpl | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 15d2a0bd5a..43ecabfa16 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -6,6 +6,7 @@ <a href="http://gravatar.com/emails/" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change your avatar at gravatar.com"> <img id="user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="{{.Owner.Name}}"/> </a> + {{if .Owner.FullName}}<span id="user-name" class="center-block">{{.Owner.FullName}}</span>{{end}} <span id="user-name" class="center-block">{{.Owner.Name}}</span> </div> <div class="profile-info"> diff --git a/templates/user/setting.tmpl b/templates/user/setting.tmpl index 56d859fe41..bdcf9ce3b7 100644 --- a/templates/user/setting.tmpl +++ b/templates/user/setting.tmpl @@ -18,6 +18,13 @@ </div> <div class="form-group"> + <label class="col-md-2 control-label">Full Name</label> + <div class="col-md-8"> + <input name="fullname" class="form-control" placeholder="Type your full name" value="{{.SignedUser.FullName}}"> + </div> + </div> + + <div class="form-group"> <label class="col-md-2 control-label">Email<strong class="text-danger">*</strong></label> <div class="col-md-8"> <input name="email" class="form-control" placeholder="Type your e-mail address" required="required" value="{{.SignedUser.Email}}"> |