mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-06 18:29:05 +01:00
7b1c10ea7e
- copy link button: #1396, #1168, #1668, - synxtax highlight: #1712, #1549, #1315, #670 - z-index: #1942
19 lines
No EOL
1 KiB
Cheetah
19 lines
No EOL
1 KiB
Cheetah
<div class="ui five item menu">
|
|
<a class="item" href="{{.RepoLink}}/issues">
|
|
<i class="icon octicon octicon-issue-opened"></i> {{.i18n.Tr "repo.issues"}} <span class="ui blue label">{{.Repository.NumOpenIssues}}</span>
|
|
</a>
|
|
<a class="item" href="{{.RepoLink}}/pulls">
|
|
<i class="icon octicon octicon-git-pull-request"></i> {{.i18n.Tr "repo.pulls"}} <span class="ui blue label">{{.Repository.NumOpenPulls}}</span>
|
|
</a>
|
|
<a class="item" href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}">
|
|
<i class="icon octicon octicon-history"></i> {{.i18n.Tr "repo.commits"}} <span class="ui blue label">{{.CommitsCount}}</span>
|
|
</a>
|
|
<a class="item" href="{{.RepoLink}}/releases">
|
|
<i class="icon octicon octicon-tag"></i> {{.i18n.Tr "repo.releases"}} <span class="ui blue label">{{.Repository.NumTags}}</span>
|
|
</a>
|
|
{{if .IsRepositoryAdmin}}
|
|
<a class="item" href="{{.RepoLink}}/settings">
|
|
<i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}}
|
|
</a>
|
|
{{end}}
|
|
</div> |