<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
 * Provides the admin area view for the activation error notice.
 *
 * This file is used to markup the admin-facing aspects of the plugin.
 *
 * @link       https://trynbuy.edubrazeal.com/
 * @since      1.3.1
 *
 * @package    Ai_Try_N_Buy
 * @subpackage Ai_Try_N_Buy/admin/views
 */

// This variable is made available by the calling function in class-activator.php.
// $notice_issues (now an array of strings)

?>
<div class="notice notice-error is-dismissible">
	<p><strong><?php esc_html_e( 'AI Try n Buy Activation Issues:', 'virtual-ai-fit-and-style-assistant' ); ?></strong></p>
	<ul>
		<?php foreach ( $notice_issues as $issue ) : ?>
			<li><?php echo esc_html( $issue ); ?></li>
		<?php endforeach; ?>
	</ul>
	<p><?php esc_html_e( 'Please deactivate and reactivate the plugin. If the problem persists, check your error logs or contact support.', 'virtual-ai-fit-and-style-assistant' ); ?></p>
</div>