From: Ian Jackson Date: Mon, 21 Sep 2009 01:04:15 +0000 (+0100) Subject: Right-justify data ages in tables X-Git-Tag: 5.0^2~122 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=1d4081b5d2814df6ac7d402fa35948504c915071;hp=ace8b7e1933e7da5e615a837cd47aeea1a4a23a2 Right-justify data ages in tables --- diff --git a/yarrg/web/query_age b/yarrg/web/query_age index a02187e..d9b234d 100644 --- a/yarrg/web/query_age +++ b/yarrg/web/query_age @@ -80,7 +80,7 @@ $sth->execute(); class="<% 'datarow'.($rowix & 1) %>" > <% $row->{'archipelago'} |h %> <% $row->{'islandname'} |h - %> <% prettyprint_age($age) %> + %> <% prettyprint_age($age) %> % $rowix++; % } diff --git a/yarrg/web/query_offers b/yarrg/web/query_offers index 4c9c71e..dbff9fa 100644 --- a/yarrg/web/query_offers +++ b/yarrg/web/query_offers @@ -187,7 +187,7 @@ foreach my $bs (split /_/, $qa->{BuySell}) { % $ts_sortkeys{$ci}{$rowid}= $val; = 3 ? 'align=right' : '' %> ><% $val |h %> % } -<% prettyprint_age($age) %> +<% prettyprint_age($age) %> % $rowix++; % }