diff --git a/module/bug/view/x.create.html.php b/module/bug/view/x.create.html.php index cb42c53451..9cbbb325ab 100644 --- a/module/bug/view/x.create.html.php +++ b/module/bug/view/x.create.html.php @@ -185,7 +185,7 @@ body{padding-bottom:0px} ?> - + >
bug->keywords;?> diff --git a/module/bug/view/x.view.html.php b/module/bug/view/x.view.html.php new file mode 100644 index 0000000000..43313231e4 --- /dev/null +++ b/module/bug/view/x.view.html.php @@ -0,0 +1,68 @@ + + * @package bug + * @version $Id: view.html.php 4728 2013-05-03 06:14:34Z chencongzhi520@gmail.com $ + * @link http://www.zentao.net + */ +?> + + + +
+
+
+ id;?> title;?> +
+
+
+
+
bug->legendSteps;?>
+
+ bug->tplStep)); + $steps = str_replace('

' . $tplStep, '

' . $tplStep . '

', $bug->steps); + + $tplResult = strip_tags(trim($lang->bug->tplResult)); + $steps = str_replace('

' . $tplResult, '

' . $tplResult . '

', $steps); + + $tplExpect = strip_tags(trim($lang->bug->tplExpect)); + $steps = str_replace('

' . $tplExpect, '

' . $tplExpect . '

', $steps); + + $steps = str_replace('

', '', $steps); + echo $steps; + ?> +
+
+ fetch('file', 'printFiles', array('files' => $bug->files, 'fieldset' => 'true'));?> + createLink('action', 'comment', "objectType=bug&objectID=$bug->id");?> + +
+ id"; + $copyParams = "productID=$productID&branch=$bug->branch&extras=bugID=$bug->id"; + $convertParams = "productID=$productID&branch=$bug->branch&moduleID=0&from=bug&bugID=$bug->id"; + ?> +
+
+
+
+id"; +echo "
"; +common::printIcon('bug', 'confirmBug', $params, $bug, 'button', 'confirm', '', 'iframe', true, "data-width='90%'"); +common::printIcon('bug', 'assignTo', $params, $bug, 'button', '', '', 'iframe', true, "data-width='90%'"); +common::printIcon('bug', 'resolve', $params, $bug, 'button', 'checked', '', 'iframe showinonlybody', true, "data-width='90%'"); +common::printIcon('bug', 'activate', $params, $bug, 'button', '', '', 'text-success iframe showinonlybody', true, "data-width='90%'"); +common::printIcon('bug', 'edit', $params, $bug, 'button', '', '', 'iframe showinonlybody', true, "data-width='90%'"); +common::printIcon('bug', 'close', $params, $bug, 'button', '', '', 'text-danger iframe showinonlybody', true, "data-width='90%'"); +echo "
"; +?> +
+ diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 39d8931ad3..550a362c92 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -15,3 +15,6 @@ /* Finish task #5068*/ .main-table .table{cursor:pointer;} + +.xuancard-actions{width: 100%;text-align: center; padding: 10px 0;} +.xuancard-actions.fixed{position: fixed; background: #fff; border-top: 1px solid #ddd; bottom: 0; margin-bottom: 0; z-index: 999; box-shadow: 0 -2px 10px rgba(0,0,0,0.15);}