{% extends "mapentity/mapentity_detail.html" %} {% load i18n signage_tags mapentity_tags signage_tags %} {% block detailspanel %}
{% trans "Code" %} {{ object }}
{% trans "Signage" %} {{ object.signage }}
{{ object|verbose:"number" }} {{ object.number }}
{{ object|verbose:"type" }} {{ object.type }}
{{ object|verbose:"condition" }} {% if object.condition %}{{ object.condition }}{% else %}{% trans "None" %}{% endif %}
{{ object|verbose:"color" }} {% if object.color %}{{ object.color }}{% else %}{% trans "None" %}{% endif %}
{{ object.signage|verbose:"structure" }} {% if object.structure %}{{ object.structure }}{% else %}{% trans "None" %}{% endif %}
{% lines_enabled as lines_enabled %} {% if lines_enabled %}

{% trans "Lines" %}

{% if object.order_lines.exists %} {% endif %} {% for line in object.order_lines.all %} {% endfor %}
{% trans "Code" %} {% trans "Text" %} {% trans "Picto" %} {% trans "Distance" %} {% trans "Time" context "duration" %}
{{ line }} {{ line.text }} {{ line.pictogram_name|default_if_none:"" }} {{ line.distance_pretty }} {{ line.time_pretty }}
{% endif %} {{ block.super }} {% endblock detailspanel %}