diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-05 17:28:09 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-05 17:28:09 -0400 |
commit | ab7206d6b787645956b0279f729bd7b22cbed690 (patch) | |
tree | 708566eff3437c25984e7ae91f3c34f254868547 /templates/explore/repos.tmpl | |
parent | 033a7f022401fb1bd5fdc540f24ba26f5ab64a75 (diff) | |
download | gitea-ab7206d6b787645956b0279f729bd7b22cbed690.tar.gz gitea-ab7206d6b787645956b0279f729bd7b22cbed690.zip |
Fix #348
Diffstat (limited to 'templates/explore/repos.tmpl')
-rw-r--r-- | templates/explore/repos.tmpl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/explore/repos.tmpl b/templates/explore/repos.tmpl new file mode 100644 index 0000000000..a1e3d408e8 --- /dev/null +++ b/templates/explore/repos.tmpl @@ -0,0 +1,25 @@ +{{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="/{{.Owner.Name}}/{{.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" .}}
\ No newline at end of file |