From 0f5847703c04954f84883bc51a6824fdf65f0876 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 22 Jun 2023 21:11:14 +0800 Subject: [PATCH 1/2] fix --- templates/devtest/gitea-ui.tmpl | 42 ++++++++++++++++++++++----------- templates/repo/commit_page.tmpl | 3 ++- web_src/css/base.css | 11 +++++++++ 3 files changed, 41 insertions(+), 15 deletions(-) diff --git a/templates/devtest/gitea-ui.tmpl b/templates/devtest/gitea-ui.tmpl index 0da443aade128..73e523b97f896 100644 --- a/templates/devtest/gitea-ui.tmpl +++ b/templates/devtest/gitea-ui.tmpl @@ -165,13 +165,6 @@
item
- diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 2e8732b40b806..8f8e9fa0e81b8 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -26,7 +26,8 @@ {{.locale.Tr "repo.diff.browse_source"}} {{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}} -