<?php
/**
 * @var $icon_message
 * @var $icon_notifications
 */
?>

<div class="user-notification-icons cf">

	<div class="user-notification-icon messages-icon preview-wrapper" data-inverted="" data-tooltip="<?php _e( 'Messages', 'wpjobster' ); ?>" data-position="bottom center">

		<?php if ( $icon_message ) { ?>

			<i class="<?php echo $icon_message; ?> icon"></i>

		<?php } else { ?>

			<img src="<?php echo get_template_directory_uri() . '/assets/images/header/envelope-outlined.svg'; ?>" class="icon icon-img" alt="">

		<?php } ?>

		<a class="user-notification-icon-link" href="<?php echo wpj_get_pm_link(); ?>">

			<div id="unread-message"></div>

		</a>

		<div class="nh-submenu preview-dropdown messages-icon-dropdown messages-icon-count"></div>

	</div>

	<div class="user-notification-icon notifications-icon preview-wrapper" data-inverted="" data-tooltip="<?php _e( 'Notifications', 'wpjobster' ); ?>" data-position="bottom center">

		<?php if ( $icon_notifications ) { ?>

			<i class="<?php echo $icon_notifications; ?> icon"></i>

		<?php } else { ?>

			<img src="<?php echo get_template_directory_uri() . '/assets/images/header/bell-outlined.svg'; ?>" class="icon icon-img" alt="">

		<?php } ?>

		<a class="user-notification-icon-link" href="<?php echo get_permalink( wpj_get_option( 'wpjobster_my_account_all_notifications_page_id' ) ); ?>">

			<div id="unread-notify"></div>

		</a>

		<div class="nh-submenu preview-dropdown notifications-icon-dropdown notifications-icon-count"></div>

	</div>

</div>