From 2f58e697458458a3776f58f0c71440c8e87218c6 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sun, 19 Feb 2023 20:41:40 +0800 Subject: [PATCH] fix --- templates/repo/diff/box.tmpl | 4 ++-- templates/repo/diff/new_review.tmpl | 10 ++++----- templates/repo/home.tmpl | 2 +- web_src/js/features/common-global.js | 1 + web_src/js/features/repo-issue.js | 10 ++++----- web_src/less/_base.less | 21 +++++------------- web_src/less/_editor.less | 2 +- web_src/less/_repository.less | 5 ----- web_src/less/_review.less | 32 +++++++++++++--------------- 9 files changed, 35 insertions(+), 52 deletions(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 62cc069555fd1..c6c8bb3e04127 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -24,10 +24,10 @@ {{svg "octicon-diff" 16 "gt-mr-2"}}{{.locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}} -
+
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived)}} -