                   class="days {% if work_record and work_record.date in leave_dates or work_record is None and day in leave_dates %}holiday{% endif %}"
                        style="text-align:center; cursor:default;
                        {% if work_record %}
                            {% if work_record.work_record_type == 'CONF' %}
                                background-color: #ed4c4c; color: #fff;
                            {% elif work_record.is_leave_record and work_record.work_record_type == 