summaryrefslogtreecommitdiffstats
path: root/templates/user/profile.tmpl
diff options
context:
space:
mode:
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">