Skip to content

Commit

Permalink
解决两个页面的Gavatar没有更换的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmykuu committed Apr 17, 2013
1 parent 90dcd46 commit 5e20cab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/package/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h1>{{.package.Title}}</h1>
<a href="/comment/{{.Id_.Hex}}/delete" class="remove label pull-right" title="删除"><i class="icon-white icon-remove"></i></a>
{{end}}
{{end}}
<a href="/" class="pull-left" style="margin-right: 10px;"><img src="{{$utils.Gravatar .Creater.Email 48}}"></a>
<a href="/" class="pull-left" style="margin-right: 10px;"><img src="{{$.Creater.AvatarImgSrc}}-middle"></a>
<div class="info">
<a href="/member/{{.Creater.Username}}"><strong>{{.Creater.Username}}</strong></a>
{{$utils.FormatTime .CreatedAt}}
Expand Down
2 changes: 1 addition & 1 deletion templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<dl class="topics">
{{range .topics}}
<dd>
<a href="/member/{{.Creater.Username}}" class="pull-left" style="margin-right: 10px;"><img src="{{$utils.Gravatar .Creater.Email 48}}"></a>
<a href="/member/{{.Creater.Username}}" class="pull-left" style="margin-right: 10px;"><img src="{{.Creater.AvatarImgSrc}}-middle"></a>
{{if .CommentCount}}
<a class="badge pull-right" href="/t/{{.Id_.Hex}}#.LatestReplyId.Hex">{{.CommentCount}}</a>
{{end}}
Expand Down

0 comments on commit 5e20cab

Please sign in to comment.