{% extends "base.html" %} {% load static %} {% load tz %} {% load i18n %} {% block content %}

{{ street.code }} - {{ street.get_name }}


{{ street.municipality }}
{% if street.lon %} {% translate 'Street View' %} {% translate "View in Google Street View" %} {% endif %}

{% translate "Documents" %}

{% for document in main_documents %} {% if document %}
{{ document.upload_date|timezone:"Europe/Paris"|date:"d/m/Y" }}
{{ document.uploaded_by.username }}
{% endif %} {% endfor %}
{% for document in other_documents %} {% if document %}
{{ document.upload_date|timezone:"Europe/Paris"|date:"d/m/Y" }}
{{ document.uploaded_by.username }}
{% endif %} {% endfor %}

{% translate "Assets" %}

  • {% translate "Poteaux" %}
      {% for pole in assets.poles.all %}
    • {{ pole.code }} {{ pole.name }}
      • {% for light in pole.light_fixtures.all %}
      • {{ light.code }} {{ light.name }}
      • {% endfor %}
      {% endfor %}
  • {% translate "Alimentation:" %} ...
  • {% translate "Câbles" %}
      {% for cable in assets.cables.all %}
    • {{ cable.code }} {{ cable.name }}
    • {% endfor %}
...

{% translate "Interventions" %}

{% for interv in interventions %} {% endfor %}
{% translate "Code" %} {% translate "Titre" %} {% translate "Début" %} {% translate "Statut" %}
{{ interv.code }} {{ interv.title }} {{ interv.begin_time|date:"d-m-Y H:i" }} {{ interv.get_status_display }}
{% endblock content%} {% block script %} {{ street.lon|json_script:"lon_value" }} {{ street.lat|json_script:"lat_value" }} {{ geom|json_script:"geom_value" }} {% endblock script %}