{% extends "common/common_detail.html" %} {% load i18n signage_tags mapentity_tags signage_tags %} {% block detailspanel %} {% direction_on_lines_enabled as is_direction_on_lines_enabled %}
{% trans "Code" %} | {{ object }} |
---|---|
{% trans "Signage" %} | {{ object.signage }} |
{{ object|verbose:"number" }} | {{ object.number }} |
{{ object|verbose:"type" }} | {{ object.type }} |
{{ object|verbose:"direction" }} | {{ object.direction }} |
{{ 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 %} |
{% trans "Code" %} | {% if is_direction_on_lines_enabled %}{% trans "Direction" %} | {% endif %}{% trans "Text" %} | {% trans "Picto" %} | {% trans "Distance" %} | {% trans "Time" context "duration" %} |
---|---|---|---|---|---|
{{ line }} | {% if is_direction_on_lines_enabled %}{{ line.direction }} | {% endif %}{{ line.text }} |
{% for pictogram in line.pictograms.all %}
{{ pictogram.code|default_if_none:"" }} -
{{ pictogram.label|default_if_none:"" }} -
{{ pictogram.description|default_if_none:"" }}
{% endfor %} |
{{ line.distance_pretty }} | {{ line.time_pretty }} |