summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-23 20:19:34 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-23 20:19:34 +0200
commit0526f8880055fe4b559e857bd3b321bdc63ab525 (patch)
treebe31c03bc33f60c12902f29bc7c4ab45ba5cbc14 /templates/_train_details.html.ep
parentd24433cc9c8de00464d614d19281a812a849cb91 (diff)
prominently show zuginfo.nrw links in train details3.3.4
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index adfc5b4..3168852 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -115,6 +115,9 @@
% elsif ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus') {
<span class="disabledbutton"><i class="material-icons" aria-hidden="true">compare_arrows</i> Plan: <%= $icetype->[0] %></span>
% }
+% for my $link (@{$departure->{links}}) {
+ <a class="smallbutton" href="<%= $link->[1] %>"><i class="material-icons" aria-hidden="true">warning</i> <%= $link->[0] %></a>
+% }
</div>
% if ($departure->{moreinfo} and @{$departure->{moreinfo}}) {