Re-open the barber vacancy and stop repeat submits on manage-booking

The barber ad (hidden 2026-10-06) is back on the listing page and its
redirect is removed, now that the salon is hiring a barber again.

On the guest manage-booking page, "Bekreft endring" and "Avbestill"
could be clicked repeatedly while the slow POST (Google Calendar +
e-mails) was in flight, sending the request again each time. Both
forms now lock after the first submit, mirroring the booking form, and
the page reloads when restored from the back-forward cache so the
buttons are usable again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ubuntu
2026-11-23 10:32:45 +00:00
co-authored by Claude Opus 5.5
parent 3440188c0f
commit e3ba51b8e5
3 changed files with 37 additions and 7 deletions
-3
View File
@@ -11,9 +11,6 @@
# Job ad renamed: ledigestilling.html -> negletekniker.html (2026-07-17)
RewriteRule ^ledigestilling/ledigestilling\.html$ /ledigestilling/negletekniker.html [R=301,L]
# Barber vacancy hidden (2026-10-06): file kept, direct visits go to the listing. 302 so it can be re-opened.
RewriteRule ^ledigestilling/barber\.html$ /ledigestilling/ [R=302,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d