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}) {