diff options
-rw-r--r-- | ishtar/templates/sheet_contextrecord.html | 12 | ||||
-rw-r--r-- | 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 @@ <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> 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 @@ <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.doc.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 scientific document associated to this operation" %}</td></tr> |