diff options
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r-- | archaeological_context_records/templates/ishtar/forms/qa_contextrecord_duplicate.html | 39 | ||||
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 16 |
2 files changed, 43 insertions, 12 deletions
diff --git a/archaeological_context_records/templates/ishtar/forms/qa_contextrecord_duplicate.html b/archaeological_context_records/templates/ishtar/forms/qa_contextrecord_duplicate.html new file mode 100644 index 000000000..a018a67fa --- /dev/null +++ b/archaeological_context_records/templates/ishtar/forms/qa_contextrecord_duplicate.html @@ -0,0 +1,39 @@ +{% extends "ishtar/forms/qa_base.html" %} +{% load i18n inline_formset table_form %} + +{% block main_form %} +{% if form.non_field_errors %} +<div class="alert alert-danger" role="alert"> + {{form.non_field_errors}} +</div> +{% endif %} +<div class="form-row"> + <div class="form-group col-lg-12 required full-width"> + <label>{% trans "Operation" %}{% trans ":" %}</label> + {{operation}} + </div> +</div> +{% with force_large_col=True %} +<div class="form-row"> + {% with form.qa_label as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +</div> +<div class="form-row"> + {% with form.qa_parcel as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +</div> +{% if form.qa_town %}<div class="form-row"> + {% with form.qa_town as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +</div>{% endif %} +{% if form.qa_parcel %}<div class="form-row"> + {% with form.qa_unit as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +</div>{% endif %} +{% endwith %} +{% endblock %} + diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index a7d01c6dd..ffeba676c 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -104,7 +104,6 @@ <div class="tab-pane fade show active" id="{{window_id}}-identification" role="tabpanel" aria-labelledby="{{window_id}}-identification-tab"> - {% if has_image %} <div class="clearfix"> <div class="card float-left col-12 col-md-6 col-lg-4"> {% include "ishtar/blocks/window_image.html" %} @@ -116,17 +115,10 @@ </p> </div> </div> - </div> - {% else %} - <div> - <p class='window-refs'>{{ item.parcel.short_label }}</p> - <p class="window-refs">{{ item.label|default:"" }}</p> - {% include "ishtar/blocks/sheet_external_id.html" %} - </div> - {% endif %} - <div class='row'> - {% field_flex_2 "Complete ID" item.full_label %} - {% field_flex_2 "Type" item.unit %} + <div class='row'> + {% field_flex_2 "Complete ID" item.full_label %} + {% field_flex_2 "Type" item.unit %} + </div> </div> <h3>{% trans "Description"%}</h3> <div class="row"> |