chiark / gitweb /
Printable plan: Put generation date near the top with the input questions
[ypp-sc-tools.main.git] / yarrg / web / routetrade
index b27850676adb2a498288c853cae53cfbf29c1dc7..68c727cdbd1aec41407534e2c1047e5b1d95b14b 100644 (file)
@@ -603,6 +603,13 @@ $addcols->({ Total => 0, DoReverse => 1, TotalSubflows => 1 }, qw(
  <li><a href="#dataage">Data age summary</a>
  <li><a href="#trades">Relevant trades</a>
 </ul>
+% } else {
+%      my @tl= gmtime $now or die $!;
+<p>
+Generated by YARRG at <strong><%
+       sprintf "%04d-%02d-%02d %02d:%02d:%02d UTC",
+               $tl[5]+1900, @tl[4,3,2,1,0]
+                       |h %></strong>.
 % }
 
 % if ($optimise) { # ========== TRADING PLAN ==========
@@ -840,14 +847,6 @@ END
 <&| query_age:agestable, now => $now, fetchrow => $fetchrow &>
 Islands shown in reverse order of visits.<br>
 </&>
-% } else {
-%      my @tl= gmtime $now or die $!;
-<p>
-Generated by YARRG at <strong><%
-       sprintf "%04d-%02d-%02d %02d:%02d:%02d UTC",
-               $tl[5]+1900, @tl[4,3,2,1,0]
-                       |h %></strong>.
-%#     
 % }
 
 % if (!printable($m)) {