mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-02 21:13:47 +00:00
- 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
29 lines
823 B
HTML
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 }} |