From 9e4a7f53168567afea14ba6af8c9b8d45c6bb856 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Tue, 22 Nov 2016 15:28:05 +0800 Subject: [PATCH 1/3] * finish task #2716. --- module/company/css/dynamic.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/company/css/dynamic.css b/module/company/css/dynamic.css index e2f2ec0377..6d32094c66 100644 --- a/module/company/css/dynamic.css +++ b/module/company/css/dynamic.css @@ -3,3 +3,5 @@ #featurebar ul.nav > li .chosen-container a.chosen-single div{top:-8px;} #featurebar ul.nav > li.active .chosen-container a.chosen-single{font-weight:bold} #featurebar ul.nav > li .chosen-container .chosen-drop {min-width: 300px;!important} +#featurebar .nav > li > .chosen-container-single{top:-1px!important} +.chosen-container-single .chosen-single div{padding: 6px 22px!important} From c6d79ccd4b5ebaacdbb1dcdac312091549942549 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 22 Nov 2016 15:56:30 +0800 Subject: [PATCH 2/3] * finish task #2753 and code task #2719. --- module/mail/lang/en.php | 8 ++++++-- module/mail/lang/zh-cn.php | 4 ++++ module/mail/view/edit.html.php | 20 +++++++++++--------- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/module/mail/lang/en.php b/module/mail/lang/en.php index 2508e0daaa..3ca09b5210 100755 --- a/module/mail/lang/en.php +++ b/module/mail/lang/en.php @@ -80,5 +80,9 @@ $lang->mail->sendCloudHelp = <<2、accessKey和secretKey可以到登陆后的"设置"页面查看。Email人地址和名称也在"设置"页面设置。

3、Email时,Notice SendCloudContact里面的昵称要跟Email一致,否则无法成功Email。可以到[同步Contact]页面,将ZenTaoUser同步到SendCloudContact中

EOD; -$lang->mail->sendCloudSuccess = '操作成功'; -$lang->mail->closeSendCloud = '关闭发送'; +$lang->mail->sendCloudSuccess = 'Success'; +$lang->mail->closeSendCloud = 'Close sendcloud'; +$lang->mail->addressWhiteList = 'Please add the email to the whilte list on email server to avoid be treated as spam'; + +$lang->mail->placeholder = new stdclass(); +$lang->mail->placeholder->password = 'Some mail needs to fill in the auth code, specific to the mailbox related settings query.'; diff --git a/module/mail/lang/zh-cn.php b/module/mail/lang/zh-cn.php index 81ba400aba..00b08f6769 100755 --- a/module/mail/lang/zh-cn.php +++ b/module/mail/lang/zh-cn.php @@ -82,3 +82,7 @@ $lang->mail->sendCloudHelp = <<mail->sendCloudSuccess = '操作成功'; $lang->mail->closeSendCloud = '关闭SendCloud'; +$lang->mail->addressWhiteList = '为防止邮件被屏蔽,请在邮件服务器里面将发信邮箱设为白名单'; + +$lang->mail->placeholder = new stdclass(); +$lang->mail->placeholder->password = '有些邮箱需要填写单独申请的授权码,具体请到邮箱相关设置查询。'; diff --git a/module/mail/view/edit.html.php b/module/mail/view/edit.html.php index 18e3248bde..2fccaa63df 100755 --- a/module/mail/view/edit.html.php +++ b/module/mail/view/edit.html.php @@ -11,7 +11,7 @@ */ include '../../common/view/header.html.php'; ?> -
+
icons['mail']);?> @@ -22,8 +22,9 @@ include '../../common/view/header.html.php';
' id='dataform'> - - + + + global->cron)):?> @@ -34,33 +35,34 @@ include '../../common/view/header.html.php'; + - - + - + - + - + - + From 176eb15d75aeb2e39f4f63925327c8e327b4bcf7 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Tue, 22 Nov 2016 16:06:44 +0800 Subject: [PATCH 3/3] * close modal when create a testcase from story view. --- module/story/view/view.html.php | 4 ++-- module/testcase/control.php | 9 +++++++++ module/testcase/js/create.js | 23 +++++++++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php index c9bd8578fa..b05d48c873 100644 --- a/module/story/view/view.html.php +++ b/module/story/view/view.html.php @@ -53,8 +53,8 @@ echo ""; echo ""; echo "
mail->turnon; ?>mail->turnonList, 1);?>mail->turnon; ?>mail->turnonList, 1);?>
mail->fromAddress; ?> fromAddress, "class='form-control'");?>mail->addressWhiteList?>
mail->fromName; ?> +
fromName, "class='form-control'");?>
mail->host; ?>host, "class='form-control'");?>host, "class='form-control'");?>
mail->port; ?>port, "class='form-control'");?>port, "class='form-control'");?>
mail->auth; ?>mail->authList, $mailConfig->auth, 'onchange=setAuth(this.value)'); ?>mail->authList, $mailConfig->auth, 'onchange=setAuth(this.value)'); ?>
mail->username; ?>username, "class='form-control'") ?>username, "class='form-control' autocomplete='off'") ?>
mail->password; ?>password, 'class="form-control" autocomplete="off"') ?>password, "class='form-control' autocomplete='off' placeholder='{$lang->mail->placeholder->password}'") ?>
mail->secure; ?>