|
|
@@ -13,7 +13,7 @@
|
|
|
<div class="ui eleven wide column">
|
|
|
{{if .DefaultBranch.IsProtected}}<i class="octicon octicon-shield"></i> {{end}}<a class="markdown" href="{{$.RepoLink}}/src/{{EscapePound .DefaultBranch.Name}}"><code>{{.DefaultBranch.Name}}</code></a>
|
|
|
{{$timeSince := TimeSince .DefaultBranch.Commit.Committer.When $.Lang}}
|
|
|
- <span class="ui text light grey">{{$.i18n.Tr "repo.branches.updated_by" $timeSince .DefaultBranch.Commit.Committer.Name | Safe}}</span>
|
|
|
+ <span class="ui text light grey">{{$.i18n.Tr "repo.branches.updated_by" $timeSince (Sanitize .DefaultBranch.Commit.Committer.Name) | Safe}}</span>
|
|
|
</div>
|
|
|
{{if and $.IsRepositoryAdmin (not $.Repository.IsMirror)}}
|
|
|
<div class="ui four wide column">
|
|
|
@@ -33,7 +33,7 @@
|
|
|
<div class="ui eleven wide column">
|
|
|
{{if .IsProtected}}<i class="octicon octicon-shield"></i> {{end}}<a class="markdown" href="{{$.RepoLink}}/src/{{EscapePound .Name}}"><code>{{.Name}}</code></a>
|
|
|
{{$timeSince := TimeSince .Commit.Committer.When $.Lang}}
|
|
|
- <span class="ui text light grey">{{$.i18n.Tr "repo.branches.updated_by" $timeSince .Commit.Committer.Name | Safe}}</span>
|
|
|
+ <span class="ui text light grey">{{$.i18n.Tr "repo.branches.updated_by" $timeSince (Sanitize .Commit.Committer.Name) | Safe}}</span>
|
|
|
</div>
|
|
|
{{if and $.IsRepositoryWriter $.AllowPullRequest}}
|
|
|
<div class="ui four wide column">
|
|
|
@@ -55,7 +55,7 @@
|
|
|
<div class="ui eleven wide column">
|
|
|
{{if .IsProtected}}<i class="octicon octicon-shield"></i> {{end}}<a class="markdown" href="{{$.RepoLink}}/src/{{EscapePound .Name}}"><code>{{.Name}}</code></a>
|
|
|
{{$timeSince := TimeSince .Commit.Committer.When $.Lang}}
|
|
|
- <span class="ui text light grey">{{$.i18n.Tr "repo.branches.updated_by" $timeSince .Commit.Committer.Name | Safe}}</span>
|
|
|
+ <span class="ui text light grey">{{$.i18n.Tr "repo.branches.updated_by" $timeSince (Sanitize .Commit.Committer.Name) | Safe}}</span>
|
|
|
</div>
|
|
|
{{if and $.IsRepositoryWriter $.AllowPullRequest}}
|
|
|
<div class="ui four wide column">
|