summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/static/infoscreen.css5
-rw-r--r--templates/infoscreen.html.ep5
2 files changed, 10 insertions, 0 deletions
diff --git a/public/static/infoscreen.css b/public/static/infoscreen.css
index 617413c..83ddd1f 100644
--- a/public/static/infoscreen.css
+++ b/public/static/infoscreen.css
@@ -129,6 +129,11 @@ div.displayclean li > .time {
top:5px;
}
+div.displayclean li > .time > .platform {
+ color: black;
+ margin-left: 0.2em;
+}
+
div.displayclean li .moreinfo {
color:#000000;
font-size:2.1em;
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 0778d1f..8ff8d96 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -169,6 +169,11 @@
% else {
%= $departure->time
% }
+ <span class="platform">
+% if ($departure->can('platform') and $departure->platform) {
+%= $departure->platform
+% }
+ </span>
</span>
</li>
% }