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 | 1fe643357ffdfa927e4a0c048412d09ef478f8c0 (patch) | |
| tree | d4004e06333fe7955272e9ef6ddafc9ae4aca558 /ishtar/templates/sheet_file.html | |
| parent | c66f45d648982d0aa7f62104d8009cfae7c7ccf7 (diff) | |
| download | Ishtar-1fe643357ffdfa927e4a0c048412d09ef478f8c0.tar.bz2 Ishtar-1fe643357ffdfa927e4a0c048412d09ef478f8c0.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> |
