From d643811cf90c5c8874087f200e68910b729473de Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 15 Jan 2015 23:19:04 +0100 Subject: More URA support: Do not require a city to be set --- templates/main.html.ep | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/main.html.ep b/templates/main.html.ep index a3678de..d90aed8 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -9,7 +9,7 @@ -% if ($city and $stop) { +% if ($stop) { % if ($errstr) {
Received an error from the backend service:
@@ -19,25 +19,25 @@
% } % elsif ($frontend eq 'png') { -<%= $stop %>.png?<%= $params %>" alt="" id="display" height="<%= $height * 4 %>" width="<%= $width * 4 %>"/> % } % elsif ($frontend eq 'html') { - % } % elsif ($frontend eq 'infoscreen') {

-Infoscreen for +<%= $stop %>.html?<%= $params %>&template=infoscreen">Infoscreen for <%= $city %> <%= $stop %>

Preview:
- % } % elsif ($frontend eq 'json') {

-JSON data for +<%= $stop %>.json?<%= $params %>">JSON data for <%= $city %> <%= $stop %>

-- cgit v1.2.3