summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLe Jeune Yann <lj.yann@gmail.com>2011-03-01 10:27:15 +0100
committerLe Jeune Yann <lj.yann@gmail.com>2011-03-01 10:27:15 +0100
commitdf77b7b296b6089b615955730e12f1bbd2a74f06 (patch)
treec5c73ac2764428cb75f307528350557b9e7b0df6
parentead8754f14c0dc26214a26ebf3131b8e5be4a411 (diff)
downloadIshtar-df77b7b296b6089b615955730e12f1bbd2a74f06.tar.bz2
Ishtar-df77b7b296b6089b615955730e12f1bbd2a74f06.zip
modif of sheet-ope proto template
-rw-r--r--ishtar/templates/sheet_ope.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/ishtar/templates/sheet_ope.html b/ishtar/templates/sheet_ope.html
index 1a8b1d40e..37ddece93 100644
--- a/ishtar/templates/sheet_ope.html
+++ b/ishtar/templates/sheet_ope.html
@@ -72,7 +72,7 @@
<td class='string'>{{operation.parcel.owner}}</td>
</tr>
{% empty %}
- <tr><td colspan="8" class='no_items'>{% trans "No parcel associated to this operation" %}</td></tr>
+ <tr><td colspan="5" class='no_items'>{% trans "No parcel associated to this operation" %}</td></tr>
{% endfor %}
</table>
@@ -102,18 +102,23 @@
<caption>{%trans "Recording Units"%}</caption>
<tr>
<th>{% trans "Label" %}</th>
- <th>{% trans "Datations" %}</th>
<th>{% trans "Type" %}</th>
+ <th>{% trans "Chronology" %}</th>
+ <th>{% trans "Description" %}</th>
+ <th>{% trans "Parcel" %}</th>
+ <th class='link'>&nbsp;</th>
</tr>
- {% for act in item.administrative_act.all %}
+ {% for record_unit in item.record_unit.all %}
<tr>
<td>{{ record_unit.label }}</td>
- <td>{{ record_unit.period.all|join:", " }}</td>
<td class='string'>{{record_unit.unit_type}}</td>
- <td>{{act.signature_date}}</td>
+ <td>{{ record_unit.period.all|join:", " }}</td>
+ <td>{{ record_unit.description }}</td>
+ <td>{{ record_unit.section_and_parcel }}</td><!-- Displayed as (Section)-(parcel number). A record unit can be linked to only one parcel. -->
+ <td class='link'><a href="#{#{%url show-record_unit record_unit.pk%}#}">{% trans "Details" %}</a></td>
</tr>
{% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No recording unit associated to this operation" %}</td></tr>
+ <tr><td colspan="6" class='no_items'>{% trans "No recording unit associated to this operation" %}</td></tr>
{% endfor %}
</table>