1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-19 01:29:40 +02:00
forgejo/templates/repo/issue/view_content/sidebar/reference.tmpl

15 lines
561 B
Go HTML Template
Raw Normal View History

<div class="ui reference">
2024-04-25 14:43:51 +02:00
{{$issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index}}
<span class="text">
<strong>
{{ctx.Locale.Tr "discussion.sidebar.reference"}}
</strong>
</span>
<div class="ui equal width compact grid">
<div class="row tw-items-center" data-tooltip-content="{{$issueReferenceLink}}">
<span class="text column truncate">{{$issueReferenceLink}}</span>
<button class="ui two wide button column tw-p-2" data-clipboard-text="{{$issueReferenceLink}}">{{svg "octicon-copy" 14}}</button>
</div>
2024-04-25 14:43:51 +02:00
</div>
</div>