diff options
Diffstat (limited to 'ishtar/templates/sheet_operation.html')
| -rw-r--r-- | ishtar/templates/sheet_operation.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar/templates/sheet_operation.html b/ishtar/templates/sheet_operation.html index d0e31ae5a..10fa8ad61 100644 --- a/ishtar/templates/sheet_operation.html +++ b/ishtar/templates/sheet_operation.html @@ -108,20 +108,20 @@ <th class='link'> </th> </tr> {% for parcel in item.parcels.all %} - {% for context_record in item.context_record.all %} + {% for context_record in parcel.context_record.all %} <tr> <td>{{ context_record.label }}</td> <td class='string'>{{context_record.unit}}</td> <td>{{ context_record.datings.all|join:", " }}</td>{# periods ?#} <td class='string'>{{ context_record.description }}</td> <td>{{ parcel.section }} - {{parcel.parcel_number}}</td> - <td class='link'><a href="#" onclick='load_window("{%url show-context_record context_record.pk%}")'>{% trans "Details" %}</a></td> + <td class='link'><a href="#" {#onclick='load_window("{%url show-context_record context_record.pk%}")'#}>{% trans "Details" %}</a></td> </tr> {% empty %} - <tr><td colspan="5" class='no_items'>{% trans "No context record associated to parcel " %}{{ parcel.section }} - {{parcel.parcel_number}}</td></tr> + <tr><td colspan="6" class='no_items'>{% trans "No context record associated to parcel " %}{{ parcel.section }} - {{parcel.parcel_number}}</td></tr> {% endfor %} {% empty %} - <tr><td colspan="5" class='no_items'>{% trans "No context record associated to this operation" %}</td></tr> + <tr><td colspan="6" class='no_items'>{% trans "No context record associated to this operation" %}</td></tr> {% endfor %} </table> |
