home
·
contact
·
privacy
projects
/
plomledger
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b32a0cc
)
Add prev/next links to Booking edit views.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 28 Jan 2025 12:50:09 +0000
(13:50 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 28 Jan 2025 12:50:09 +0000
(13:50 +0100)
templates/_macros.tmpl
patch
|
blob
|
history
diff --git
a/templates/_macros.tmpl
b/templates/_macros.tmpl
index 55243af178683d95d5edc022f336d305762b6c7b..acf74d92b8960128e9fe1a7b6dc622b170805440 100644
(file)
--- a/
templates/_macros.tmpl
+++ b/
templates/_macros.tmpl
@@
-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 %}