Rev 14849 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="container"><div class="row"><div class="col-lg-3"><?php echo $this->Element('adminactions');?></div><div class="col-lg-9"><h2><?php echo __('Notification Rules'); ?></h2><table class="table table-striped"><tr><!-- <th><?php echo $this->Paginator->sort('id'); ?></th> --><th><?php echo $this->Paginator->sort('name'); ?></th><th><?php echo $this->Paginator->sort('sql'); ?></th><th><?php echo $this->Paginator->sort('message'); ?></th><th><?php echo $this->Paginator->sort('url'); ?></th><th><?php echo $this->Paginator->sort('starttime'); ?></th><th><?php echo $this->Paginator->sort('endtime'); ?></th><th><?php echo $this->Paginator->sort('status'); ?></th><th><?php echo $this->Paginator->sort('popup_display_count'); ?></th><th><?php echo $this->Paginator->sort('popup_display_interval'); ?></th><th><?php echo $this->Paginator->sort('popup_type'); ?></th><th class="actions"><?php echo __('Actions'); ?></th></tr><?php foreach ($notificationRules as $notificationRule): ?><tr><!-- <td><?php echo h($notificationRule['NotificationRule']['id']); ?> </td> --><td><?php echo h($notificationRule['NotificationRule']['name']); ?> </td><td><?php echo h($notificationRule['NotificationRule']['sql']); ?> </td><td><?php echo h($notificationRule['NotificationRule']['message']); ?> </td><td><?php echo h($notificationRule['NotificationRule']['url']); ?> </td><td><?php echo h($notificationRule['NotificationRule']['starttime']); ?> </td><td><?php echo h($notificationRule['NotificationRule']['endtime']); ?> </td><td><?php echo h($notificationRule['NotificationRule']['status']); ?> </td><td><?php echo $notificationRule['NotificationRule']['popup_display_count']; ?></td><td><?php echo $notificationRule['NotificationRule']['popup_display_interval']; ?></td><td><?php echo $notificationRule['NotificationRule']['popup_type']; ?></td><td class="actions"><?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationRule['NotificationRule']['id'])); ?><?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $notificationRule['NotificationRule']['id'])); ?><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $notificationRule['NotificationRule']['id']), null, __('Are you sure you want to delete # %s?', $notificationRule['NotificationRule']['id'])); ?></td></tr><?php endforeach; ?></table><p><?phpecho $this->Paginator->counter(array('format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')));?> </p><div class="paging"><?phpecho $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));echo $this->Paginator->numbers(array('separator' => ''));echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));?></div></div></div></div>