home · contact · privacy
Add prev/next links to Booking edit views.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 28 Jan 2025 12:50:09 +0000 (13:50 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 28 Jan 2025 12:50:09 +0000 (13:50 +0100)
templates/_macros.tmpl

index 55243af178683d95d5edc022f336d305762b6c7b..acf74d92b8960128e9fe1a7b6dc622b170805440 100644 (file)
@@ -77,6 +77,8 @@ function taint() {
 <span id="booking_links">
 <a class="disable_on_change" href="/edit_{{target}}/{{id}}">switch to {{target}}</a>
 <a class="disable_on_change" href="/balance?up_incl={{id}}">balance after</a>
+<a class="disable_on_change" href="/booking/{{id-1}}">prev</a>
+<a class="disable_on_change" href="/booking/{{id+1}}">next</a>
 </span>
 <hr />
 {% endmacro %}