chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Printable plan: Put generation date near the top with the input questions
[ypp-sc-tools.db-live.git]
/
yarrg
/
web
/
routetrade
diff --git
a/yarrg/web/routetrade
b/yarrg/web/routetrade
index b27850676adb2a498288c853cae53cfbf29c1dc7..68c727cdbd1aec41407534e2c1047e5b1d95b14b 100644
(file)
--- a/
yarrg/web/routetrade
+++ b/
yarrg/web/routetrade
@@
-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>
<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 ==========
% }
% if ($optimise) { # ========== TRADING PLAN ==========
@@
-840,14
+847,6
@@
END
<&| query_age:agestable, now => $now, fetchrow => $fetchrow &>
Islands shown in reverse order of visits.<br>
</&>
<&| 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)) {
% }
% if (!printable($m)) {