2020-09-03 20:27:50 +00:00
|
|
|
% if (stash('error')) {
|
|
|
|
<div class="row">
|
|
|
|
<div class="col s12">
|
|
|
|
<div class="card caution-color">
|
|
|
|
<div class="card-content white-text">
|
|
|
|
<span class="card-title">Fehler</span>
|
|
|
|
<p><%= stash('error') %></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
% }
|
2023-02-27 21:14:54 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col s12 publicstatuscol" data-user="<%= $name %>">
|
|
|
|
%= include '_public_status_card', name => $name, public_level => $public_level, journey => $journey, journey_visibility => $journey_visibility
|
2020-09-03 20:27:50 +00:00
|
|
|
</div>
|
2023-02-27 21:14:54 +00:00
|
|
|
</div>
|
|
|
|
% if ($journeys and @{$journeys}) {
|
2020-09-03 20:27:50 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col s12">
|
|
|
|
<h2>Letzte Fahrten von <%= $name %></h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-04 16:38:35 +00:00
|
|
|
%= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => $journeys;
|
2020-09-03 20:27:50 +00:00
|
|
|
% }
|
|
|
|
|
|
|
|
%= include '_footer', version => stash('version')
|