diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-01-08 19:12:03 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-01-08 19:12:03 +0100 |
commit | 2aba2b65227834a1266ebcb0de9d5ee8b8d69cb3 (patch) | |
tree | 7aff0d3584dc2db98a9356e1db5dc8e9eca2b792 /templates/_public_status_card.html.ep | |
parent | 9697279aeb1fe202274c2e0c30c5f12e0565a8c8 (diff) |
move links to card-actions for public, hide in app view for now
Diffstat (limited to 'templates/_public_status_card.html.ep')
-rw-r--r-- | templates/_public_status_card.html.ep | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index 751a14b..2c5c3df 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -140,15 +140,11 @@ </p> % } </div> - </div> - <div class="row"> - <div class="col s6 center-align"> + <div class="card-action"> % my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000'; - <a href="<%= $url %>" class="waves-effect waves-light btn"><i class="material-icons left">timeline</i> Zuglauf</a> - </div> - <div class="col s6 center-align"> + <a style="margin-right: 0;" href="<%= $url %>"><i class="material-icons left">timeline</i> Zuglauf</a> % if ($journey->{extra_data}{trip_id}) { - <a href="https://dbf.finalrewind.org/map/<%= $journey->{extra_data}{trip_id} %>/<%= $journey->{train_line} || 0 %>" class="waves-effect waves-light btn"><i class="material-icons left">map</i> Karte</a> + <a class="right" style="margin-right: 0;" href="https://dbf.finalrewind.org/map/<%= $journey->{extra_data}{trip_id} %>"><i class="material-icons left">map</i> Karte</a> % } </div> </div> |