history stats: make inconsistency hint less obnoxious
This commit is contained in:
parent
4652fab4c5
commit
b71203738c
1 changed files with 8 additions and 26 deletions
|
@ -1,29 +1,3 @@
|
||||||
% if (@{$stats->{inconsistencies}}) {
|
|
||||||
<div class="row">
|
|
||||||
<div class="col s12">
|
|
||||||
<div class="card caution-color">
|
|
||||||
<div class="card-content white-text">
|
|
||||||
<i class="material-icons small right">warning</i>
|
|
||||||
<span class="card-title">Inkonsistente Reisedaten</span>
|
|
||||||
<p>
|
|
||||||
Die folgenden Fahrten wurden bei der Wartezeitberechnung
|
|
||||||
ignoriert, da ihre Abfahrtszeit vor der Ankunftszeit der
|
|
||||||
vorherigen Fahrt liegt. Bei den restlichen Statistken
|
|
||||||
wurden sie mitberücksichtigt.
|
|
||||||
<ul>
|
|
||||||
% for my $field (@{$stats->{inconsistencies}}) {
|
|
||||||
<li><a href="/journey/<%= $field->{ignored}{id} %>"><%= $field->{ignored}{train} %> ab <%= $field->{ignored}{dep} %></a>
|
|
||||||
(Konflikt: <a href="/journey/<%= $field->{conflict}{id} %>"><%= $field->{conflict}{train} %> an <%= $field->{conflict}{arr} %>)</a>
|
|
||||||
</li>
|
|
||||||
% }
|
|
||||||
</ul>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
% }
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<table class="striped">
|
<table class="striped">
|
||||||
|
@ -44,6 +18,14 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Wartezeit (nur Umstiege)</th>
|
<th scope="row">Wartezeit (nur Umstiege)</th>
|
||||||
<td><%= $stats->{min_interchange_real_strf} %> Stunden
|
<td><%= $stats->{min_interchange_real_strf} %> Stunden
|
||||||
|
% if (@{$stats->{inconsistencies}}) {
|
||||||
|
<br/><br/>Für Wartezeitberechnung nicht berücksichtigte Fahrten:<br/>
|
||||||
|
% for my $field (@{$stats->{inconsistencies}}) {
|
||||||
|
<a href="/journey/<%= $field->{ignored}{id} %>"><%= $field->{ignored}{train} %> ab <%= $field->{ignored}{dep} %></a>
|
||||||
|
(Konflikt: <a href="/journey/<%= $field->{conflict}{id} %>"><%= $field->{conflict}{train} %> an <%= $field->{conflict}{arr} %></a>)<br/>
|
||||||
|
% }
|
||||||
|
% }
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Kumulierte Verspätung</th>
|
<th scope="row">Kumulierte Verspätung</th>
|
||||||
|
|
Loading…
Reference in a new issue