githaven/templates/explore/repos.tmpl

28 lines
1.2 KiB
Cheetah
Raw Normal View History

2014-09-05 21:28:09 +00: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-18 16:22:27 +00:00
{{template "explore/nav" .}}
2014-09-05 21:28:09 +00:00
<div class="grid-4-5 left">
<div class="setting-content">
2015-04-18 16:22:27 +00: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-05 21:28:09 +00:00
</div>
</div>
</div>
2015-04-04 17:53:21 +00:00
{{template "ng/base/footer" .}}