<!-- ** START template/system/get_notification_html.html ************************************************************************************ -->
	<div style="min-width:100%; border-style: dotted; border-width:1px; border-color:red;background-color:#ffffe6;">
		<div style="pointer-events: none; position:relative; top:-15px; width:30px; height:30px; background-repeat: no-repeat; display: block; margin-left: auto; margin-right: auto;">
			<img src="/system/images/notification_info_big.svg" >
		</div>
		<div style="display:table; padding: 5px;">
			<TMPL_VAR NOTIFICATIONS>
		</div>
	</div>
	<div style="height:40px"></div>
<script>
$(document).on('pagecreate',function() {
	$(".notifdelete").click(function() {
		var delid = $(this).attr('data-delid');
		var delid_encoded = delid.replace(".", "\\.");
		console.log("Delete key", delid);
		$("#notifyrow"+delid_encoded).fadeOut();
		$.post ( '/admin/system/tools/ajax-config-handler.cgi', 
						{ 	action: 'notify-deletekey',
							value: delid,
						});
	});

});

</script>

<!-- ** END template/system/get_notification_html.html ************************************************************************************ -->

<!-- ** START template/system/get_notification_html.html ************************************************************************************ -->
		<div id="notify_block" style="min-width:100%; border-style: dotted; border-width:1px; border-color:red;background-color:#ffffe6;">
		<div style="pointer-events: none; position:relative; top:-15px; width:30px; height:30px; background-repeat: no-repeat; display: block; margin-left: auto; margin-right: auto;">
			<img src="/system/images/notification_info_big.svg" >
		</div>
		<div style="display:table; padding: 5px;">
			<TMPL_VAR NOTIFICATIONS>
		</div>
	</div>
	<div style="height:40px"></div>
<script>
$(document).on('pagecreate',function() {
	$(".notifdelete").click(function() {
		var delid = $(this).attr('data-delid');
		var delid_encoded = delid.replace(".", "\\.");
		console.log("Delete key", delid);
		if ( $(".notifyrow:visible").length <= 1 ) { $("#notify_block").fadeOut();}
		$("#notifyrow"+delid_encoded).fadeOut();
	$.post ( '/admin/system/tools/ajax-config-handler.cgi', 
					{ 	action: 'notify-deletekey',
						value: delid,
					});
	});

});

</script>

<!-- ** END template/system/get_notification_html.html ************************************************************************************ -->

Hide notification block if no more notifications are left
Hide notification block if no more notifications are left
