# HG changeset patch # User durandn # Date 1469091794 -7200 # Node ID 3404adb4002163c76c246d4bc06ead67fbd86eba # Parent 5012f57b673714223ec56a58f436d8fcb8317f54 Forgot to commit item detail template diff -r 5012f57b6737 -r 3404adb40021 src/iconolab/templates/iconolab/detail_item.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/iconolab/templates/iconolab/detail_item.html Thu Jul 21 11:03:14 2016 +0200 @@ -0,0 +1,63 @@ +{% extends 'iconolab_base.html' %} + +{% load staticfiles %} + +{% load thumbnail %} + +{% load iconolab_tags %} + +{% block content %} +
+
+ {% for image in item.images.all %} +
+ {% thumbnail image.media "500x500" crop=False as im %} + + {% endthumbnail %} +
+
Créer une nouvelle annotation sur cette image +
+ {% endfor %} +
+
+

{{item.metadatas.title}}

+

Description:

+

{{item.metadatas.description}}


+ {% if item.images.all.count > 1 %} +

Autres images pour cet objet:

+ {% for image in item.images.all %} + {% thumbnail image.media "150x150" crop=False as im_small %} + + {% endthumbnail %} + {% endfor %} +

+ {% endif %} + Retour à la liste d'objets +
+ {% for image in item.images.all %} +
+ {% include "partials/image_annotations_list.html" with annotation_list=image.annotations.all image_guid=image.image_guid %} +
+ {% endfor %} +
+{% endblock %} + +{% block footer_js %} + +{% endblock %} \ No newline at end of file