From 4fe8e9333d1e807d15fec17b0218417b1630d39a Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Mon, 3 Sep 2012 02:56:32 +0000 Subject: [PATCH] * code for task#889. --- module/story/config.php | 3 ++- module/story/css/change.css | 2 ++ module/story/view/affected.html.php | 37 +++++++++++++++-------------- 3 files changed, 23 insertions(+), 19 deletions(-) create mode 100644 module/story/css/change.css diff --git a/module/story/config.php b/module/story/config.php index bc1aea7c87..8ea478d95a 100644 --- a/module/story/config.php +++ b/module/story/config.php @@ -1,5 +1,6 @@ story->batchCreate = 10; +$config->story->batchCreate = 10; +$config->story->affectedFixedNum = 7; $config->story->create->requiredFields = 'title'; $config->story->edit->requiredFields = 'title'; $config->story->change->requiredFields = 'title'; diff --git a/module/story/css/change.css b/module/story/css/change.css new file mode 100644 index 0000000000..9e90cd2d63 --- /dev/null +++ b/module/story/css/change.css @@ -0,0 +1,2 @@ +.headerTable {border-bottom:none; margin-bottom:0px} +.contentTable {border-top:none} diff --git a/module/story/view/affected.html.php b/module/story/view/affected.html.php index a8c22fa3f9..66af39cae4 100644 --- a/module/story/view/affected.html.php +++ b/module/story/view/affected.html.php @@ -1,7 +1,6 @@
- projects as $projectID => $project):?> @@ -18,7 +17,7 @@
story->affectedProjects;?>
$project->name
"; ?>
tasks[$projectID])):?> -
+
tasks[$projectID] as $task):?> @@ -38,22 +37,23 @@
+
- +
- - - - - - - - - + + + + + + + + +
story->affectedBugs;?>
bug->id;?>bug->title;?>bug->status;?>bug->openedBy;?>bug->resolvedBy;?>bug->resolution;?>bug->lastEditedBy;?>
bug->id;?>bug->title;?>bug->status;?>bug->openedBy;?>bug->resolvedBy;?>bug->resolution;?>bug->lastEditedBy;?>
-
- - bugs as $bug):?> +
+
+ bugs as $bug):?> @@ -67,8 +67,9 @@
id;?> createLink('bug', 'view', "bugID=$bug->id"), $bug->title, '_blank');?>
+
- +
@@ -78,8 +79,8 @@
story->affectedCases;?>
testcase->id;?>testcase->lastEditedBy;?>
-
- +
+
cases as $case):?>
id;?>