diff options
| 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 |
| commit | e24b803be9aa312bb7bd1d41cf969cbfb7675074 (patch) | |
| tree | 39b252983eceaa65f49bd54b74af1d2850266d1b | |
| parent | 7048f7030aa06d47f4b29a45f2728adf436cf563 (diff) | |
| download | Ishtar-e24b803be9aa312bb7bd1d41cf969cbfb7675074.tar.bz2 Ishtar-e24b803be9aa312bb7bd1d41cf969cbfb7675074.zip | |
List documentations in sheets (closes #502)
| -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> |
