diff --git a/module/my/view/m.story.html.php b/module/my/view/m.story.html.php index f4fa5b1756..290fc77e51 100755 --- a/module/my/view/m.story.html.php +++ b/module/my/view/m.story.html.php @@ -22,7 +22,7 @@
diff --git a/module/story/js/m.close.js b/module/story/js/m.close.js new file mode 100755 index 0000000000..73b0e1988a --- /dev/null +++ b/module/story/js/m.close.js @@ -0,0 +1,18 @@ +function setStory(reason) +{ + if(reason == 'duplicate') + { + $('#duplicateStoryBox').show(); + $('#childStoriesBox').hide(); + } + else if(reason == 'subdivided') + { + $('#duplicateStoryBox').hide(); + $('#childStoriesBox').show(); + } + else + { + $('#duplicateStoryBox').hide(); + $('#childStoriesBox').hide(); + } +} diff --git a/module/story/js/m.review.js b/module/story/js/m.review.js new file mode 100755 index 0000000000..04776e8422 --- /dev/null +++ b/module/story/js/m.review.js @@ -0,0 +1,45 @@ +function switchShow(result) +{ + if(result == 'reject') + { + $('#rejectedReasonBox').show(); + $('#preVersionBox').hide(); + $('#assignedTo').val('closed'); + } + else if(result == 'revert') + { + $('#preVersionBox').show(); + $('#rejectedReasonBox').hide(); + $('#duplicateStoryBox').hide(); + $('#childStoriesBox').hide(); + $('#assignedTo').val(assignedTo); + } + else + { + $('#preVersionBox').hide(); + $('#rejectedReasonBox').hide(); + $('#duplicateStoryBox').hide(); + $('#childStoriesBox').hide(); + $('#rejectedReasonBox').hide(); + $('#assignedTo').val(assignedTo); + } +} + +function setStory(reason) +{ + if(reason == 'duplicate') + { + $('#duplicateStoryBox').show(); + $('#childStoriesBox').hide(); + } + else if(reason == 'subdivided') + { + $('#duplicateStoryBox').hide(); + $('#childStoriesBox').show(); + } + else + { + $('#duplicateStoryBox').hide(); + $('#childStoriesBox').hide(); + } +} diff --git a/module/story/view/m.activate.html.php b/module/story/view/m.activate.html.php new file mode 100755 index 0000000000..f0d2d03ec0 --- /dev/null +++ b/module/story/view/m.activate.html.php @@ -0,0 +1,26 @@ + + * @package story + * @version $Id: activate.html.php 4129 2013-01-18 01:58:14Z wwccss $ + * @link http://www.zentao.net + */ +?> + + +
+ diff --git a/module/story/view/m.close.html.php b/module/story/view/m.close.html.php new file mode 100755 index 0000000000..cf1f489e17 --- /dev/null +++ b/module/story/view/m.close.html.php @@ -0,0 +1,34 @@ + + * @package story + * @version $Id: close.html.php 4129 2013-01-18 01:58:14Z wwccss $ + * @link http://www.zentao.net + */ +?> + + + + diff --git a/module/story/view/m.review.html.php b/module/story/view/m.review.html.php new file mode 100755 index 0000000000..96993d0342 --- /dev/null +++ b/module/story/view/m.review.html.php @@ -0,0 +1,50 @@ + + * @package story + * @version $Id: review.html.php 4129 2013-01-18 01:58:14Z wwccss $ + * @link http://www.zentao.net + */ +?> + + +| + STORY #id . "=>$story->assignedTo " . html::a(common::getSysURL() . $this->createLink('story', 'view', "storyID=$story->id"), $story->title);?> + | +
| + + | +
| + |
story->spec?>
+ spec?> +story->verify?>
+ verify?> +