From: Tim Pope Date: Wed, 6 Jul 2005 02:37:22 +0000 (+0000) Subject: Minor formatting change on HTML grades X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=commitdiff_plain;h=ebc54fb51c2291c3dcb51ccc7ba259cacf69f4aa Minor formatting change on HTML grades --- diff --git a/perl/sctweb b/perl/sctweb index 97a21d8..d3a31c6 100755 --- a/perl/sctweb +++ b/perl/sctweb @@ -590,8 +590,10 @@ sub do_html_grades { map { s/^\s+//; s/\xa0|\r//g; s/\n/
/g; $_} @$row; $row->[1] = capitalize($row->[1]); $row->[1] =~ s/&/&/g; + $row->[0] =~ s/Cumulative through/Cumulative: through/; + $row->[0] =~ s/Cumulative:(.*) (\d{4}) (.*)/Cumulative:\1 \3 \2/; $lastrow=$row; - next if $row->[0] =~ /:|Current Term|Cumulative/; + next if $row->[0] =~ /:|Current Term/; print ''; $shade = ($shade eq "dark"?"light":"dark"); print '', $$row[0], '';