{% load i18n %} {% with leaf=insp.detailed_inspection %} {% if leaf %}
| {% translate "Dist. (m)" %} | {% translate "Code" %} | {% translate "Caract." %} | {% translate "Remarque" %} |
|---|---|---|---|
| {% if obs.distance_m != None %}{{ obs.distance_m|floatformat:2 }}{% else %}-{% endif %} | {{ obs.code|default:"-" }} | {% if obs.char1 %}{{ obs.char1 }}{% endif %}{% if obs.char2 %}{% if obs.char1 %}/{% endif %}{{ obs.char2 }}{% endif %} {% if not obs.char1 and not obs.char2 %}-{% endif %} | {{ obs.remarks|default:"" }} |