      {% elif work_record.work_record_type == 'HDP' %} HP
                                    {% elif work_record.work_record_type == 'ABS' %} L
                                    {% elif work_record.work_record_type == 'DFT' and work_record.shift_id and not work_record.date in leave_dates %}
                                        <span class="fw-light" style="cursor: default">A</span>
                                    {% endif %}
                                </a>
                            </div>
 