chiark / gitweb /
More clearly explain [?] for location codes
[ypp-sc-tools.db-live.git] / yarrg / web / routetrade
index 72e9bf7a8a96cf706e4557d6fd26cadfb2dfd2e2..59a856631b5a1cfdc042664a3d7c67815453c61f 100644 (file)
@@ -644,8 +644,8 @@ Generated by YARRG at <strong><%
 %      if (!$i) {
 <td colspan=2>
 <strong>Start at <% $islandname |h %></strong>
-<td><a href="docs#posinclass">[?]</a>
-<td colspan=2>
+<td colspan=2><a href="docs#posinclass">[what are these codes?]</a>
+<td>
 %      } else {
 %              my $this_dist= $distance->($islandids[$i-1],$islandids[$i]);
 %              $total_dist += $this_dist;
@@ -710,9 +710,9 @@ END
                                $desc.= (sprintf ", commodity %d of %d",
                                        $incl, $maxpic);
                                if ($classinfo->{'maxposinclass'} >= 8) {
-                                       my @tmbs= qw(tt t m b bb);
+                                       my @tmbs= qw(0 1 2 3 4 5 6 7 8 9);
                                        my $tmbi= ($incl+0.5)*$#tmbs/$maxpic;
-                                       $abbrev.= " ".$tmbs[$tmbi];
+                                       $abbrev.= " ".$tmbs[$tmbi]."&nbsp;";
                                }
                        }
                        $$todo->{'posinclass'}=