File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Block/Adminhtml/System/Config/Form/Field
view/adminhtml/web/css/source Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ class Notice extends Field
25
25
*/
26
26
public function render (AbstractElement $ element )
27
27
{
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,
30
30
the valid "Google API Website Key" and "Google API Secret Key" fields are required. ' ) . '</span> ' . '</p></td> ' ;
31
31
32
32
return $ this ->_decorateRowHtml ($ element , $ html );
Original file line number Diff line number Diff line change 4
4
"require" : {
5
5
"php" : " ~7.1.3||~7.2.0||~7.3.0" ,
6
6
"magento/framework" : " *" ,
7
+ "magento/module-config" : " *" ,
7
8
"magento/module-re-captcha-ui" : " *"
8
9
},
9
10
"type" : " magento2-module" ,
Original file line number Diff line number Diff line change 2
2
* Copyright © Magento, Inc. All rights reserved.
3
3
* See COPYING.txt for license details.
4
4
*/
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 {
8
7
strong {
9
8
color : @grid-severity-critical-color ;
10
9
}
You can’t perform that action at this time.
0 commit comments