summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2015-04-19 00:39:21 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2015-04-19 00:39:21 +0800
commit3db0e7553e10c90c7765b08d9d760fe23dfa6147 (patch)
treeb28f4c82e093650eaf7215cb9216bd3f00d4718a
parent65a06731dbfaad6bb797539b07e88f44a7fcd697 (diff)
parent80e640f082e55d1661f94f6e5d744a6edc8cc43e (diff)
downloadgitea-3db0e7553e10c90c7765b08d9d760fe23dfa6147.tar.gz
gitea-3db0e7553e10c90c7765b08d9d760fe23dfa6147.zip
Merge pull request #1186 from dhuan/author-name-on-explore-page
Display author's name on explore page
-rw-r--r--templates/explore/repos.tmpl34
1 files changed, 18 insertions, 16 deletions
diff --git a/templates/explore/repos.tmpl b/templates/explore/repos.tmpl
index 954d0b06ec..1e0143f56a 100644
--- a/templates/explore/repos.tmpl
+++ b/templates/explore/repos.tmpl
@@ -2,24 +2,26 @@
{{template "ng/base/header" .}}
<div id="setting-wrapper" class="main-wrapper">
<div id="org-setting" class="container clear">
- {{template "explore/nav" .}}
+ {{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}}">{{.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 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" .}} \ No newline at end of file
+{{template "ng/base/footer" .}}