{% extends "base.html.twig" %} {% block localstyle %} .card { margin: 20px 20px 0px 0px; } .card-body .month { margin: 20px 0px 0px 0px; } .card-body .month:first-child { margin: 0px; } .card-header h2 { float:left; } .card-header .synthese { float:right; font-size:12px; text-align: right; } th,td { border: 1px solid #37474F; color: #000000; background-color:#cccccc; } .intervenant { width:200px; padding-left:5px; } .total { text-align:center; width:70px; background-color:#888888; } .day { text-align:center; width: 40px; height:40px; } .astreinte { height: 12px; font-size: 10px; } {% if fgprint is defined and fgprint %} h2, h3 { display:block !important; float:none !important; } table { width:100%; font-size:10px;} .card-header .synthese { float:none !important; text-align:left !important; } .day { height:auto !important; } {% endif %} {% endblock %} {% block body %} {% if fgprint is defined and fgprint %}
Intervenant | {% for day in month.days %}
{{ day.daylabel }} {{ day.daynumber }} |
{% endfor %}
Total | {% for user in month.users %}
---|---|---|
{{ user.displayname }} | {% for day in user.days %}
{% if day.duration > 0 %}
{{ day.duration }}
{% endif %}
{% if day.astreinte > 0 %}
A
{% endif %}
|
{% endfor %}
{{user.total}} |