From e24b803be9aa312bb7bd1d41cf969cbfb7675074 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 3 Jul 2011 18:39:53 +0200 Subject: List documentations in sheets (closes #502) --- ishtar/templates/sheet_contextrecord.html | 12 ++++++------ ishtar/templates/sheet_operation.html | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ishtar/templates/sheet_contextrecord.html b/ishtar/templates/sheet_contextrecord.html index 13fd786a3..2f16c8bb3 100644 --- a/ishtar/templates/sheet_contextrecord.html +++ b/ishtar/templates/sheet_contextrecord.html @@ -83,14 +83,14 @@ {% trans "Title" %} {% trans "Type" %} {% trans "Authors" %} - {% trans "Localisation" %} + {#{% trans "Localisation" %}#} - {% for doc in item.operation.documents.all %} + {% for doc in item.source.all %} - {{ doc.title }} - {{doc.type}} - {{ doc.author.all|join:", " }} - {{ doc.localisation }} + {{ doc.title }} + {{doc.source_type}} + {{ doc.authors.all|join:", " }} + {#{{ doc.localisation }}#} {% empty %} {% trans "No document associated to this context record" %} diff --git a/ishtar/templates/sheet_operation.html b/ishtar/templates/sheet_operation.html index db9d22cee..4db45cc78 100644 --- a/ishtar/templates/sheet_operation.html +++ b/ishtar/templates/sheet_operation.html @@ -104,14 +104,14 @@ {% trans "Title" %} {% trans "Type" %} {% trans "Authors" %} - {% trans "Localisation" %} + {#{% trans "Localisation" %}#} - {% for doc in item.doc.all %} + {% for doc in item.source.all %} - {{ doc.title }} - {{doc.type}} - {{ doc.author.all|join:", " }} - {{ doc.localisation }} + {{ doc.title }} + {{doc.source_type}} + {{ doc.authors.all|join:", " }} + {#{{ doc.localisation }}#} {% empty %} {% trans "No scientific document associated to this operation" %} -- cgit v1.2.3