diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 19:50:36 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 19:50:36 +0200 |
| commit | 5a594504ba57d79c201497d2ada888bfb7e3ac26 (patch) | |
| tree | 0e6e878cdee7e7dd2b31bdeeb3a8e2ac949c5a95 /archaeological_finds/templates | |
| parent | 47ccb133a658575a3814d914a1d3be1133aec72d (diff) | |
| download | Ishtar-5a594504ba57d79c201497d2ada888bfb7e3ac26.tar.bz2 Ishtar-5a594504ba57d79c201497d2ada888bfb7e3ac26.zip | |
Improve window images layout by usinf prettyPhoto (refs #1314)
Diffstat (limited to 'archaeological_finds/templates')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 208447905..9111eb409 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -1,13 +1,13 @@ {% extends "ishtar/sheet.html" %} {% load i18n %} + {% block content %} <div class='tool'>{%trans "Export as:"%} <a href='{% url show-find item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-find item.pk "pdf" %}'>{%trans "PDF file"%}</a></div> <h3>{% trans "Find"%}</h3> {% if item.image %} -plouf -<img href='{{item.image.url}}' alt="{{image.label}}"/> +<a href='{{item.image.url}}' rel="prettyPhoto" title="{{item.label}}"><img src='{{item.thumbnail.url}}'/></a> {% endif%} <p><label>{%trans "Name"%}{% trans ":"%}</label> |
