diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-31 16:27:35 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-31 16:27:35 +0100 |
commit | a9aef5ce98770033e1aff252d23d7637da9cff89 (patch) | |
tree | 26d29140f96bdb8f9a52d4e55df3da4d271b156c | |
parent | cb7e3f1c2ba053edacdb86b7d83031df0a588869 (diff) | |
download | Ishtar-a9aef5ce98770033e1aff252d23d7637da9cff89.tar.bz2 Ishtar-a9aef5ce98770033e1aff252d23d7637da9cff89.zip |
UI: fix url field - improve operation header
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 2 | ||||
-rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex_url.html | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 8166d9d68..24e08eacb 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -1,7 +1,7 @@ {% extends "ishtar/sheet.html" %} {% load i18n window_tables window_header window_ope_tables window_field from_dict %} -{% block head_title %}<strong>{% trans "Operation" %}</strong> - {{item.short_label}}{% endblock %} +{% block head_title %}<strong>{% trans "Operation" %}</strong> - {{item.short_label}}{% if item.common_name %} - {{item.common_name}}{% endif %}{% endblock %} {% block toolbar %} {% window_nav item window_id 'show-operation' 'operation_modify' 'show-historized-operation' 'revert-operation' previous next 1 %} diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html index 59f612bc6..b3a801636 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html @@ -1,7 +1,8 @@ {% load i18n %}{% if link %} -<div class="col-12 col-md-6 col-lg-4 d-flex flex-wrap row"> +<dl class="col-12 col-md-6 col-lg-4 d-flex flex-wrap row"> <dt class="col-5">{% trans caption %}</dt> <dd class="col-7"> <a target="_blank" href='{{link|safe}}'>{% if link_name %}{{link_name}}{% else %}{{link}}{% endif %}</a> </dd> +</dl> {% endif%} |