{% extends "base.html" %} {% load wagtailcore_tags horodated %} {% block content %}
{% block description %} {{ annonce.description|richtext }} {% if annonce.has_photos %}
{% for photo in annonce.photos.all %} {% endfor %}
{% endif %} {% endblock %}
Type :
{{ annonce.get_type_display }}
Catégorie :
{{ annonce.category }}
Ajoutée le :
{{ annonce.created_at|postdatetime }}
{% if annonce.created_at != annonce.last_modified_at %}
Modifiée le :
{{ annonce.last_modified_at|postdatetime }}
{% endif %} {% if user.is_authenticated %}
Ajoutée par :
{{ annonce.owner.get_full_name|default:annonce.owner }}
{% endif %}

{% if not user.is_authenticated %}

Veuillez vous authentifier pour pouvoir contacter la personne.

{% elif can_contact %} Contacter…
{% include "echanges/annonce_contact_form.html" %}
{% endif %}
{% if object.has_adresse %}
Localisation
{% include "inc/map-aside.html" %}
{% endif %}
{% endblock %}