diff options
author | Unknwon <u@gogs.io> | 2015-08-09 11:46:10 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-09 11:46:10 +0800 |
commit | 4b43ffc96cf16cd49b5796feca8ad853f3e3a8ee (patch) | |
tree | 85306f0d5e79394a0dcc4dca4c1cd5e3256471ce /templates/repo/pulls | |
parent | 56a8d573b0346dce9f6843d61997e5794bc16e4e (diff) | |
download | gitea-4b43ffc96cf16cd49b5796feca8ad853f3e3a8ee.tar.gz gitea-4b43ffc96cf16cd49b5796feca8ad853f3e3a8ee.zip |
Generate random avatar based on e-mail when disable Gravatar
Diffstat (limited to 'templates/repo/pulls')
-rw-r--r-- | templates/repo/pulls/fork.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index 2f76cf002a..01bbe9b797 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -14,19 +14,19 @@ <div class="ui selection dropdown"> <input type="hidden" id="uid" name="uid" value="{{.ContextUser.Id}}" required> <span class="text"> - <img class="ui mini avatar image" src="{{.ContextUser.AvatarLink}}"> + <img class="ui mini image" src="{{.ContextUser.AvatarLink}}"> {{.ContextUser.Name}} </span> <i class="dropdown icon"></i> <div class="menu"> <div class="item" data-value="{{.SignedUser.Id}}"> - <img class="ui mini avatar image" src="{{.SignedUser.AvatarLink}}"> + <img class="ui mini image" src="{{.SignedUser.AvatarLink}}"> {{.SignedUser.Name}} </div> {{range .Orgs}} {{if .IsOwnedBy $.SignedUser.Id}} <div class="item" data-value="{{.Id}}"> - <img class="ui mini avatar image" src="{{.AvatarLink}}"> + <img class="ui mini image" src="{{.AvatarLink}}"> {{.Name}} </div> {{end}} |