From 75f57adbfbcda112e6225a496eebcba12b30572e Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Tue, 4 Mar 2014 14:58:16 +0800 Subject: [PATCH] * code for task#1786. --- module/tree/css/common.css | 1 + module/tree/view/browse.html.php | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/module/tree/css/common.css b/module/tree/css/common.css index 6d346853e1..92e50ece11 100644 --- a/module/tree/css/common.css +++ b/module/tree/css/common.css @@ -1 +1,2 @@ .parentModule {width:10%; vertical-align:middle;} +.copy {display:block; margin-bottom:5px;} diff --git a/module/tree/view/browse.html.php b/module/tree/view/browse.html.php index bea1bb6831..1b6331bfa2 100644 --- a/module/tree/view/browse.html.php +++ b/module/tree/view/browse.html.php @@ -55,21 +55,23 @@ { if($allProject) { + echo ""; echo html::select('allProject', $allProject, '', 'onchange=syncProductOrProject(this,"project")'); echo html::select('projectModule', $projectModules, ''); echo html::commonButton($lang->tree->syncFromProject, "id='copyModule' onclick='syncModule($currentProject, \"task\")'"); + echo ''; } - echo '
'; } else if($viewType == 'story') { if($allProduct) { + echo ""; echo html::select('allProduct', $allProduct, '', 'onchange=syncProductOrProject(this,"product")'); echo html::select('productModule', $productModules, ''); echo html::commonButton($lang->tree->syncFromProduct, "id='copyModule' onclick='syncModule($currentProduct, \"story\")'"); + echo ''; } - echo '
'; } $maxOrder = 0; echo '
';