mise en place télétravail et astreinte

This commit is contained in:
afornerot
2022-06-29 11:49:14 +02:00
parent e9b0c17430
commit c03a2497e8
11 changed files with 401 additions and 36 deletions

View File

@ -6,7 +6,7 @@ th, td {
color: #ffffff;
background-color: #37474F;
text-align: center;
width: 100px;
width: 115px;
}
td {
@ -44,7 +44,7 @@ td {
</div>
{% endif %}
<div class="mt-3" style="margin:auto; max-width:1800px;">
<div class="mt-3" style="margin:auto; max-width:2035px;">
{% for date in dates %}
{% if date.validates or date.notvalidates %}
<div class="card mr-1 mb-1 float-left">
@ -93,6 +93,16 @@ td {
{% else %}
{%if tallyday.datestart %} de {{tallyday.datestart|date("H:i") }} {% endif %}
{%if tallyday.dateend %} à {{tallyday.dateend|date("H:i") }} {% endif %}
{% if tallyday.istelework %}
<i class="fas fa-home" title="Télétravail"></i>
{% endif %}
{% if tallyday.ispenaltypassive %}
<i class="fas fa-glasses" title="Astreinte Passive"></i>
{% endif %}
{% if tallyday.ispenaltyactive %}
<i class="fas fa-fire" title="Astreinte Active"></i>
{% endif %}
{%endif%}
<br>
{% endfor %}
@ -137,6 +147,15 @@ td {
<a href="{{path("app_tallyday_masterupdate",{id:tallyday.id})}}">
{%if tallyday.datestart %} de {{tallyday.datestart|date("H:i") }} {% endif %}
{%if tallyday.dateend %} à {{tallyday.dateend|date("H:i") }} {% endif %}
{% if tallyday.istelework %}
<i class="fas fa-home" title="Télétravail"></i>
{% endif %}
{% if tallyday.ispenaltypassive %}
<i class="fas fa-glasses" title="Astreinte Passive"></i>
{% endif %}
{% if tallyday.ispenaltyactive %}
<i class="fas fa-fire" title="Astreinte Active"></i>
{% endif %}
</a>
{% endif %}
<br>