From 82297687ed0d056184342541c8af708ee547149f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 May 2019 11:44:28 +0200 Subject: social sharing for current journey --- templates/_checked_in.html.ep | 16 +++++++++++++++- templates/changelog.html.ep | 13 +++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index b15db9d..74a4efb 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -109,7 +109,21 @@
- undo Checkin Rückgängig? + undo Rückgängig + % if ($journey->{arr_name}) { + % my $attrib = 'im'; + % if ($journey->{train_type} =~ m{ ^ (?: S | RB ) $ }x) { + $attrib = 'in der'; + % } + {is_public} & 0x02) { + data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= current_user->{name} %>" + % } + > + share Teilen + + % }
diff --git a/templates/changelog.html.ep b/templates/changelog.html.ep index 693e6d4..6d56c1b 100644 --- a/templates/changelog.html.ep +++ b/templates/changelog.html.ep @@ -1,5 +1,18 @@

Changelog

+
+
+ 1.3 +
+
+

+ add Teilen der aktuellen Zugfahrt. + Wird derzeit nur auf Chrome (Android), Opera (Android) und + Safari (iOS / macOS) unterstützt. +

+
+
+
1.2 -- cgit v1.2.3