diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-13 03:39:18 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-13 03:39:18 -0400 |
commit | 57bc2d1ca0bfc3ba90e6d85309dba39415c6db73 (patch) | |
tree | 8d452408dbc3f89ac3a0a393ad5eadd80370f167 /templates | |
parent | adedd9181c07ed926bf5835623293df4fcc706d2 (diff) | |
download | gitea-57bc2d1ca0bfc3ba90e6d85309dba39415c6db73.tar.gz gitea-57bc2d1ca0bfc3ba90e6d85309dba39415c6db73.zip |
Add update user profile back end, add new gitignore and license, add template data to public profile page
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/profile.tmpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 79e6062bcb..94ec33b696 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -4,16 +4,16 @@ <div id="gogs-user-profile" class="col-md-3"> <div class="profile-avatar text-center"> <a href="#" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change Avatar"> - <img id="gogs-user-avatar" src="http://1.gravatar.com/avatar/{{.Avatar}}?s=200" alt="user-avatar" title="username"/> + <img id="gogs-user-avatar" src="http://1.gravatar.com/avatar/{{.Owner.Avatar}}?s=200" alt="user-avatar" title="username"/> </a> - <span id="gogs-user-name" class="center-block" href="#">{{.Username}}</span> + <span id="gogs-user-name" class="center-block" href="#">{{.Owner.Name}}</span> </div> <div class="profile-info"> <ul class="list-group"> - <li class="list-group-item"><i class="fa fa-thumb-tack"></i>City, County, State, Nation</li> - <li class="list-group-item"><i class="fa fa-envelope"></i><a href="#">Email@EmailAddress.com</a></li> - <li class="list-group-item"><i class="fa fa-link"></i><a href="#">http://yousite/</a></li> - <li class="list-group-item"><i class="fa fa-clock-o"></i>Joined At 03.02, 2014</li> + <li class="list-group-item"><i class="fa fa-thumb-tack"></i>{{.Owner.Location}}</li> + <li class="list-group-item"><i class="fa fa-envelope"></i><a href="#">{{.Owner.Email}}</a></li> + <li class="list-group-item"><i class="fa fa-link"></i><a href="#">{{.Owner.Website}}</a></li> + <li class="list-group-item"><i class="fa fa-clock-o"></i>{{.Owner.Created}}</li> </ul> </div> </div> |