{{if not .PageIsWiki}}
<div class="branch-and-tag-area" data-text-default-branch-tooltip="{{ctx.Locale.Tr "repo.commit.contained_in_default_branch"}}">
	{{if .MergedPRIssueNumber}}
	{{$prLink := HTMLFormat `<a href="%s/pulls/%d">#%d</a>` $.RepoLink $.MergedPRIssueNumber $.MergedPRIssueNumber}}
	<div>
		<div class="divider"></div>
		<div>{{ctx.Locale.Tr "repo.commit.merged_in_pr" $prLink}}</div>
	</div>
	{{end}}
	<button class="ui button ellipsis-button load-branches-and-tags tw-mt-2" aria-expanded="false"
		data-fetch-url="{{.RepoLink}}/commit/{{.CommitID}}/load-branches-and-tags"
		data-tooltip-content="{{ctx.Locale.Tr "repo.commit.load_referencing_branches_and_tags"}}"
	>...</button>
	<div class="branch-and-tag-detail tw-hidden">
		<div class="divider"></div>
		<div>{{ctx.Locale.Tr "repo.commit.contained_in"}}</div>
		<div class="tw-flex tw-mt-2">
			<div class="tw-p-1">{{svg "octicon-git-branch"}}</div>
			<div class="branch-area flex-text-block tw-flex-wrap tw-flex-1"></div>
		</div>
		<div class="tw-flex tw-mt-2">
			<div class="tw-p-1">{{svg "octicon-tag"}}</div>
			<div class="tag-area flex-text-block tw-flex-wrap tw-flex-1"></div>
		</div>
	</div>
</div>
{{end}}
