{% 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 is_lines_enabled %}
{% if is_lines_enabled %}
{% trans "Lines" %}
{% if object.order_lines.exists %}
{% trans "Code" %} |
{% trans "Text" %} |
{% trans "Picto" %} |
{% trans "Distance" %} |
{% trans "Time" context "duration" %} |
{% endif %}
{% for line in object.order_lines.all %}
{{ line }} |
{{ line.text }} |
{{ line.pictogram_name|default_if_none:"" }} |
{{ line.distance_pretty }} |
{{ line.time_pretty }} |
{% endfor %}
{% endif %}
{{ block.super }}
{% endblock detailspanel %}