chiark / gitweb /
Merge branch 'ijackson'
[ypp-sc-tools.db-test.git] / yarrg / web / routetrade
index 7e1a06e6b90fd5cd872bb5ca78048667a3018a6e..9311f1a4fc508b247e580dda8c278d9294e51f04 100644 (file)
@@ -40,6 +40,7 @@ $dbh
 $qa
 $max_mass
 $max_volume
+$lossperleaguepct
 </%args>
 <&| script &>
   da_pageload= Date.now();
@@ -49,6 +50,11 @@ $max_volume
 <strong>WARNING - VESSEL CAPACITY LIMIT NOT YET IMPLEMENTED</strong>
 <p>
 % }
+% if (defined $lossperleaguepct) {
+<strong>WARNING - DEFINED LOSS PER LEAGUE NOT YET IMPLEMENTED</strong>
+<% $lossperleaguepct |h %>
+<p>
+% }
 
 <%perl>
 
@@ -372,7 +378,7 @@ die "$cmpu $uue ?" if length $cmpu > 20;
 
 <p>
 % if (@islandids<=1) {
-Route is trivial.
+Route contains only one location.
 % }
 % if (!$specific) {
 Route contains archipelago(es), not just specific islands.