aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/profile.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-22 01:32:09 -0500
committerUnknwon <u@gogs.io>2015-11-22 01:32:09 -0500
commit52c8f691630548fe091d30bcfe8164545a05d3d5 (patch)
tree12ad797f4c2f8ae6ea81e59e4a0e73ec76abaef3 /templates/user/profile.tmpl
parentb80e848d02b4e27e067910c03aadeddcbdd5f3f5 (diff)
downloadgitea-52c8f691630548fe091d30bcfe8164545a05d3d5.tar.gz
gitea-52c8f691630548fe091d30bcfe8164545a05d3d5.zip
fix #650
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r--templates/user/profile.tmpl22
1 files changed, 1 insertions, 21 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index d1d92e8a20..a17261d138 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -55,27 +55,7 @@
</a>
</div>
{{if ne .TabName "activity"}}
- <div class="ui repository list">
- {{range .Repos}}
- {{if or (not .IsPrivate) (.HasAccess $.SignedUser)}}
- <div class="item">
- <div class="ui header">
- <a href="{{AppSubUrl}}/{{$.Owner.Name}}/{{.Name}}">{{.Name}}</a>
- {{if .IsPrivate}}
- <span class="text gold"><i class="icon octicon octicon-lock"></i></span>
- {{end}}
-
- <div class="ui right metas">
- <span class="text grey"><i class="octicon octicon-star"></i> {{.NumStars}}</span>
- <span class="text grey"><i class="octicon octicon-git-branch"></i> {{.NumForks}}</span>
- </div>
- </div>
- {{if .Description}}<p>{{.Description}}</p>{{end}}
- <p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}</p>
- </div>
- {{end}}
- {{end}}
- </div>
+ {{template "explore/repo_list" .}}
{{else}}
<br>
<div class="feeds">