diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-19 23:20:55 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-19 23:20:55 -0400 |
commit | a922c3ff6a65d6d0550f36d866a301a6737ca8a2 (patch) | |
tree | a7af095002f13ca5e60965df7287f0d3f4e82b6b /templates | |
parent | 8b0f421eb504075b7500575515282cd7da8b0878 (diff) | |
download | gitea-a922c3ff6a65d6d0550f36d866a301a6737ca8a2.tar.gz gitea-a922c3ff6a65d6d0550f36d866a301a6737ca8a2.zip |
Watch backend
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/commits.tmpl | 2 | ||||
-rw-r--r-- | templates/user/profile.tmpl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 8b4e41f748..2e67a1200a 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -26,7 +26,7 @@ {{$r := List .Commits}} {{range $r}} <tr> - <td class="author"><img class="avatar" src="{{AvatarLink .Committer.Email}}" alt=""/>{{.Committer.Name}}</td> + <td class="author"><img class="avatar" src="{{AvatarLink .Committer.Email}}" alt=""/><a href="/user/{{.Committer.Name}}">{{.Committer.Name}}</a></td> <td class="sha"><a class="label label-success" href="/{{$username}}/{{$reponame}}/commit/{{.Id}} ">{{SubStr .Id.String 0 7}} </a></td> <td class="message">{{.Message}} </td> <td class="date">{{TimeSince .Committer.When}}</td> diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 8dca29ffe3..2d76d9bf01 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -3,8 +3,8 @@ <div id="gogs-body" class="container" data-page="user"> <div id="gogs-user-profile" class="col-md-3"> <div class="profile-avatar text-center"> - <a href="{{.Owner.HomeLink}}" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change Avatar"> - <img id="gogs-user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="username"/> + <a href="http://gravatar.com/emails/" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change your avatar at gravatar.com"> + <img id="gogs-user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="{{.Owner.Name}}"/> </a> <span id="gogs-user-name" class="center-block">{{.Owner.Name}}</span> </div> |