From 116becccb08cf57d921076d9b0ec999540b64943 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 16 Jul 2022 20:34:11 +0200 Subject: . --- lib/Travelynx.pm | 1 + lib/Travelynx/Model/Users.pm | 4 ++-- templates/_checked_in.html.ep | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index afc065f..7dc24dc 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1386,6 +1386,7 @@ sub startup { $ret =~ s{[{]name[}]}{$opt{name}}g; $ret =~ s{[{]tt[}]}{$opt{tt}}g; $ret =~ s{[{]tn[}]}{$opt{tn}}g; + $ret =~ s{[{]id[}]}{$opt{id}}g; return $ret; } ); diff --git a/lib/Travelynx/Model/Users.pm b/lib/Travelynx/Model/Users.pm index b694ac3..19e077a 100644 --- a/lib/Travelynx/Model/Users.pm +++ b/lib/Travelynx/Model/Users.pm @@ -13,9 +13,9 @@ use DateTime; my @sb_templates = ( undef, [ 'DBF', 'https://dbf.finalrewind.org/{name}?show_realtime=1#{tt}{tn}' ], - [ 'marudor.de', 'https://marudor.de/{name}' ], + [ 'marudor.de', 'https://marudor.de/{name}#{id}' ], [ 'NVM', 'https://nvm.finalrewind.org/board/{eva}#{tt}{tn}' ], - [ 'marudor.de/regional', 'https://marudor.de/regional/{name}' ], + [ 'marudor.de/regional', 'https://marudor.de/regional/{name}#{id}' ], ); sub new { diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 897766e..bd1ddc6 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -104,7 +104,7 @@
% if ($user->{sb_template}) { - <%= $journey->{arr_name} %>
+ <%= $journey->{arr_name} %>
% } % else { <%= $journey->{arr_name} %>
@@ -331,7 +331,7 @@ % } % if ($user->{sb_template}) { - train + train % } % } % if ($user->{sb_template}) { -- cgit v1.2.3