home · contact · privacy
Fix buggy links in raw view.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 20 Jan 2025 11:36:00 +0000 (12:36 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 20 Jan 2025 11:36:00 +0000 (12:36 +0100)
templates/raw.tmpl

index 34f69d178b04aa35e787c892bc5bbe67a184c833..20980ae75e5bd7dc664196835a0e3b21d5637ee6 100644 (file)
@@ -9,8 +9,8 @@ table { font-family: monospace; }
 {% for l in dat_lines %}
   <tr class="{{l.type}}">
   {% if l.type == "intro" %}
-    <td id="{{l.booking.id_}}"><a href="#{{l.booking.id_}}">#</a></td>
-    <td><a href="booking?idx={{l.booking.id_}}"/>{{l.raw_nbsp}}</a></td>
+    <td id="{{l.booking_id_}}"><a href="#{{l.booking_id}}">#</a></td>
+    <td><a href="booking/{{l.booking_id}}"/>{{l.raw_nbsp}}</a></td>
   {% else %}
     <td></td>
     <td>{{l.raw_nbsp}}</td>