summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-29 20:01:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-29 20:01:52 +0200
commit155f9f39cc83fcf83e5dd48ae58b09736281c912 (patch)
tree6d181034a0f0599b9c5929e5db31d2f25435281c /templates
parent146b3a2682c7c91984b15bfa34325558201203ba (diff)
use journey-specific status links -> one twitter card per journey
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index efe1eff..0683ae5 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -134,7 +134,7 @@
<a class="action-share blue-text right"
data-text="Ich bin gerade <%= $attrib %> <%= $journey->{train_type} %> <%= $journey->{train_no} %> nach <%= $journey->{arr_name} %> #NowTräwelling #dbl"
% if (current_user()->{is_public} & 0x02) {
- data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= current_user->{name} %>"
+ data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= current_user->{name} %>/<%= $journey->{sched_departure}->epoch %>"
% }
>
<i class="material-icons left">share</i> Teilen