From c7aed2909ba3dfca45004ae82fa00bca2ff1d931 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 26 Jul 2019 01:19:50 +0200 Subject: [PATCH 1/2] add class trom table header to table body --- templates/repo/branch/list.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 7963f8877ff73..98ef064cce7dd 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -48,7 +48,7 @@ {{range $branch := .Branches}} {{if ne .Name $.DefaultBranch}} - + {{if .IsDeleted}} {{.Name}}

{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}

@@ -60,7 +60,7 @@

{{ShortSha .Commit.ID.String}} · {{RenderCommitMessage .Commit.CommitMessage $.RepoLink $.Repository.ComposeMetas}} · {{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}

{{end}} - + {{if not .IsDeleted}}
@@ -74,7 +74,7 @@
{{end}} - + {{if not .LatestPullRequest}} {{if and (not .IsDeleted) $.AllowsPulls}} @@ -93,7 +93,7 @@ {{end}} {{if and $.IsWriter (not $.IsMirror)}} - + {{if .IsProtected}} {{else if .IsDeleted}} From 49803f6e086be01224723dd01c38e3ccddd85325 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 26 Jul 2019 01:20:40 +0200 Subject: [PATCH 2/2] remove table header --- templates/repo/branch/list.tmpl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 98ef064cce7dd..41bd3acda9c9a 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -34,16 +34,6 @@
- - - - - - {{if and $.IsWriter (not $.IsMirror)}} - - {{end}} - - {{range $branch := .Branches}} {{if ne .Name $.DefaultBranch}}
{{.i18n.Tr "repo.branch.name"}}{{.i18n.Tr "repo.branch.delete_head"}}