mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 06:48:56 +00:00
8419897fba
Backport https://github.com/go-gitea/gitea/pull/27501 to 1.21 - Update all JS and PY dependencies - Enable eslint `prefer-object-has-own` and autofix issue - Fix styling on citation buttons - Tested citation, mermaid, monaco, swagger, katex Citation button issue was that these buttons were not filled: <img width="136" alt="Screenshot 2023-10-07 at 14 05 08" src="https://github.com/go-gitea/gitea/assets/115237/435f0c91-28ac-46b3-bae4-dad768b29c05"> Co-authored-by: techknowlogick <techknowlogick@gitea.com> Co-authored-by: Giteabot <teabot@gitea.io>
11 lines
564 B
Handlebars
11 lines
564 B
Handlebars
<button class="ui citation button" id="citation-copy-apa" data-text="">
|
|
APA
|
|
</button>
|
|
<button class="ui 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 icon button" id="citation-clipboard-btn" data-tooltip-content="{{ctx.Locale.Tr "copy"}}" data-clipboard-text="" data-clipboard-target="#citation-copy-content">
|
|
{{svg "octicon-copy"}}
|
|
</button>
|