mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
refactor: Employee birthday reminder
This commit is contained in:
16
erpnext/templates/emails/birthday_reminder.html
Normal file
16
erpnext/templates/emails/birthday_reminder.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="gray-container text-center">
|
||||
<div>
|
||||
{% for person in birthday_persons %}
|
||||
<span class="avatar avatar-small " title="Mitali">
|
||||
<span class="avatar-frame standard-image" style="{% if person.image %}background-image: url({{person.image}}); {% endif %} margin-right: 5px;"
|
||||
title={{person.name}}>
|
||||
{% if not person.image %} {{ person.name[:1] }} {% endif %}
|
||||
</span>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div style="margin-top: 15px">
|
||||
<span>{{ reminder_text }}</span>
|
||||
<p class="text-muted">{{ message }}</p>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user