Skip to content

Commit 422953b

Browse files
committed
Fix tests
1 parent 91c1ba5 commit 422953b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/branch/list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div class="flex-item tw-p-2 tw-items-center tw-flex-wrap">
2020
<div class="flex-item-main">
2121
<div class="flex-item-title">
22-
<a class="text primary" href="{{.RepoLink}}/src/branch/{{PathEscapeSegments .DefaultBranchBranch.DBBranch.Name}}">{{.DefaultBranchBranch.DBBranch.Name}}</a>
22+
<a class="text primary branch-name" href="{{.RepoLink}}/src/branch/{{PathEscapeSegments .DefaultBranchBranch.DBBranch.Name}}">{{.DefaultBranchBranch.DBBranch.Name}}</a>
2323
{{if .DefaultBranchBranch.IsProtected}}
2424
<span data-tooltip-content="{{ctx.Locale.Tr "repo.settings.protected_branch"}}">{{svg "octicon-shield-lock"}}</span>
2525
{{end}}
@@ -103,7 +103,7 @@
103103
{{svg "octicon-copy" 14}}
104104
</button>
105105
{{else}}
106-
<a class="text primary" href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments .DBBranch.Name}}">{{.DBBranch.Name}}</a>
106+
<a class="text primary branch-name" href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments .DBBranch.Name}}">{{.DBBranch.Name}}</a>
107107
{{if .IsProtected}}
108108
<span data-tooltip-content="{{ctx.Locale.Tr "repo.settings.protected_branch"}}">{{svg "octicon-shield-lock"}}</span>
109109
{{end}}

0 commit comments

Comments
 (0)