summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-19 12:00:01 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-19 12:00:01 +0200
commitec9f142bec4321002b86d6691bca6ed1e1f5e7c9 (patch)
treea219d3d4a13c8e40ad058c5f809a0466a7332a76 /templates/_train_details.html.ep
parentf7d4515b98c21d9b9a12765ac3d558bae0324e78 (diff)
proper buttons for map and wagon order (wip)
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep25
1 files changed, 12 insertions, 13 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index f713094..098678f 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -96,21 +96,20 @@
</div>
</div>
</div> <!-- dataline -->
-% if ($departure->{wr_link} or ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus')) {
- <div class="verbose">
+ <div class="verbose">
+% if ($departure->{trip_id}) {
+ <a class="smallbutton" href="/map/<%= $departure->{trip_id} %>/<%= $departure->{train_line} // 0 %>?from=<%= $station_name %>"><i class="material-icons" aria-hidden="true">map</i> Karte</a>
+% }
+% if ($departure->{wr_link} or ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus')) {
% if ($departure->{wr_link}) {
- <a href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>">Wagenreihung</a>
-% }
-% if ($icetype and $icetype->[1]) {
- (Plan: <%= $icetype->[0] %>)<br/>
+ <a class="smallbutton" href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>"><i class="material-icons" aria-hidden="true">compare_arrows</i> Wagenreihung
+% if ($icetype and $icetype->[1]) {
+ (Plan: <%= $icetype->[0] %>)<br/>
+% }
+ </a>
% }
- </div>
-% }
-% if ($departure->{trip_id}) {
- <div class="verbose">
- <a href="/map/<%= $departure->{trip_id} %>/<%= $departure->{train_line} // 0 %>?from=<%= $station_name %>">Karte</a>
- </div>
-% }
+% }
+ </div>
% if ($departure->{moreinfo} and @{$departure->{moreinfo}}) {
Meldungen: