{% if data is not none and "value" in data and not (data.value is none) %} {% if data.value %} {% else %} {% endif %} {% else %} — {% endif %}