From 1ccb20d8c19a7c9998b9daecbcf9d89a64714de4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 21 Sep 2020 18:50:24 +0200 Subject: add permalink to train details --- templates/_train_details.html.ep | 5 +++++ templates/layouts/app.html.ep | 2 +- templates/layouts/legacy.html.ep | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'templates') 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 @@ -210,5 +210,10 @@ % } +% } +% if (param('ajax')) { +
+ Link +
% } diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 1a19614..ae87360 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -18,7 +18,7 @@ % } - % my $av = 'v31'; # asset version + % my $av = 'v32'; # asset version % if (session('theme') and session('theme') eq 'dark' or param('dark')) { %= stylesheet "/static/${av}/css/dark.min.css", id => 'theme' % } diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep index dd3830c..b885bef 100644 --- a/templates/layouts/legacy.html.ep +++ b/templates/layouts/legacy.html.ep @@ -17,7 +17,7 @@ % } - % my $av = 'v31'; # asset version + % my $av = 'v32'; # asset version %= stylesheet "/static/${av}/css/default.css" %= stylesheet "/static/${av}/css/material-icons.css" %= stylesheet "/static/${av}/css/jquery-ui.min.css" -- cgit v1.2.3