diff options
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_exhibition.html')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_exhibition.html | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_exhibition.html b/archaeological_finds/templates/ishtar/sheet_exhibition.html index cd37bac4b..71cad264a 100644 --- a/archaeological_finds/templates/ishtar/sheet_exhibition.html +++ b/archaeological_finds/templates/ishtar/sheet_exhibition.html @@ -98,13 +98,20 @@ {% for loan in item.treatment_files.all %} <div class="tab-pane fade" id="{{window_id}}-loan{{forloop.counter}}" role="tabpanel" aria-labelledby="{{window_id}}-loan{{forloop.counter}}-tab"> + {% if ISHTAR_MUSEUM_GAM %} + <div class="row"> + <p class="col-12 text-center m-3"> + <a class="btn-qa btn btn-success" href="#" data-target="{% url 'exhibition-qa-gam-export' loan.pk %}" title="Export GAM"> + <i class="fa fa-share-square-o"></i> export GAM + </a> + </p> + </div> + {% endif %} <div class="row"> - {% with loan.exhibition_start_date|date:"SHORT_DATE_FORMAT" as exhibition_start_date %} <dl class="col-12 col-md-6 col-lg-3 flex-wrap"> <dt>{% trans "Dates" %}</dt> <dd>{{loan.exhibition_start_date|date:"SHORT_DATE_FORMAT"}} / {{loan.exhibition_end_date|date:"SHORT_DATE_FORMAT"}}</dd> </dl> - {% endwith %} {% field_flex_detail _("Beneficiary of the loan") loan.applicant_organisation %} {% field_flex_detail _("Scientific manager of the exhibition") loan.in_charge %} {% field_flex_detail _("Exhibition location") loan.exhibition_location %} @@ -116,8 +123,8 @@ {% if perm_change_basket %} <p class="col-12 col-md-6 col-lg-3 flex-wrap"> - <a class="wait-button btn btn-success" href="/find_basket_modification_add/{{loan.associated_basket.pk}}/?back_url={% url 'display-exhibition' loan.pk %}" title="{% trans 'Manage basket' %}"> - <i class="fa fa-shopping-basket"></i> {% trans "manage items of this basket" %} + <a class="wait-button btn btn-success" href="/find_basket_modification_add/{{loan.associated_basket.pk}}/?back_url={% url 'display-exhibition' loan.pk %}" title="{% trans 'Manage basket' %}"> + <i class="fa fa-shopping-basket"></i> {% trans "manage items of this basket" %} </a> </p> {% endif %} |
