refactor: Employee birthday reminder

This commit is contained in:
Suraj Shetty
2021-01-15 14:48:28 +05:30
parent ab1c2b7631
commit 3d00e25232
2 changed files with 80 additions and 49 deletions

View 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>