diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-08-17 20:20:21 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-08-17 15:20:21 +0300 |
commit | aec826b02381e3e00ad6690a986d3caa5a7df23e (patch) | |
tree | 067be799d7c536777b3a9742106484e519f7a2b8 /templates | |
parent | 934dd41fa660bda0c1006e8f293f6f7ba3d8bad7 (diff) | |
download | gitea-aec826b02381e3e00ad6690a986d3caa5a7df23e.tar.gz gitea-aec826b02381e3e00ad6690a986d3caa5a7df23e.zip |
fix template error on explore repos (#2319)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/explore/repo_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 76ed6491f4..9686e9dca3 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -2,7 +2,7 @@ {{range .Repos}} <div class="item"> <div class="ui header"> - <a class="name" href="{{AppSubUrl}}/{{if .Owner}}{{.Owner.Name}}{{else if $.Org}}{{$.Org.Name}}{{else}}{{$.Owner.Name}}{{end}}/{{.Name}}">{{if or $.PageIsExplore $.PageIsProfileStarList }}{{.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 or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}</a> {{if .IsPrivate}} <span class="text gold"><i class="octicon octicon-lock"></i></span> {{else if .IsFork}} |