{% extends "mapentity/mapentity_detail.html" %}
{% load i18n static mapentity_tags %}
{% block detailspanel %}
{{ intervention|verbose:"name" }} |
{{ intervention.name }} |
{{ intervention|verbose:"date" }} |
{{ intervention.date }} |
{{ intervention|verbose:"stake" }} |
{% if intervention.stake %}{{ intervention.stake }}
{% else %}{% trans "None" %}{% endif %}
|
{{ intervention|verbose:"status" }} |
{% if intervention.status %}{{ intervention.status }}
{% else %}{% trans "None" %}{% endif %}
|
{{ intervention|verbose:"type" }} |
{% if intervention.type %}{{ intervention.type }}
{% else %}{% trans "None" %}{% endif %}
|
{{ intervention|verbose:"subcontracting" }} |
{% if intervention.subcontracting %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %} |
{{ intervention|verbose:"disorders" }} |
{% for disorder in intervention.disorders.all %}
{% if forloop.first %}{% endif %}
- {{ disorder }}
{% if forloop.last %} {% endif %}
{% empty %}
{% trans "None" %}
{% endfor %}
|
{{ intervention|verbose:"material_cost" }} |
{{ intervention.material_cost|floatformat:2 }} € |
{{ intervention|verbose:"heliport_cost" }} |
{{ intervention.heliport_cost|floatformat:2 }} € |
{{ intervention|verbose:"subcontract_cost" }} |
{{ intervention.subcontract_cost|floatformat:2 }} € |
{% trans "Mandays cost" %} |
{% for md in intervention.manday_set.all %}
{% if forloop.first %}
{% trans "Job" %} | {% trans "Mandays" %} | {% trans "Cost" %} |
{% endif %}
{{ md.job }} | {{ md.nb_days|floatformat:1 }} | {{ md.cost|floatformat:2 }} |
{% if forloop.last %}
{% trans "Total" %} | {{ intervention.total_manday|floatformat:1 }} | {{ intervention.total_cost_mandays|floatformat:2 }} € |
{% endif %}
{% empty %}
{% trans "None" %}
{% endfor %}
|
{{ intervention|verbose:"total_cost" }} |
{{ intervention.total_cost|floatformat:2 }} € |
{% trans "Related Project" %} |
{% if intervention.project %}
{{ intervention.project.name_display|safe }}
({{ intervention.project.begin_year }} - {{ intervention.project.end_year|default:"" }})
{% else %} {% trans "None" %}
{% endif %}
|
{% if intervention.is_infrastructure %}
{% trans "Related infrastructure" %} |
{{ intervention.infrastructure.name_display|safe }} |
{% endif %}
{% if intervention.is_signage %}
{% trans "Related signage" %} |
{{ intervention.signage.name_display|safe }} |
{% endif %}
{% trans "Dimensions" %} |
{% trans "H:" %} {{ intervention.height|stringformat:".2f" }}m ,
{% trans "L:" %} {{ intervention.length|stringformat:".2f" }}m ,
{% trans "W:" %} {{ intervention.width|stringformat:".2f" }}m :
{{ intervention.area|stringformat:".1f" }}m²
|
{% include "altimetry/elevationinfo_fragment.html" %}
{{ intervention|verbose:"description" }} |
{% if intervention.description %}{{ intervention.description|safe }}
{% else %}{% trans "None" %}{% endif %}
|
{{ intervention|verbose:"structure" }} |
{{ intervention.structure }} |
{% include "mapentity/trackinfo_fragment.html" %}
{{ block.super }}
{% endblock detailspanel %}