summaryrefslogtreecommitdiffstats
path: root/templates/repo/header.tmpl
diff options
context:
space:
mode:
authorlunnyxiao <xiaolunwen@gmail.com>2014-08-08 13:51:43 +0800
committerlunnyxiao <xiaolunwen@gmail.com>2014-08-08 13:51:43 +0800
commit7c7014262bdf90880826e6e6cc802bdab300b5ae (patch)
treea3b9803b8cb8ecc23517e73c1d0cdf73dcb213d5 /templates/repo/header.tmpl
parent57f6ec672ab059c57689a45c7f657923718e62bf (diff)
parent9d5c0c80a4984acc1a42da8360a712e4f5f615a0 (diff)
downloadgitea-7c7014262bdf90880826e6e6cc802bdab300b5ae.tar.gz
gitea-7c7014262bdf90880826e6e6cc802bdab300b5ae.zip
Merge branch 'dev' of github.com:gogits/gogs into dev
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">