summaryrefslogtreecommitdiff
path: root/ishtar/templates/sheet_contextrecord.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-07-03 18:39:53 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-07-03 18:39:53 +0200
commit78c510e0901d4b7d32e0de3796f1883a8d939e42 (patch)
tree39b252983eceaa65f49bd54b74af1d2850266d1b /ishtar/templates/sheet_contextrecord.html
parent1ce8309d0ef2e94e0778bb81b099b806db08c571 (diff)
downloadIshtar-78c510e0901d4b7d32e0de3796f1883a8d939e42.tar.bz2
Ishtar-78c510e0901d4b7d32e0de3796f1883a8d939e42.zip
List documentations in sheets (closes #502)
Diffstat (limited to 'ishtar/templates/sheet_contextrecord.html')
-rw-r--r--ishtar/templates/sheet_contextrecord.html12
1 files changed, 6 insertions, 6 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 @@
<th>{% trans "Title" %}</th>
<th>{% trans "Type" %}</th>
<th>{% trans "Authors" %}</th>
- <th>{% trans "Localisation" %}</th>
+ {#<th>{% trans "Localisation" %}</th>#}
</tr>
- {% for doc in item.operation.documents.all %}
+ {% for doc in item.source.all %}
<tr>
- <td>{{ doc.title }}</td>
- <td class='string'>{{doc.type}}</td>
- <td>{{ doc.author.all|join:", " }}</td>
- <td>{{ doc.localisation }}</td>
+ <td class='string'>{{ doc.title }}</td>
+ <td class='string'>{{doc.source_type}}</td>
+ <td class='string'>{{ doc.authors.all|join:", " }}</td>
+ {#<td>{{ doc.localisation }}</td>#}
</tr>
{% empty %}
<tr><td colspan="4" class='no_items'>{% trans "No document associated to this context record" %}</td></tr>