diff options
| -rw-r--r-- | ishtar/templates/sheet_ope.html | 17 |
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'> </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> |
