diff options
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> |