diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-21 18:50:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-21 18:50:24 +0200 |
commit | 1ccb20d8c19a7c9998b9daecbcf9d89a64714de4 (patch) | |
tree | 3d30bb630591a322f73fe51bb588750a5c9afab7 /templates/_train_details.html.ep | |
parent | 12e55126ec17f49cd8af27d172c96fd61fd2297a (diff) |
add permalink to train details
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 5 |
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 --> |