WE-repartir-taches/repartir_taches/templates/tache.tex.j2

15 lines
449 B
Django/Jinja

\vbox{
\begin{mdtask}[
frametitle={ {{- cat.name -}}
{%- if cat.referent %}\quad\referent{ {{-cat.referent-}} }{% endif %}
{%- if cat.time %} \hfill{} \heure{ {{-cat.time-}} }{% endif %}}
]
{{ cat.descr|md_format|escape_latex }} \\
{% if cat.notes %}\textit{ {{- cat.notes -}} } \\
{% endif -%}
\begin{tabular}{c l l l l l}
{% for g_id in cat.assigned %} {% include 'groupe.tex.j2' %}
{% endfor -%}
\end{tabular}
\end{mdtask}
}