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

13 lines
365 B
Django/Jinja

{% if cat|attr('depth') %}
\{%- for i in range(cat.depth-1) -%}sub{%- endfor -%}category{ {{- cat.name -}} }{ {{- cat.time -}} }
{%- if cat.intro -%}
{{- cat.intro|md_format|escape_latex -}}
{% endif %}
{% for cat in cat.tasks %}
{% include 'category.tex.j2' %}
{% endfor %}
{% else %}
{% include 'tache.tex.j2' %}
{% endif %}