From 70653a09a0042aed0d25f90bc08aa1553c2d690a Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 8 Aug 2018 13:41:25 +0800 Subject: [PATCH] * finish task #4673. --- module/bug/css/create.css | 3 ++- module/bug/view/buildtemplates.html.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/module/bug/css/create.css b/module/bug/css/create.css index 7fd02ad409..7a8b86f798 100644 --- a/module/bug/css/create.css +++ b/module/bug/css/create.css @@ -11,7 +11,8 @@ #tplBoxWrapper > .btn-toolbar {position: absolute; right: 0px; top: 0px;} #tplBoxWrapper .btn {padding: 4px 8px} #tplBox li {position: relative;} -#tplBox li .btn-delete {position: absolute; right: 0; top: 0; display: block; width: 40px; text-align:center;} +#tplBox li .btn-delete {position: absolute; right: 0; top: -5px; display: block; width: 40px; text-align:center;} +#tplBox li:hover .btn-delete {color:#fff;} #tplBox li .tpl-name {padding-right: 40px;} #module_chosen.chosen-container .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important} diff --git a/module/bug/view/buildtemplates.html.php b/module/bug/view/buildtemplates.html.php index 9a8f4b9271..ad5e38817f 100644 --- a/module/bug/view/buildtemplates.html.php +++ b/module/bug/view/buildtemplates.html.php @@ -5,7 +5,7 @@ foreach($templates as $key => $template) echo ""; if($template->public) echo "{$lang->public} "; echo $template->title . ""; - if(empty($template->public) or $template->account == $app->user->account)echo ""; + if(empty($template->public) or $template->account == $app->user->account)echo ""; echo ""; echo ''; }