From 89526fb1e996ccc9710af9c1268eaf4359c4bc2a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 21 Jul 2011 18:23:58 +0200 Subject: Add template for multi-departure lcd (the big screen on main stations) --- bin/db-fakedisplay | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/db-fakedisplay') diff --git a/bin/db-fakedisplay b/bin/db-fakedisplay index f9ce899..32e342c 100755 --- a/bin/db-fakedisplay +++ b/bin/db-fakedisplay @@ -33,7 +33,10 @@ if ( $mode eq 'single' and not $template_file ) { ( $station, @platforms ) = @ARGV; $template_file //= dist_file( 'db-fakedisplay', 'multi-lcd.html' ); -$template = HTML::Template->new( filename => $template_file ); +$template = HTML::Template->new( + filename => $template_file, + loop_context_vars => 1 +); if ( not defined $station ) { show_help(1); -- cgit v1.2.3