aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore/repos.tmpl
blob: 1e0143f56ab2bca80232704d2ded1ea89d3b7886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{template "ng/base/head" .}}
{{template "ng/base/header" .}}
<div id="setting-wrapper" class="main-wrapper">
    <div id="org-setting" class="container clear">
        {{template "explore/nav" .}}
        <div class="grid-4-5 left">
            <div class="setting-content">
                <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>
        </div>
    </div>
</div>
{{template "ng/base/footer" .}}