Skip to content

Commit 99470a8

Browse files
committed
remove diff for merge
shuld be seperat handel (#7530) was first step ... to #7454 (duble protection symbole ...)
1 parent 1d98e88 commit 99470a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/repo/branch/list.tmpl

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
<s><a href="{{$.RepoLink}}/src/branch/{{.Name | EscapePound}}">{{.Name}}</a></s>
5353
<p class="info">{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}</p>
5454
{{else}}
55+
{{if .IsProtected}}
56+
<i class="octicon octicon-shield"></i>
57+
{{end}}
5558
<a href="{{$.RepoLink}}/src/branch/{{.Name | EscapePound}}">{{.Name}}</a>
5659
<p class="info"><i class="octicon octicon-git-commit"></i><a href="{{$.RepoLink}}/commit/{{.Commit.ID.String}}">{{ShortSha .Commit.ID.String}}</a> · <span class="commit-message">{{RenderCommitMessage .Commit.CommitMessage $.RepoLink $.Repository.ComposeMetas}}</span> · {{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}</p>
5760
{{end}}

0 commit comments

Comments
 (0)