diff options
| author | yann <yann@yann-ubuntu.(none)> | 2011-03-01 10:27:15 +0100 |
|---|---|---|
| committer | yann <yann@yann-ubuntu.(none)> | 2011-03-01 10:27:15 +0100 |
| commit | 9670c0a3571fd886c4f3d46a77c8b938e7dcb575 (patch) | |
| tree | c5c73ac2764428cb75f307528350557b9e7b0df6 | |
| parent | fd407e217fa0c8ac7b493b84a3e066655e5efa2d (diff) | |
| download | Ishtar-9670c0a3571fd886c4f3d46a77c8b938e7dcb575.tar.bz2 Ishtar-9670c0a3571fd886c4f3d46a77c8b938e7dcb575.zip | |
modif of sheet-ope proto template
| -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> |
