X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_routesearch;h=e5e7c6b98619c48174328badb9e501623113df47;hp=dc8c230c54767b3b5310004eed0d6b48c495d4db;hb=86042accde3ae9cb5bbafa172c23b59ce0480fd3;hpb=9101afe763ab49064b0ac3b5ab5ea066bcbc6259 diff --git a/yarrg/web/query_routesearch b/yarrg/web/query_routesearch index dc8c230..e5e7c6b 100644 --- a/yarrg/web/query_routesearch +++ b/yarrg/web/query_routesearch @@ -249,7 +249,11 @@ seconds of CPU time so more processing resources should be available soon. % foreach my $ap (qw(A P)) { -

ap=<% $ap %>

+% if ($ap eq 'A') { +

Best routes for total profit

+% } else { +

Best routes for profit per league

+% } @@ -289,6 +293,16 @@ seconds of CPU time so more processing resources should be available soon. % } # $isles
% } # $ap + +

+ +

Notes

+ +Per league values count each island visited as one +(additional) league; the `Dist.' column is however the actual distance +to be sailed. All profit figures are somewhat approximate; get a +complete trading plan for a route for accurate information. + <%perl>