diff options
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r-- | templates/user/profile.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index a336bfb2fb..e80b2394ca 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -58,14 +58,13 @@ </ul> </div> {{else}} - {{$owner := .Owner}} <div class="tab-pane active"> <ul class="list-unstyled repo-list"> {{range .Repos}} <li> <div class="meta pull-right"><!-- <i class="fa fa-star"></i> {{.NumStars}} --> <i class="fa fa-code-fork"></i> {{.NumForks}}</div> <h4> - <a href="/{{$owner.Name}}/{{.Name}}">{{.Name}}{{if .IsPrivate}} <span class="label label-default">Private</span>{{end}}</a> + <a href="/{{$.Owner.Name}}/{{.Name}}">{{.Name}}{{if .IsPrivate}} <span class="label label-default">Private</span>{{end}}</a> </h4> <p class="desc">{{.Description}}</p> <div class="info">Last updated {{.Updated|TimeSince}}</div> |