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

{{ location.code }} - {{ location.get_name }}


{% if location.municipality %} {{ location.municipality }}
{% endif %} {% if location.road_code %} {{ location.road_code }}
{% endif %} {% if location.section_code %} {{ location.section_code }}
{% endif %} {% if location.street_level %} {{ location.street_level }}
{% endif %}
{% if location.lon %} {% translate 'Street View' %} {% translate "View in Google Street View" %} {% endif %}

{% translate "Assets" %}

  • {% translate "Litter bins" %} ({{ assets.litter_bins.count }})
      {% for bin in assets.litter_bins %}
    • {{ bin.code }} {% if bin.model %}{{ bin.model.get_name }}{% endif %} {{ bin.get_status_display }} {% if bin.volume %}({{ bin.volume }} L){% endif %}
    • {% empty %}
    • {% translate "No litter bins" %}
    • {% endfor %}
  • {% translate "Glass containers" %} ({{ assets.glass_containers.count }})
      {% for container in assets.glass_containers %}
    • {{ container.code }} {% if container.model %}{{ container.model.get_name }}{% endif %} {{ container.get_status_display }} {% if container.capacity %}({{ container.capacity }} L){% endif %} {% if container.is_underground %}{% translate "Underground" %}{% endif %}
    • {% empty %}
    • {% translate "No glass containers" %}
    • {% endfor %}
  • {% translate "Litter bins" %} ({{ all_assets.litter_bins.count }})
      {% for bin in all_assets.litter_bins %}
    • {{ bin.code }} {% if bin.model %}{{ bin.model.get_name }}{% endif %} {{ bin.get_status_display }}
    • {% empty %}
    • {% translate "No litter bins" %}
    • {% endfor %}
  • {% translate "Glass containers" %} ({{ all_assets.glass_containers.count }})
      {% for container in all_assets.glass_containers %}
    • {{ container.code }} {% if container.model %}{{ container.model.get_name }}{% endif %} {{ container.get_status_display }}
    • {% empty %}
    • {% translate "No glass containers" %}
    • {% endfor %}

{% translate "Interventions" %}

{% for interv in interventions %} {% empty %} {% endfor %}
{% translate "Code" %} {% translate "Title" %} {% translate "Start" %} {% translate "Status" %}
{{ interv.code }} {{ interv.title }} {{ interv.begin_time|date:"d-m-Y H:i" }} {{ interv.get_status_display }}
{% translate "No interventions" %}
{% endblock content %} {% block script %} {{ location.lon|json_script:"lon_value" }} {{ location.lat|json_script:"lat_value" }} {{ geom|json_script:"geom_value" }} {% endblock script %}