{% extends 'base_fullwidth_leaflet.html' %} {% load leaflet_tags %} {% leaflet_js plugins="ALL" %} {% load geojson_tags %} {% load i18n %} {% load render_table from django_tables2 %} {% block content %}

{{ title }}

Localité créée par {{ object.created_by }} le {{ object.timestamp_create }} et mise à jour le {{ object.timestamp_update }}

Informations sur la localité

{#
#}
Caractéristiques principales {% for field in object.fields %}
{{ field.value }}
{% endfor %}
{{ object.name }}
{{ object.precision.descr }}
{% if object.altitude %}{{ object.altitude }}{% else %} -{% endif %}
{% if object.domain %} {{ object.domain.descr }} {% else %} - {% endif %}
{% if object.is_hidden %}
Sensibilité du site
Site sensible caché
{% if object.authorized_user %} {% for o in object.authorized_user.all %} {{ o.get_full_name }} ({{ o.username }})
{% endfor %} {% else %} Aucune {% endif %}
{% endif %}
Type de site
{% if object.is_gite %} {{ object.type.descr }} {% else %} Non {% endif %}
{% if object.is_managed %} Site géré {% else %} Non {% endif %}
Localisation géographique
{{ object.territory|safe }}
{{ object.municipality|safe }}
{{ object.x|safe }} ; {{ object.y|safe }}
{% leaflet_map "map" callback="window.map_init_basic" %}
Gîte et refuge
{{ object.proprietary }}
{% if object.convention %} Oui {% if object.convention_file %} {% endif %} {% else %} Non {% endif %}
{% if object.photo_file %}
Photo Photo du gîte
{% endif %} {% if object.map_file %}
Carte, plan
Carte ou plan disponible
{% endif %} {% if object.bdsource %}
BD Source
{{ object.bdsource }}
{{ object.id_bdsource }}
{% endif %} {% if object.comment %} Commentaire
{{ object.comment|safe }}
{% endif %}
{% comment %} DONNEES ATTRIBUEES A LA LOCALITE {% endcomment %}
{% comment %} BLOC1: Sessions d'inventaires {% endcomment %}
{% if sessioncount > 0 %} {% endif %} Nouvelle session

Sessions d'inventaires {{ sessioncount }}

{% if sessioncount > 0 %}
{% render_table sessiontable %}
{% endif %}
{% comment %}Etats des lieux{% endcomment %} {% if placedetail %}
{% if placedetailcount > 0 %} {% endif %} nouvelle visite

{{ placedetailtitle }} {{ placedetailcount }}

{% if placedetailcount > 0 %}
{% render_table placedetailtable %}
{% endif %}
{% endif %} {% comment %}Gestion de site{% endcomment %} {% if object.is_managed %}
{% if placemanagementcount > 0 %} {% endif %} Nouvelle action

{{ placemanagementtitle }} {{ placemanagementcount }}

{% if placemanagementcount > 0 %}
{% render_table placemanagementtable %}
{% endif %}
{% endif %}

{% endblock %}