From fd0d451d18f658183defbc4ffd839d2472a92b5a Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 28 Nov 2025 18:33:26 +0100 Subject: [PATCH] sync order between js and template --- templates/repo/icon.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/icon.tmpl b/templates/repo/icon.tmpl index f7dd4e5b50..05d32d371f 100644 --- a/templates/repo/icon.tmpl +++ b/templates/repo/icon.tmpl @@ -15,12 +15,12 @@ {{else if .Repo.IsMirror}} {{svg "octicon-mirror" $size}} +{{else if .Repo.IsFork}} + {{svg "octicon-repo-forked" $size}} {{else if .Repo.IsPrivate}} {{svg "octicon-repo-locked" $size}} {{else if .Repo.IsTemplate}} {{svg "octicon-repo-template" $size}} -{{else if .Repo.IsFork}} - {{svg "octicon-repo-forked" $size}} {{else}} {{svg "octicon-repo" $size}} {{end}}