digitaleagenturnc/dasettings/templates/dasettings/data_absence_yeardata.html

34 lines
1.0 KiB
HTML

<table class="table table-hover">
<thead>
<tr>
<th scope="col">Jahr</th>
{% for ab_info in user_years.all %}
<th scope="">{{ab_info.year}}</th>
{% endfor %}
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Urlaub</th>
{% for ab_info in user_years.all %}
<td class="readytochange_holiday_rest" id="holiday_{{ab_info.pk}}">{{ab_info.days}}</td>
{% endfor %}
</tr>
<tr>
<th scope="row">Genommener Urlaub</th>
{% for ab_info in user_years.all %}
<td>{{ab_info.days_inuse}}</td>
{% endfor %}
</tr>
<tr>
<th scope="row">Resturlaub aus Vorjahr</th>
{% for ab_info in user_years.all %}
{% if forloop.counter0 > 0 %}
<td class="readytochange_holiday_rest" id="rest_holiday_{{ab_info.pk}}">{{ab_info.restdays}}</td>
{% else %}
<td>&nbsp;</td>
{% endif %}
{% endfor %}
</tr>
</tbody>
</table>