Files
libredesk/static/email-templates/welcome.html
Abhinav Raut a516773b14 feat: add i18n support to web templates
- Add i18n object to template funcMap for direct access
  - Translate all hardcoded strings in CSAT and footer templates
  - Add reusable translation keys to globals.messages
2025-08-30 19:35:00 +05:30

29 lines
823 B
HTML

{{ define "welcome" }}
{{ template "header" . }}
<h1 style="text-align: center; margin-top: 0; color: #1f2937;">
{{ if ne SiteName "" }}
Welcome to {{ SiteName }}
{{ else }}
Welcome to Libredesk
{{ end }}
</h1>
<p>A new account has been created for you with <strong>{{ .Email }}</strong></p>
<p>To set your password, click the button below:</p>
<p style="color: #ef4444; font-size: 14px; margin-bottom: 16px;">This link will expire in 24 hours.</p>
<div style="text-align: center; margin: 24px 0;">
<a href="{{ RootURL }}/set-password?token={{ .ResetToken }}" class="button">
Set Your Password
</a>
</div>
<div style="text-align: center; margin-top: 24px;">
<p>After setting your password, <a href="{{ RootURL }}">log in here</a></p>
</div>
{{ template "footer" . }}
{{ end }}