From e7d3d9941e923fbc8d27b760d602a1db4ae07251 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sat, 28 Dec 2024 11:55:59 +0800 Subject: [PATCH] fix --- templates/repo/branch/list.tmpl | 6 ++++-- templates/repo/settings/options.tmpl | 4 ++-- web_src/css/base.css | 3 ++- web_src/css/explore.css | 20 +------------------- web_src/css/index.css | 3 ++- 5 files changed, 11 insertions(+), 25 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 5484024ff8197..a42448969dbe2 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -29,7 +29,8 @@

{{svg "octicon-git-commit" 16 "tw-mr-1"}}{{ShortSha .DefaultBranchBranch.DBBranch.CommitID}} · {{ctx.RenderUtils.RenderCommitMessage .DefaultBranchBranch.DBBranch.CommitMessage (.Repository.ComposeMetas ctx)}} · {{ctx.Locale.Tr "org.repo_updated"}} {{DateUtils.TimeSince .DefaultBranchBranch.DBBranch.CommitTime}}{{if .DefaultBranchBranch.DBBranch.Pusher}}  {{template "shared/user/avatarlink" dict "user" .DefaultBranchBranch.DBBranch.Pusher}}{{template "shared/user/namelink" .DefaultBranchBranch.DBBranch.Pusher}}{{end}}

- + {{/* FIXME: here and below, the tw-overflow-visible is not quite right but it is still needed the moment: to show the important buttons when the width is narrow */}} + {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}