# HG changeset patch # User BenoƮt Allard # Date 1412587469 -7200 # Node ID c5cf387b57857dc7fdc41cd94afd0ff83d0ba7dc # Parent 5d81cea79583fbf2928b442d3defa3ae0b2b221f Add support for writing incomplete documents diff -r 5d81cea79583 -r c5cf387b5785 farolluz/templates/cvrf.j2 --- a/farolluz/templates/cvrf.j2 Wed Sep 24 17:32:31 2014 +0200 +++ b/farolluz/templates/cvrf.j2 Mon Oct 06 11:24:29 2014 +0200 @@ -44,7 +44,7 @@ {{ cvrf._title }} {{ cvrf._type }} - {%- with publisher = cvrf._publisher %} + {%- with publisher = cvrf._publisher %}{% if publisher %} {%- if publisher._contact %} {{ publisher._contact }} @@ -53,8 +53,8 @@ {{ publisher._authority }} {%- endif %} - {%- endwith %} - {%- with tracking = cvrf._tracking %} + {%- endif %}{% endwith %} + {%- with tracking = cvrf._tracking %}{% if tracking %} {{ tracking._identification._id }} @@ -88,7 +88,7 @@ {%- endif %} - {%- endwith %} + {%- endif %}{% endwith %} {%- if cvrf._notes %} {%- for note in cvrf._notes %}