File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
src/dashboard/components/response-view
plugins/jetpack/changelog Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1+ Significance: minor
2+ Type: added
3+
4+ Forms: link IP to lookup service
Original file line number Diff line number Diff line change 11/**
22 * External dependencies
33 */
4+ import { getRedirectUrl } from '@automattic/jetpack-components' ;
45import apiFetch from '@wordpress/api-fetch' ;
56import {
67 Button ,
@@ -475,7 +476,13 @@ const ResponseViewBody = ( {
475476 < span className = "jp-forms__inbox-response-meta-key " >
476477 { __ ( 'IP address:' , 'jetpack-forms' ) }
477478 </ span >
478- < span className = "jp-forms__inbox-response-meta-value" > { response . ip } </ span >
479+ < span className = "jp-forms__inbox-response-meta-value" >
480+ < Tooltip text = { __ ( 'Lookup IP address' , 'jetpack-forms' ) } >
481+ < ExternalLink href = { getRedirectUrl ( 'ip-lookup' , { path : response . ip } ) } >
482+ { response . ip }
483+ </ ExternalLink >
484+ </ Tooltip >
485+ </ span >
479486 </ div >
480487 </ div >
481488
Original file line number Diff line number Diff line change 1+ Significance: minor
2+ Type: enhancement
3+
4+ Forms: link IP to lookup service
You can’t perform that action at this time.
0 commit comments