Files
cv-site/templates/partials/widgets/download-button.html
T
juanatsap 9015cef098 fix: Update tooltip text to match action bar buttons
Changed tooltip text for fixed buttons to match action bar wording:
- Print button: "Print CV" → "Print Friendly"
- Download button: "Download PDF" → "Download as PDF"

This ensures consistency across all button locations (fixed left buttons,
action bar, and hamburger menu).

Changes:
- templates/partials/widgets/print-friendly-button.html: Updated tooltip text
- templates/partials/widgets/download-button.html: Updated tooltip text
2025-11-20 20:06:47 +00:00

14 lines
577 B
HTML

{{define "download-button"}}
<!-- Download PDF Button (Fixed Left) -->
<button
id="download-button"
class="fixed-btn download-btn no-print has-tooltip"
aria-label="{{if eq .Lang "es"}}Descargar PDF{{else}}Download as PDF{{end}}"
data-tooltip="{{if eq .Lang "es"}}Descargar PDF{{else}}Download as PDF{{end}}"
onclick="document.getElementById('pdf-modal').showModal()"
_="on mouseenter call syncPdfHover(true)
on mouseleave call syncPdfHover(false)">
<iconify-icon icon="catppuccin:pdf" width="28" height="28"></iconify-icon>
</button>
{{end}}