From 91344741a53938004a33ffe74a373718a06cb552 Mon Sep 17 00:00:00 2001 From: thomas girod Date: Tue, 30 Jul 2024 19:23:48 +0200 Subject: [PATCH] add some alpine to picture download --- core/templates/core/user_pictures.jinja | 110 ++++++++++++++---------- 1 file changed, 63 insertions(+), 47 deletions(-) diff --git a/core/templates/core/user_pictures.jinja b/core/templates/core/user_pictures.jinja index dd7caa27..0e09245e 100644 --- a/core/templates/core/user_pictures.jinja +++ b/core/templates/core/user_pictures.jinja @@ -10,6 +10,7 @@ window.showSaveFilePicker = showSaveFilePicker; /* Export function to normal javascript */ + {% endblock %} {% block title %} @@ -19,8 +20,15 @@ {% block content %}
{% if can_edit(profile, user) %} - - +
+ + +
{% endif %} {% for album, pictures in albums|items %}

{{ album }}

@@ -51,50 +59,58 @@
{% endfor %} -
{% endblock %} +{% block script %} + + {{ super() }} + +{% endblock %}