From 532f9fdd99eec836d1a084b4ec388eccabf2dce1 Mon Sep 17 00:00:00 2001 From: Florian Kaiser Date: Sun, 31 Jan 2016 20:41:57 +0000 Subject: [PATCH 1/2] Use icon repo-forked instead of repo-lock for private, forked repos --- templates/explore/repo_list.tmpl | 6 +++--- templates/user/dashboard/dashboard.tmpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index f8dff628695..4c2967f6216 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -3,10 +3,10 @@
{{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}} - {{if .IsPrivate}} - - {{else if .IsFork}} + {{if .IsFork}} + {{else if .IsPrivate}} + {{else if .IsMirror}} {{end}} diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index 667a0e6b64d..eb4d7542ca0 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -29,7 +29,7 @@ {{range .Repos}}
  • - + {{.Name}} {{.NumStars}} From 29c3e9f428cb9ae26acaa360b856b2f81da82d99 Mon Sep 17 00:00:00 2001 From: Florian Kaiser Date: Sun, 31 Jan 2016 21:59:18 +0000 Subject: [PATCH 2/2] Undo change in templates/explore/repo_list.tmpl --- templates/explore/repo_list.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 4c2967f6216..f8dff628695 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -3,10 +3,10 @@
    {{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}} - {{if .IsFork}} - - {{else if .IsPrivate}} + {{if .IsPrivate}} + {{else if .IsFork}} + {{else if .IsMirror}} {{end}}