<?php
/**
 * Paywall Empty State Partial
 *
 * Displays message when no payment options are available.
 *
 * @package PostGate
 * @subpackage Templates/Parts
 * @since 1.0.1
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div class="postgate-notice postgate-small">
	<?php esc_html_e( 'No payment options are currently available for this content.', 'postgate' ); ?>
	<?php if ( current_user_can( 'manage_options' ) ) : ?>
		<br>
		<strong><?php esc_html_e( 'Administrators:', 'postgate' ); ?></strong>
		<?php esc_html_e( 'To fix this, connect your Stripe account and sync your products in', 'postgate' ); ?>
		<a href="<?php echo esc_url( admin_url( 'admin.php?page=postgate-settings#payments' ) ); ?>">
			<?php esc_html_e( 'PostGate Settings → Payment', 'postgate' ); ?>
		</a>.
	<?php endif; ?>
</div>