mirror of https://github.com/gogs/gogs.git
templates/repo: fix wrong branch url in branches view (#4902)
parent
f274f76607
commit
ca874ba8c7
|
@ -12,7 +12,7 @@
|
||||||
{{range .Branches}}
|
{{range .Branches}}
|
||||||
<div class="item ui grid">
|
<div class="item ui grid">
|
||||||
<div class="ui eleven wide column">
|
<div class="ui eleven wide column">
|
||||||
{{if .IsProtected}}<i class="octicon octicon-shield"></i> {{end}}<a class="markdown" href="{{$.RepoLink}}/src/{{.Name}}"><code>{{.Name}}</code></a>
|
{{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}}
|
{{$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 .Commit.Committer.Name | Safe}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue