Browse Source

fix issue

tags/v1.21.12.1
zhoupzh 4 years ago
parent
commit
232bddf24e
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      templates/repo/contributors.tmpl

+ 6
- 4
templates/repo/contributors.tmpl View File

@@ -8,7 +8,12 @@
<div class="row git-user-content">
<h3 class="ui header">
{{.i18n.Tr "home.contributors"}} ({{len .ContributorInfo}})
<div class="ui breadcrumb">
<a class="section" href="{{.RepoLink}}{{if (ne .BranchName .Repository.DefaultBranch)}}/src/{{.BranchNameSubURL | EscapePound}}{{end}}">{{.i18n.Tr "repo.code"}}</a>
<div class="divider"> / </div>
<div class="active section" href="{{.RepoLink}}/releases">{{.i18n.Tr "home.contributors"}} ({{len .ContributorInfo}})</div>
</div>
</h3>
<div class="ui horizontal relaxed list">
{{range .ContributorInfo}}
@@ -39,9 +44,6 @@
{{template "base/paginate" .}}

</div>


</div>
</div>
{{template "base/footer" .}}

Loading…
Cancel
Save