From 5fd33c745602d89f4d9a79fa9a9ff27f7f2c68c2 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Wed, 21 Sep 2011 01:45:22 +0000 Subject: [PATCH] * adjust the bug css style. --- module/bug/css/browse.css | 4 ++-- module/bug/view/browse.html.php | 25 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/module/bug/css/browse.css b/module/bug/css/browse.css index d15b1bfb40..58959a72e1 100644 --- a/module/bug/css/browse.css +++ b/module/bug/css/browse.css @@ -1,5 +1,5 @@ -.closed {background:#fff;} -.closed a {text-decoration:none} +.closed {background:#efefef; text-decoration:line-through;} +.closed a {text-decoration:none;} .resolved {background:#8EC21F;} .active1 {background:#E70014;} .active2 {background:#EA5407;} diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 0c58d569ed..ee3eea301d 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -109,7 +109,30 @@ var customed = ; - show();?> + + + +
+ bug->statusList as $status => $label) + { + if($status != 'active') + { + echo " $label "; + continue; + } + rsort($this->lang->bug->severityList); + foreach($this->lang->bug->severityList as $severity) + { + echo " {$lang->bug->severity}:$severity "; + } + } + ?> +
+
show();?>
+ + +