Undo change in templates/explore/repo_list.tmpl

tokarchuk/v1.17
Florian Kaiser 9 years ago
parent 532f9fdd99
commit 29c3e9f428
  1. 6
      templates/explore/repo_list.tmpl

@ -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}}

Loading…
Cancel
Save