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%2Fenter_advrouteopts;h=c8a6ddbb2429a983e40fad372fb97821564b9f03;hp=2a5eff0e5c5c677334ec055b709d1c566cfdb4f6;hb=f2f25e1201a92e62c3eeb35cdec0a62539e18cb5;hpb=5df1a21a8f7ad18ade3a97b9ccf26bdcf335edd2 diff --git a/yarrg/web/enter_advrouteopts b/yarrg/web/enter_advrouteopts index 2a5eff0..c8a6ddb 100644 --- a/yarrg/web/enter_advrouteopts +++ b/yarrg/web/enter_advrouteopts @@ -32,8 +32,10 @@ This Mason component generates entry fields for route planning advanced parameters (capacity limits, etc). - The results are returned in $routeparams: + Some useful parameters are in %$routeparams: ${ $routeparams->{EmsgRef} } + $routeparams->{SayOptionalCapital} + The results are returned there: $routeparams->{LossPerLeaguePct} $routeparams->{MaxMass} $routeparams->{MaxVolume} @@ -78,7 +80,8 @@ Expected losses: -
Available capital: +Available capital<% + $routeparams->{SayOptionalCapital} ? ' (optional)' : '' %>: <&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'ac', thingstring => 'capitalstring', emsgstore => $routeparams->{EmsgRef},