Skip to content

Commit 74cc5d9

Browse files
committed
Fixed static test.
1 parent 02df879 commit 74cc5d9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ReCaptchaAdminUi/Block/Adminhtml/System/Config/Form/Field/Notice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class Notice extends Field
2525
*/
2626
public function render(AbstractElement $element)
2727
{
28-
$html = '<td colspan="4"><p>' . '<strong>' . __('Important:') . ' ' . '</strong>'
29-
. ' <span>' . __('Please note, for reCAPTCHA to be enabled,
28+
$html = '<td colspan="4"><p class="' . $element->getId() . '_notice">' . '<strong>' . __('Important:')
29+
. ' ' . '</strong>' . ' <span>' . __('Please note, for reCAPTCHA to be enabled,
3030
the valid "Google API Website Key" and "Google API Secret Key" fields are required.') . '</span>' . '</p></td>';
3131

3232
return $this->_decorateRowHtml($element, $html);

ReCaptchaAdminUi/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"require": {
55
"php": "~7.1.3||~7.2.0||~7.3.0",
66
"magento/framework": "*",
7+
"magento/module-config": "*",
78
"magento/module-re-captcha-ui": "*"
89
},
910
"type": "magento2-module",

ReCaptchaAdminUi/view/adminhtml/web/css/source/_module.less

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5-
#recaptcha_frontend_type_for,
6-
#recaptcha_backend_type_for
7-
{
5+
.recaptcha_frontend_type_for_recaptcha_backend_info_heading_notice,
6+
.recaptcha_frontend_type_for_recaptcha_frontend_info_heading_notice {
87
strong {
98
color: @grid-severity-critical-color;
109
}

0 commit comments

Comments
 (0)