diff options
author | Achilleas Koutsou <achilleas.k@gmail.com> | 2020-09-03 21:04:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 03:04:22 +0800 |
commit | c4360747a3bdd0d5a5a673bfcdee05f9d911ba1e (patch) | |
tree | 4c8ca23dc3f449bc946b6c75c0fec8dd928dbb73 /templates/explore | |
parent | 23ff182d1f8df2978785772bc58cf0ebfd2aeb0c (diff) |
repo: support unlisted but publicly accessible repositories (#6176)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to 'templates/explore')
-rw-r--r-- | templates/explore/repo_list.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 4cf1aed5..b8491a9b 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -10,6 +10,8 @@ <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 .IsPrivate}} <span class="text gold"><i class="octicon octicon-lock"></i></span> + {{else if .IsUnlisted}} + <span><i class="octicon octicon-eye"></i></span> {{else if .IsFork}} <span><i class="octicon octicon-repo-forked"></i></span> {{else if .IsMirror}} |