From 4d07b94fee6142becf2b9228ee960124764f4e60 Mon Sep 17 00:00:00 2001 From: imperosol Date: Sun, 2 Aug 2026 17:23:34 +0200 Subject: [PATCH] change sas picture on picture click --- sas/templates/sas/picture.jinja | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sas/templates/sas/picture.jinja b/sas/templates/sas/picture.jinja index 3e378b4c..b93e6a89 100644 --- a/sas/templates/sas/picture.jinja +++ b/sas/templates/sas/picture.jinja @@ -88,6 +88,7 @@ :alt="currentPicture.name" id="main-picture" x-ref="mainPicture" + @click="currentPicture = (($event.offsetX > $el.offsetWidth / 2) ? nextPicture : previousPicture) ?? currentPicture" /> @@ -95,13 +96,11 @@
{% trans %}Infos{% endtrans %}
-
+
{% trans %}Date: {% endtrans %} - +