gitea/templates/explore/repos.tmpl

28 lines
1.2 KiB
Cheetah
Raw Normal View History

2014-09-06 05:28:09 +08:00
{{template "ng/base/head" .}}
{{template "ng/base/header" .}}
<div id="setting-wrapper" class="main-wrapper">
<div id="org-setting" class="container clear">
2015-04-19 00:22:27 +08:00
{{template "explore/nav" .}}
2014-09-06 05:28:09 +08:00
<div class="grid-4-5 left">
<div class="setting-content">
2015-04-19 00:22:27 +08:00
<div id="org-repo-list">
{{range .Repos}}
<div class="org-repo-item">
<ul class="org-repo-status right">
<li><i class="octicon octicon-star"></i> {{.NumStars}}</li>
<li><i class="octicon octicon-git-branch"></i> {{.NumForks}}</li>
</ul>
<h2>
<a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Owner.Name}} / {{.Name}}</a>
</h2>
<p class="org-repo-description">{{.Description}}</p>
<p class="org-repo-updated">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}</p>
</div>
{{end}}
</div>
</div>
2014-09-06 05:28:09 +08:00
</div>
</div>
</div>
2015-04-05 01:53:21 +08:00
{{template "ng/base/footer" .}}