Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 12:46:09 +01:00

Undo change in templates/explore/repo_list.tmpl

This commit is contained in:
Florian Kaiser 2016-01-31 21:59:18 +00:00
parent 532f9fdd99
commit 29c3e9f428

View file

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