From 4fe096739b84503b4762b201c4d9ae11a936c825 Mon Sep 17 00:00:00 2001 From: Joseba S Date: Tue, 2 Jul 2024 10:18:44 +0200 Subject: [PATCH] mes-149: Load clipboard-js in accounts detail views --- templates/consumer/detail.html | 11 +++++++++-- templates/provider/detail.html | 7 +++++-- templates/user/edit.html | 11 +++++------ 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/templates/consumer/detail.html b/templates/consumer/detail.html index c7c5095..057e424 100644 --- a/templates/consumer/detail.html +++ b/templates/consumer/detail.html @@ -20,10 +20,10 @@

{% translate {% endif %} -
+
{% if request.user.is_staff %} -
+
{% include "user/detail_card.html" with user=object.owner %}
@@ -94,3 +94,10 @@
{% translate "Socia de intercooperaciĆ³n" %}
{% endblock %} + +{% block scripts %} + + +{% endblock %} \ No newline at end of file diff --git a/templates/provider/detail.html b/templates/provider/detail.html index e3237e2..c7bf9e8 100644 --- a/templates/provider/detail.html +++ b/templates/provider/detail.html @@ -78,5 +78,8 @@
Ahora mismo no ofreces ventajas, para aƱadirlas ponte en conta {% endblock%} {% block scripts %} - -{% endblock scripts %} \ No newline at end of file + + +{% endblock %} \ No newline at end of file diff --git a/templates/user/edit.html b/templates/user/edit.html index aa55e61..8288f86 100644 --- a/templates/user/edit.html +++ b/templates/user/edit.html @@ -83,10 +83,9 @@

{% translate 'Administrar' %}

{% endblock %} - {% block scripts %} - - - +{% block scripts %} + + {% endblock %} \ No newline at end of file