diff options
author | Marius Storm-Olsen <marius@trolltech.com> | 2012-03-02 21:31:42 +0100 |
---|---|---|
committer | Marius Storm-Olsen <marius@trolltech.com> | 2012-03-02 21:31:42 +0100 |
commit | 0ba2f560d8ca2bfd3ae4b71e66e114b9be85bd90 (patch) | |
tree | 2fe6b5bb0a2ee1b80037d827bbbff0c1093ba2ca | |
parent | d188cb33a258102154654f73294184cab5d0f836 (diff) |
Swap P0 and P1 colors
-rwxr-xr-x | jira2gv | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -168,15 +168,15 @@ sub createGvItem my $priority = $item_ref->{'priority'}->{'content'}; my $color; switch ($priority) { - case /^P0/ { $color = "red" } - case /^P1/ { $color = "firebrick" } + case /^P0/ { $color = "firebrick" } + case /^P1/ { $color = "red" } case /^P2/ { $color = "gold" } case /^P3/ { $color = "forestgreen" } case /^Not/ { $color = "lightgrey" } else { $color = "steelblue" } } - $result .= "\"$id\" [shape=none,margin=0,color=$color," + $result .= "\"$id\" [shape=none,margin=0,color=\"$color\"," . "label=<<TABLE ALIGN=\"LEFT\" BORDER=\"1\" CELLBORDER=\"0\" COLOR=\"black\">" . "<TR><TD ALIGN=\"LEFT\"><B>$id</B></TD><TD ALIGN=\"CENTER\"><B>" . $priority . "</B></TD><TD ALIGN=\"RIGHT\">" |