<?php 
/*
 * Notification about user must complete all fields in his profile
 *
 * @package DateBook
 * @author Pagick Themes
 * @link https://www.pagickthemes.com
 */

$class = isset($class) ? $class : '';

?>

<div class="datebook-custom-card card <?php echo esc_attr($class); ?>">
	<div class="alert alert-warning alert-dismissable m-0 datebook-must-complete-profile-notification">

		<h4 class="alert-heading"><?php echo esc_html__( 'Complete your profile!', 'datebook' ); ?></h4>

		<?php echo esc_html__( 'You must fill in all required fields before using this website', 'datebook' ); ?><?php if(get_the_ID() != of_get_option('my_edit_profile_page')){ ?> <a class="btn btn-secondary btn-sm" href="<?php echo get_permalink(of_get_option('my_edit_profile_page')); ?>"><?php echo esc_html__( 'Complete profile', 'datebook' ); ?></a><?php } ?>

	</div>
</div>