mirror of
https://github.com/derf/travelynx
synced 2024-12-02 17:29:11 +00:00
move links to card-actions for public, hide in app view for now
This commit is contained in:
parent
9697279aeb
commit
2aba2b6522
2 changed files with 14 additions and 18 deletions
|
@ -260,17 +260,17 @@
|
|||
% }
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="margin-top: 2em;">
|
||||
<div class="col s6 center-align">
|
||||
% 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">
|
||||
% 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>
|
||||
% }
|
||||
</div>
|
||||
</div>
|
||||
%# <div class="row" style="margin-top: 2em;">
|
||||
%# <div class="col s6 center-align">
|
||||
%# % 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">
|
||||
%# % 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>
|
||||
%# % }
|
||||
%# </div>
|
||||
%# </div>
|
||||
% if ($journey->{arr_name}) {
|
||||
<div class="card" style="margin-top: 3em;">
|
||||
<div class="card-content">
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue