diff --git a/templates/pdf_template_ipsc.html b/templates/pdf_template_ipsc.html index e6cae02..2b79c14 100644 --- a/templates/pdf_template_ipsc.html +++ b/templates/pdf_template_ipsc.html @@ -103,7 +103,11 @@ {% if i==0 %}
{%trans%}ZERO point{%endtrans%} (El Presidente)
{% else %} -
{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} (El Presidente)
+
{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} + {% if i > 1%} + {%trans%}or{%endtrans%} {{gap|round(1,'ceil')}}cm {%trans%}from previous marker{%endtrans%} + {% endif %} + (El Presidente)
{% endif %}
diff --git a/templates/pdf_template_shootoff.html b/templates/pdf_template_shootoff.html index 2f2d199..8bb12c7 100644 --- a/templates/pdf_template_shootoff.html +++ b/templates/pdf_template_shootoff.html @@ -123,7 +123,11 @@ {% if i==0 %}
{%trans%}ZERO point{%endtrans%} (Shootoff)
{% else %} -
{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} (Shootoff)
+
{{ (i * gap)|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} + {% if i > 1%} + {%trans%}or{%endtrans%} {{gap|round(1,'ceil')}}cm {%trans%}from previous marker{%endtrans%} + {% endif %} + (Shootoff)
{% endif %}