From 88c443ab979fb9f6c1e42017b2e795bab7a1a070 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 5 Jul 2022 17:08:59 +0800 Subject: [PATCH 1/2] Add label to repo icons in explore page --- templates/explore/repo_list.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 10b503b219d94..4010a687ff8ae 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -32,9 +32,9 @@ {{end}} {{end}} {{if .IsFork}} - {{svg "octicon-repo-forked"}} + {{svg "octicon-repo-forked"}} {{else if .IsMirror}} - {{svg "octicon-mirror"}} + {{svg "octicon-mirror"}} {{end}} From 7300a68c8677d957edbc6c11a0e64e3758570587 Mon Sep 17 00:00:00 2001 From: Baoshuo Ren Date: Wed, 6 Jul 2022 07:15:20 +0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: silverwind --- templates/explore/repo_list.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 4010a687ff8ae..cd75f48520cbe 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -32,9 +32,9 @@ {{end}} {{end}} {{if .IsFork}} - {{svg "octicon-repo-forked"}} + {{svg "octicon-repo-forked"}} {{else if .IsMirror}} - {{svg "octicon-mirror"}} + {{svg "octicon-mirror"}} {{end}}