$config Draft (or published) config.
* @param string $jurisdiction Site jurisdiction profile (lower case).
* @return void
*/
private function render_summary( array $config, $jurisdiction ) {
$layout = isset( $config['banner_layout'] ) && isset( self::layout_labels()[ $config['banner_layout'] ] ) ? self::layout_labels()[ $config['banner_layout'] ] : self::layout_labels()['bottom'];
$rows = array(
__( 'Where it applies', 'consiva-ai' ) => self::jurisdiction_text( $jurisdiction ),
__( 'Blocking', 'consiva-ai' ) => self::blocking_text( $config ),
__( 'Banner position', 'consiva-ai' ) => $layout,
__( 'Google tags', 'consiva-ai' ) => InlineBootstrap::gcm_enabled()
? __( 'Google Consent Mode v2 is on: your Google tags are told the visitor\'s choice.', 'consiva-ai' )
: __( 'Google Consent Mode is off. Turn it on below if you use Google Analytics, Google Ads or Tag Manager.', 'consiva-ai' ),
);
?>