From 3cba42c43d8dbe9d611a787c72fe32054efa8a30 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Thu, 18 Jul 2019 16:39:51 +0000 Subject: [PATCH] Make default branch name link to default branch (#7519) The default branch's name on the branches page for a repo was previously simply text and did not link anywhere. The name is now a link to the default branch just like the non-default branch names. Signed-off-by: Gary Kim --- templates/repo/branch/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index a284de2c90..7963f8877f 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -18,7 +18,7 @@ {{if .IsProtected}} {{end}} - {{$.DefaultBranch}} + {{$.DefaultBranch}}

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

{{end}} {{end}}