# HG changeset patch # User cavaliet # Date 1359562399 -3600 # Node ID ffd106d9b8e13c583b736c8df31456ff035bd27e # Parent 38611b2c278288961785959c9b9a82692816bc5d Prepare template for real datas. Some fake datas temporary generated in views. diff -r 38611b2c2782 -r ffd106d9b8e1 src/egonomy/templates/egonomy_annotate_picture.html --- a/src/egonomy/templates/egonomy_annotate_picture.html Tue Jan 29 18:42:24 2013 +0100 +++ b/src/egonomy/templates/egonomy_annotate_picture.html Wed Jan 30 17:13:19 2013 +0100 @@ -1,6 +1,7 @@ {% extends "egonomy_base.html" %} {% load static %} {% load i18n %} +{% load thumbnail %} {% block title %}{% trans "Annotate a picture" %}{% endblock %} @@ -8,8 +9,12 @@
+ {% endthumbnail %}
| {% trans "Description" %} : | -Lorem Ipsum, Ceci est la description de l'œuvre représentée dans l'image. | +{{ image.description }} | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {% trans "Author" %} : | -Marcel Duchamp | +{{ image.author }} | |||||||||||||||||||||||||
| {% trans "Period" %} : | -XXème siècle | +{{ image.period }} | |||||||||||||||||||||||||
| {% trans "Production site" %} : | -Paris, France | +{{ image.production_site }} | |||||||||||||||||||||||||
| {% trans "Localization" %} : | -Musée du Louvre, Paris. | +{{ image.localization }} | |||||||||||||||||||||||||
| {% trans "RMN keywords" %} : | -Art contemporain, Art conceptuel, Cyclisme | +{{ image.rmn_keywords }} | |||||||||||||||||||||||||
| {% trans "Users keywords" %} | -+ | ||||||||||||||||||||||||||
| @@ -62,71 +67,37 @@ |
| {% trans 'Source picture' %} : | -Titre de l'image source | +{{ image.title }} | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {% trans 'Title' %} : | -+ | {% trans "Fragment's title" %} : | +|||||||||
| {% trans 'Description' %} : | -+ | {% trans "Fragment's description" %} : | +|||||||||
| {% trans 'Users keywords' %} | -+ | {% trans 'Users keywords' %} : | +|||||||||
| @@ -61,71 +66,37 @@ |
| {% trans "Source picture" %} : | -Titre de l'image source | +{{ fragment.image.title }} | |
|---|---|---|---|
| {% trans "Description" %} : | -Lorem Ipsum Description du fragment | +{% trans "Fragment's description" %} : | +{{ fragment.description }} |
| {% trans "Users keywords" %} | -+ | ||
| @@ -46,71 +51,37 @@ |