[UPDT] EMPLOYEE: Updated the birthday event card to prevent overflow
This commit is contained in:
@@ -10,10 +10,15 @@
|
||||
</div>
|
||||
<div class="oh-dasboard__event-details">
|
||||
<span class="oh-dashboard__event-title">{% trans "Birthday" %}</span>
|
||||
<span class="oh-dashboard__event-main">{{birthday.name}}</span>
|
||||
<span class="oh-dashboard__event-main"
|
||||
title="{{birthday.name}}">{{birthday.name|truncatechars:24}}</span>
|
||||
<span class="oh-dashboard__event-date">{{birthday.dob}}, {{birthday.daysUntilBirthday}}</span>
|
||||
<span class="oh-dashboard__event-date"
|
||||
style="font-size:10px;">{{birthday.job_position}}{% if birthday.job_position and birthday.department %}, {% endif %}{{birthday.department}}</span>
|
||||
<span class="oh-dashboard__event-date" style="font-size:10px;" title="{{birthday.job_position}}">
|
||||
{{birthday.job_position|truncatechars:24}}
|
||||
</span>
|
||||
<span class="oh-dashboard__event-date" style="font-size:10px;" title="{{birthday.department}}"></span>
|
||||
{{birthday.department|truncatechars:24}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user