mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 09:54:24 +01:00
8d5fbeb7a2
Follow: * #23574 * Remove all ".tooltip[data-content=...]" Major changes: * Remove "tooltip" class, use "[data-tooltip-content=...]" instead of ".tooltip[data-content=...]" * Remove legacy `data-position`, it's dead code since last Fomantic Tooltip -> Tippy Tooltip refactoring * Rename reaction attribute from `data-content` to `data-reaction-content` * Add comments for some `data-content`: `{{/* used by the form */}}` * Remove empty "ui" class * Use "text color" for SVG icons (a few)
12 lines
579 B
Handlebars
12 lines
579 B
Handlebars
<button class="ui basic citation button" id="citation-copy-apa" data-text="">
|
|
APA
|
|
</button>
|
|
<button class="ui basic citation button" id="citation-copy-bibtex" data-text="">
|
|
BibTeX
|
|
</button>
|
|
<!-- the value will be updated by initCitationFileCopyContent, the code below is used to avoid UI flicking -->
|
|
<input id="citation-copy-content" value="" size="1" readonly>
|
|
<button class="ui basic icon button" id="citation-clipboard-btn" data-tooltip-content="{{.locale.Tr "copy"}}" data-clipboard-text="" data-clipboard-target="#citation-copy-content">
|
|
{{svg "octicon-copy"}}
|
|
</button>
|