{% comment %} A sent proposição as it is printed (Redmine #4464): the PDF (WeasyPrint) and the browser's print of GET {id}/versoes/{n}.html are this one template. Every text is autoescaped, and the page loads nothing by URL. proposicoes/pdf.py builds the context. {% endcomment %} {{ titulo }}

{{ casa }}

{% if lugar %}

{{ lugar }}

{% endif %}

{{ numero }}

{% if corpo %}

{{ ementa }}

{% if preambulo %}

{{ preambulo }}

{% endif %}
{% for linha in linhas %}

{% if linha.rotulo %}{{ linha.rotulo }} {% endif %}{{ linha.texto }}

{% endfor %}
{% else %}
{{ texto }}
{% endif %}

{{ sala }}

{% for assinatura in assinaturas %}

{{ assinatura.nome }}

{{ assinatura.papel }}

{% endfor %}
{% if corpo %}

{{ justificativa_titulo }}

{{ justificativa }}
{% endif %}

Recibo de envio

Enviada à Secretaria em{{ recibo.enviada_em }}
Versão{{ recibo.versao }}
Código de conferência{{ recibo.codigo }}
Declaração{{ recibo.declaracao }}
SHA-256 do texto{{ recibo.sha256 }}
{% if recibo.protocolo %}

{{ recibo.protocolo }}

{% endif %}{% if recibo.situacao %}

{{ recibo.situacao }}

{% endif %}
{% if agente %}

{{ agente }}

{% endif %}