summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/sidebar/reference.tmpl
blob: bbbc0995587fd8ba9dcf4a3abe1a14e847de83e6 (plain)
1
2
3
4
5
6
7
<div class="ui equal width compact grid">
	{{$issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index}}
	<div class="row tw-items-center" data-tooltip-content="{{$issueReferenceLink}}">
		<span class="text column truncate">{{ctx.Locale.Tr "repo.issues.reference_link" $issueReferenceLink}}</span>
		<button class="ui two wide button column tw-p-2" data-clipboard-text="{{$issueReferenceLink}}">{{svg "octicon-copy" 14}}</button>
	</div>
</div>