diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-03-10 00:29:26 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-03-10 00:29:26 +0100 |
| commit | f437e1cf2fca65f0642ea82a29cc96de0d57c06d (patch) | |
| tree | d4004e06333fe7955272e9ef6ddafc9ae4aca558 /ishtar/templates/sheet_file.html | |
| parent | bd9e6483dd3d7416e1b228e82a70b5d6ba6d3ce6 (diff) | |
| download | Ishtar-f437e1cf2fca65f0642ea82a29cc96de0d57c06d.tar.bz2 Ishtar-f437e1cf2fca65f0642ea82a29cc96de0d57c06d.zip | |
Manage multiple windows
Diffstat (limited to 'ishtar/templates/sheet_file.html')
| -rw-r--r-- | ishtar/templates/sheet_file.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar/templates/sheet_file.html b/ishtar/templates/sheet_file.html index 314fcaf06..8a004b0a5 100644 --- a/ishtar/templates/sheet_file.html +++ b/ishtar/templates/sheet_file.html @@ -25,7 +25,7 @@ <p><label>{%trans "Type:"%}</label> <span class='value'>{{ item.file_type }}</span></p> -{% if item.related_file %}<p><label>{%trans "Related file:"%}</label> <span class='value'><a href='{% url show-file item.related_file.pk ''%}'>{{ item.related_file }}</a></span></p>{% endif %} <!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file --> +{% if item.related_file %}<p><label>{%trans "Related file:"%}</label> <span class='value'><a href='#' onclick='load_window("{% url show-file item.related_file.pk ''%}")'>{{ item.related_file }}</a></span></p>{% endif %} <!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file --> {% if item.comment %}<p><label>{%trans "Comment:"%}</label> <span class='value'>{{ item.comment }}</span></p>{%endif%} <h3>{% trans "Localisation"%}</h3> @@ -91,7 +91,7 @@ <td class='string'>{{operation.in_charge|default:""}}</td> <td>{{operation.start_date|default:""}}</td> <td>{{operation.end_date|default:""}}</td> - <td class='link'><a href="#{#{%url show-operation operation.pk%}#}">{% trans "Details" %}</a></td> + <td class='link'><a href="#" onclick='load_window("{%url show-operation operation.pk ''%}")'>{% trans "Details" %}</a></td> </tr> {% empty %} <tr><td colspan="8" class='no_items'>{% trans "No operation associated to this archaelogical file" %}</td></tr> |
