mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
relax the author regexp for mozilla.org
make legends horizontal fix missing '/' in <>
This commit is contained in:
parent
2576491486
commit
66f5d5d555
@ -126,7 +126,7 @@ use TreeData;
|
||||
use VCDisplay;
|
||||
|
||||
|
||||
$VERSION = ( qw $Revision: 1.4 $ )[1];
|
||||
$VERSION = ( qw $Revision: 1.5 $ )[1];
|
||||
|
||||
@ISA = qw(TinderDB::BasicTxtDB);
|
||||
|
||||
@ -326,7 +326,11 @@ sub apply_db_updates {
|
||||
die("CVS reported time: $time ".gmtime($time).
|
||||
" which is more then a year away from now.\n")
|
||||
}
|
||||
$author =~ m/(\w+)/;
|
||||
|
||||
# At mozilla.org authors are email addresses with the "\@"
|
||||
# replaced by "\%" they have one user with a + in his name
|
||||
|
||||
$author =~ m/([a-zA-Z0-9\.\%\+]+)/;
|
||||
$author = $1;
|
||||
}
|
||||
|
||||
@ -355,12 +359,12 @@ sub status_table_legend {
|
||||
my ($out)='';
|
||||
|
||||
# print all the possible tree states in a cell with the color
|
||||
|
||||
$out .= "\t<td align=right valign=top>\n";
|
||||
$out .= "\t<table $TinderDB::LEGEND_BORDER>\n";
|
||||
|
||||
$out .= ("\t\t<thead><tr><td align=center>".
|
||||
"VC Cell Colors".
|
||||
"</td><tr></thead>\n");
|
||||
"</td></tr></thead>\n");
|
||||
|
||||
foreach $state (TreeData::get_all_tree_states()) {
|
||||
my $color = TreeData::TreeState2color($state);
|
||||
@ -369,6 +373,7 @@ sub status_table_legend {
|
||||
}
|
||||
|
||||
$out .= "\t</table>\n";
|
||||
$out .= "\t</td>\n";
|
||||
|
||||
|
||||
return ($out);
|
||||
|
Loading…
Reference in New Issue
Block a user