|
|
@ -3,10 +3,10 @@ |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
<div class="ui header"> |
|
|
|
<div class="ui header"> |
|
|
|
<a class="name" href="{{AppSubUrl}}/{{if .Owner}}{{.Owner.Name}}{{else if $.Org}}{{$.Org.Name}}{{else}}{{$.Owner.Name}}{{end}}/{{.Name}}">{{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}}</a> |
|
|
|
<a class="name" href="{{AppSubUrl}}/{{if .Owner}}{{.Owner.Name}}{{else if $.Org}}{{$.Org.Name}}{{else}}{{$.Owner.Name}}{{end}}/{{.Name}}">{{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}}</a> |
|
|
|
{{if .IsFork}} |
|
|
|
{{if .IsPrivate}} |
|
|
|
<span><i class="icon octicon octicon-repo-forked"></i></span> |
|
|
|
|
|
|
|
{{else if .IsPrivate}} |
|
|
|
|
|
|
|
<span class="text gold"><i class="icon octicon octicon-lock"></i></span> |
|
|
|
<span class="text gold"><i class="icon octicon octicon-lock"></i></span> |
|
|
|
|
|
|
|
{{else if .IsFork}} |
|
|
|
|
|
|
|
<span><i class="icon octicon octicon-repo-forked"></i></span> |
|
|
|
{{else if .IsMirror}} |
|
|
|
{{else if .IsMirror}} |
|
|
|
<span><i class="icon octicon octicon-repo-clone"></i></span> |
|
|
|
<span><i class="icon octicon octicon-repo-clone"></i></span> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|