summaryrefslogtreecommitdiffstats
path: root/templates/repo/header.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-07 06:40:05 -0400
committerUnknwon <joe2010xtmf@163.com>2014-08-07 06:40:05 -0400
commite8c9bb2c66a1f48820a93b670c2e6e67da94b354 (patch)
tree372f7d3c44e0d3d2f2b7527e482c5cece05ebfee /templates/repo/header.tmpl
parent99eeb08419e63474b4e9d6581335f693d26c0e69 (diff)
downloadgitea-e8c9bb2c66a1f48820a93b670c2e6e67da94b354.tar.gz
gitea-e8c9bb2c66a1f48820a93b670c2e6e67da94b354.zip
Finish new collaboration page
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r--templates/repo/header.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index a789d13fee..5e9c3ea2db 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -1,10 +1,11 @@
<div id="repo-header" class="clear">
<div class="container clear">
<h1 id="repo-header-name" class="left public">
- <i class="mega-octicon octicon-{{if .Repository.IsPrivate}}lock{{else}}repo{{end}}"></i>
+ <i class="mega-octicon octicon-{{if .Repository.IsPrivate}}lock{{else if .Repository.IsMirror}}repo-clone{{else}}repo{{end}}"></i>
<a class="author" href="/{{.Owner.Name}}">{{.Owner.Name}}</a>
<span class="divider">/</span>
<a class="repo text-bold" href="{{.RepoLink}}">{{.Repository.Name}}</a>
+ {{if .Repository.IsMirror}}<span class="label label-gray">{{.i18n.Tr "mirror"}}</span>{{end}}
</h1>
<ul id="repo-header-meta" class="right menu menu-line">
<li id="repo-header-download" class="inline-block down drop">