diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-24 13:39:32 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-24 13:43:35 +0200 |
commit | 3eff8cc19f8f8ef237788c752cb7c937195bb7e6 (patch) | |
tree | 1233279285cfd418817a73611af98033230e6452 /archaeological_operations/templates/ishtar/sheet_administrativeact.html | |
parent | 04835942422a50ee8a4d6c09046153a48ff1d2e7 (diff) | |
download | Ishtar-3eff8cc19f8f8ef237788c752cb7c937195bb7e6.tar.bz2 Ishtar-3eff8cc19f8f8ef237788c752cb7c937195bb7e6.zip |
UI: adpat all sheet to the new layout. Administrativ act: can modify from sheet. Organization: can modify from sheet.
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_administrativeact.html')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_administrativeact.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html index 23dc0a4c1..57acf9cbe 100644 --- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html +++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html @@ -1,13 +1,15 @@ {% extends "ishtar/sheet.html" %} -{% load i18n %} +{% load i18n window_header %} -{% block head_sheet %} -{{block.super}} -<h1>{% trans "Administrative act"%}</h1> -{% endblock %} +{% block head_title %}{% trans "Administrative act" %}{% endblock %} {% block content %} -<div class='tool'>{%trans "Export as:"%} <a href='{% url show-administrativeact item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-administrativeact item.pk "pdf" %}'>{%trans "PDF file"%}</a></div> +{% if item.operation %} +{% window_nav item window_id 'show-administrativeact' 'operation_administrativeactop_modify' %} +{% else %} +{% window_nav item window_id 'show-administrativeact' 'file_administrativeactfile_modify' %} +{% endif %} + <h3>{% trans "General"%}</h3> <p><label>{%trans "Year:"%}</label> <span class='value strong'>{{ item.year }}</span></p> {% if item.index %}<p><label>{%trans "Numerical reference:"%}</label> <span class='value strong'>{{ item.index }}</span></p>{% endif %} |