mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-19 02:53:25 +02:00
If click `load branches and tags`, you will get 500 error from backend, as it is a wiki repo. ![image](https://github.com/go-gitea/gitea/assets/18380374/1eb2a68b-cc72-4607-a1d1-4f74f83623f6) ![image](https://github.com/go-gitea/gitea/assets/18380374/c385de25-0cfb-4084-9452-d7e9d27deea9) Co-authored-by: Giteabot <teabot@gitea.io>
21 lines
879 B
Handlebars
21 lines
879 B
Handlebars
{{if not .PageIsWiki}}
|
|
<div class="branch-and-tag-area" data-text-default-branch-tooltip="{{.locale.Tr "repo.commit.contained_in_default_branch"}}">
|
|
<button class="ui button ellipsis-button load-branches-and-tags gt-mt-3" aria-expanded="false"
|
|
data-fetch-url="{{.RepoLink}}/commit/{{.CommitID}}/load-branches-and-tags"
|
|
data-tooltip-content="{{.locale.Tr "repo.commit.load_referencing_branches_and_tags"}}"
|
|
>...</button>
|
|
<div class="branch-and-tag-detail gt-hidden">
|
|
<div class="divider"></div>
|
|
<div>{{.locale.Tr "repo.commit.contained_in"}}</div>
|
|
<div class="gt-df gt-mt-3">
|
|
<div class="gt-p-2">{{svg "octicon-git-branch"}}</div>
|
|
<div class="branch-area flex-text-block gt-f1"></div>
|
|
</div>
|
|
<div class="gt-df gt-mt-3">
|
|
<div class="gt-p-2">{{svg "octicon-tag"}}</div>
|
|
<div class="tag-area flex-text-block gt-f1"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|