aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/header_icon.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/header_icon.tmpl')
-rw-r--r--templates/repo/header_icon.tmpl12
1 files changed, 3 insertions, 9 deletions
diff --git a/templates/repo/header_icon.tmpl b/templates/repo/header_icon.tmpl
index ad169c5df3..7883ee9bc6 100644
--- a/templates/repo/header_icon.tmpl
+++ b/templates/repo/header_icon.tmpl
@@ -1,22 +1,16 @@
<div class="repo-header-icon">
{{if $.IsTemplate}}
- {{if $.IsPrivate}}
- {{svg "octicon-repo-template-private" 32}}
- {{else}}
- {{svg "octicon-repo-template" 32}}
- {{end}}
+ {{svg "octicon-repo-template" 32}}
{{else}}
{{if $.IsPrivate}}
{{svg "octicon-lock" 32}}
{{else if and (not $.IsMirror) (not $.IsFork) ($.Owner)}}
+ {{svg "octicon-repo" 32}}
{{if $.Owner.Visibility.IsPrivate}}
- {{svg "octicon-internal-repo" 32}}
<img class="ui avatar image" src="{{$.Owner.RelAvatarLink}}">
- {{else}}
- {{svg "octicon-repo" 32}}
{{end}}
{{else if $.IsMirror}}
- {{svg "octicon-repo-clone" 32}}
+ {{svg "octicon-mirror" 32}}
{{else if $.IsFork}}
{{svg "octicon-repo-forked" 32}}
{{else}}