Commit b8c6d37b authored by fred.perso's avatar fred.perso

Display map file in place detail

parent 67290f9f
......@@ -220,7 +220,19 @@
{% if object.photo_file %}
<fieldset>
<legend>Photo</legend>
<img src="{{ object.photo_file.url }}" alt="Photo du gîte" width="500"/>
<img src="{{ object.photo_file.url }}" alt="Photo du gîte" width="500"/>
</fieldset>
{% endif %}
{% if object.map_file %}
<fieldset>
<div class="col-xs-12 col-md-12">
<legend>Carte, plan</legend>
<div class="well well-sm col-md-6">
<span class="label label-success"><i class="fi-check"></i></span>
Carte ou plan disponible
<a href="{{ object.map_file.url }}" class="btn btn-primary btn-xs pull-right" title="Télécharger la fichier"><i class="fi-download"></i></a>
</div>
</div>
</fieldset>
{% endif %}
{% if object.bdsource %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment