0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-24 18:16:15 +01:00
gitea/templates/repo/issue/sidebar/reference_link.tmpl
2024-11-08 01:44:20 +00:00

9 lines
487 B
Handlebars

<div class="divider"></div>
<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>