From 2f7bbdf8c9cd8c36bfbb39b7cd477d4be09926ba Mon Sep 17 00:00:00 2001 From: Giteabot Date: Mon, 6 Mar 2023 14:48:04 -0500 Subject: [PATCH] Fix incorrect project links and use symlink icon for org-wide projects (#23325) (#23336) Backport #23325 Fix displaying same projects icons between user/repo projects. And fix incorrect projects links. A part of https://github.com/go-gitea/gitea/pull/22865. ![image](https://user-images.githubusercontent.com/18380374/223044279-7b620ff1-d88a-4146-97e6-531bbf269761.png) ![image](https://user-images.githubusercontent.com/18380374/223044390-42911e3f-1f6b-439f-8441-4f3ebf99ea13.png) ![image](https://user-images.githubusercontent.com/18380374/223044437-5cad5391-0f95-4c8b-b0a3-32e263e2854f.png) Co-authored-by: yp05327 <576951401@qq.com> --- templates/org/menu.tmpl | 2 +- templates/projects/list.tmpl | 4 ++-- templates/repo/issue/new_form.tmpl | 12 ++++++------ templates/repo/projects/list.tmpl | 2 +- templates/shared/issuelist.tmpl | 4 ++-- templates/user/overview/header.tmpl | 2 +- templates/user/profile.tmpl | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/org/menu.tmpl b/templates/org/menu.tmpl index 7ca47cd32c..25f459c09c 100644 --- a/templates/org/menu.tmpl +++ b/templates/org/menu.tmpl @@ -4,7 +4,7 @@ {{svg "octicon-repo"}} {{.locale.Tr "user.repositories"}} - {{svg "octicon-project"}} {{.locale.Tr "user.projects"}} + {{svg "octicon-project-symlink"}} {{.locale.Tr "user.projects"}} {{if .IsPackageEnabled}} diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl index 8d9594e2b4..489189ec45 100644 --- a/templates/projects/list.tmpl +++ b/templates/projects/list.tmpl @@ -12,7 +12,7 @@ {{template "base/alert" .}}