From f2bb3056ae5162a8e62b88f3badcbe0beb264081 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 7 Jul 2023 13:23:41 +0800 Subject: [PATCH 1/2] fix --- templates/org/projects/view.tmpl | 2 +- templates/projects/view.tmpl | 8 ++------ templates/shared/user/profile_big_avatar.tmpl | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/templates/org/projects/view.tmpl b/templates/org/projects/view.tmpl index ef8ec2422524f..33346b61544b8 100644 --- a/templates/org/projects/view.tmpl +++ b/templates/org/projects/view.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
{{template "shared/user/org_profile_avatar" .}}
{{template "user/overview/header" .}} diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index 59fa1870f884e..2f0556856f390 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -1,5 +1,3 @@ -
-
@@ -70,8 +68,8 @@ {{end}}
-
-
+ +
{{range $board := .Boards}} @@ -253,8 +251,6 @@
-
- {{if .CanWriteProjects}}
diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl index 670c9fa2ee01c..5a1e43b88e351 100644 --- a/templates/shared/user/profile_big_avatar.tmpl +++ b/templates/shared/user/profile_big_avatar.tmpl @@ -99,15 +99,13 @@ {{if and .IsSigned (ne .SignedUserID .ContextUser.ID)}} {{end}}