summaryrefslogtreecommitdiff
path: root/ishtar/templates/sheet_contextrecord.html
diff options
context:
space:
mode:
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>