From 186ba1e1fc2b6681e053dfc9edba5fcb5cc717ea Mon Sep 17 00:00:00 2001
From: yp05327 <576951401@qq.com>
Date: Tue, 7 Mar 2023 01:32:56 +0900
Subject: [PATCH] Fix incorrect project links and use symlink icon for org-wide
projects (#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.



---
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 7ca47cd32c56e..25f459c09c56a 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 8d9594e2b4773..489189ec45a1c 100644
--- a/templates/projects/list.tmpl
+++ b/templates/projects/list.tmpl
@@ -12,7 +12,7 @@
{{template "base/alert" .}}