diff options
author | yp05327 <576951401@qq.com> | 2023-03-07 01:32:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-06 10:32:56 -0600 |
commit | 3f547c7afb8135cadd2253acece45de1e0703e76 (patch) | |
tree | b1fbff1d4eec4ebdc7531fdd0dba7cbe0cde7b0e /templates/user/overview | |
parent | 471b6d24b49ca749a93dcb1f292774aaa8935369 (diff) | |
download | gitea-3f547c7afb8135cadd2253acece45de1e0703e76.tar.gz gitea-3f547c7afb8135cadd2253acece45de1e0703e76.zip |
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.
![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)
Diffstat (limited to 'templates/user/overview')
-rw-r--r-- | templates/user/overview/header.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/overview/header.tmpl b/templates/user/overview/header.tmpl index 2449f5fc32..ce9ecb46ad 100644 --- a/templates/user/overview/header.tmpl +++ b/templates/user/overview/header.tmpl @@ -23,7 +23,7 @@ {{svg "octicon-repo"}} {{.locale.Tr "user.repositories"}} </a> <a href="{{.ContextUser.HomeLink}}/-/projects" class="{{if .PageIsViewProjects}}active {{end}}item"> - {{svg "octicon-project"}} {{.locale.Tr "user.projects"}} + {{svg "octicon-project-symlink"}} {{.locale.Tr "user.projects"}} </a> {{if (not .UnitPackagesGlobalDisabled)}} <a href="{{.ContextUser.HomeLink}}/-/packages" class="{{if .IsPackagesPage}}active {{end}}item"> |