summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 9e7a7f2..adfc5b4 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -211,4 +211,9 @@
% }
</ul> <!-- mroute -->
% }
+% if (param('ajax')) {
+ <div style="margin-top: 1em;">
+ <a class="smallbutton" href="/z/<%= $departure->{train_type} %>%20<%= $departure->{train_no} %>/<%= $station_name %>"><i class="material-icons" aria-hidden="true">share</i> Link</a>
+ </div>
+% }
</div> <!-- mfooter -->