From 5af03f4cf675adacdea706ab280a412d2e302bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Thu, 16 Jun 2022 16:52:08 +0800 Subject: [PATCH] * Change product browse order btn. --- module/product/css/all.css | 2 +- module/product/model.php | 1 - module/product/view/all.html.php | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/module/product/css/all.css b/module/product/css/all.css index 81340e23ba..4feaa700c5 100644 --- a/module/product/css/all.css +++ b/module/product/css/all.css @@ -43,7 +43,7 @@ th.c-story {width: 290px;} th.c-bug {width: 200px;} th.c-plan {width: 45px;} th.c-release {width: 50px;} -th.c-actions {width: 60px;} +th.c-actions {width: 50px;} [lang='en'] .en-wrap-text {white-space: normal; height: 24px; line-height: 1; font-size: 12px;} diff --git a/module/product/model.php b/module/product/model.php index 89742f3dd8..4f8f918617 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -2157,7 +2157,6 @@ class productModel extends model $menu .= $this->buildMenu('product', 'edit', $params, $product, $type); if($type == 'view') $menu .= $this->buildMenu('product', 'delete', $params, $product, $type, 'trash', 'hiddenwin'); - if($type == 'browse' && common::hasPriv('product', 'updateOrder')) $menu .= ""; return $menu; } diff --git a/module/product/view/all.html.php b/module/product/view/all.html.php index 3abb912eed..0aef3e4536 100644 --- a/module/product/view/all.html.php +++ b/module/product/view/all.html.php @@ -193,7 +193,7 @@ id => ''));?> - + createLink('product', 'browse', 'productID=' . $product->id), $product->name); echo "" . $productLink; @@ -215,7 +215,7 @@ plans;?> releases;?> " . $this->loadModel('flow')->getFieldValue($extendField, $product) . "";?> - product->buildOperateMenu($product, 'browse');?> + product->buildOperateMenu($product, 'browse');?>