<?php echo $this->partial('Layout/nav'); ?>

<div class="container-fluid">
	<div class="container-page-wrapper">
		<div class="container-page-container">
			<div class="row">
				<div class="col-lg-6">
					<h1><?php echo $this->actionTitle; ?></h1>
					<div><a href="<?php echo $this->helper->setHash('notification-tracker/'.time().'/email/1'); ?>" class="badge <?php echo $this->view->notifType == 'email' ? 'badge-primary' : 'badge-light'; ?>">E-mail</a> | <a href="<?php echo $this->helper->setHash('notification-tracker/'.time().'/sms/1'); ?>" class="badge <?php echo $this->view->notifType == 'sms' ? 'badge-primary' : 'badge-light'; ?>">SMS</a></div>
				</div>
				<div class="col-lg-6 clearfix">
					<div class="float-right">
						<button type="button" class="btn btn-info btn-refresh-list"><span class="icon-loop2"></span></button>
					</div>
				</div>
			</div>
			<hr>
			<?php //debug($this->view->queryDebug); ?>
			
			<?php if(is_array($this->view->trackers) && !empty($this->view->trackers)): ?>
				<div class="table-overflow">
					<?php echo $this->partial('Notification/'.$this->view->notifType); ?>
				</div>
				<?php echo $this->partial('Layout/pagination'); ?>
			<?php else: ?>
			<?php endif; ?>
		</div>
	</div>
</div>