From d014095fc33d888a38ce471cc1fa738530a8c965 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 3 Apr 2023 13:44:33 +0800 Subject: [PATCH] fix --- templates/repo/forks.tmpl | 18 ++++++------------ templates/repo/sub_menu.tmpl | 4 ++-- templates/user/dashboard/navbar.tmpl | 4 ++-- web_src/css/base.css | 23 +---------------------- web_src/css/repository.css | 19 ------------------- 5 files changed, 11 insertions(+), 57 deletions(-) diff --git a/templates/repo/forks.tmpl b/templates/repo/forks.tmpl index b05ebcc638bc6..13810b44da8f9 100644 --- a/templates/repo/forks.tmpl +++ b/templates/repo/forks.tmpl @@ -5,18 +5,12 @@

{{.locale.Tr "repo.forks"}}

-
- {{range .Forks}} -
- {{avatar $.Context .Owner}} - -
- {{end}} -
+ {{range .Forks}} +
+ {{avatar $.Context .Owner}} + {{.Owner.Name}} / {{.Name}} +
+ {{end}} {{template "base/paginate" .}} diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl index 61d23915c3f25..b53ec27bd78c5 100644 --- a/templates/repo/sub_menu.tmpl +++ b/templates/repo/sub_menu.tmpl @@ -1,7 +1,7 @@ {{if and (not .HideRepoInfo) (not .IsBlame)}}