Subversion Repositories SmartDukaan

Rev

Rev 14849 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14579 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
5
		</div>
6
		<div class="col-lg-9">
7
			<h2><?php echo __('Notification Rules'); ?></h2>
8
			<table class="table table-striped">
9
			<tr>
10
					<th><?php echo $this->Paginator->sort('id'); ?></th>
11
					<th><?php echo $this->Paginator->sort('name'); ?></th>
12
					<th><?php echo $this->Paginator->sort('sql'); ?></th>
13
					<th><?php echo $this->Paginator->sort('message'); ?></th>
14
					<th><?php echo $this->Paginator->sort('url'); ?></th>						
15
					<th><?php echo $this->Paginator->sort('starttime'); ?></th>
16
					<th><?php echo $this->Paginator->sort('endtime'); ?></th>
17
					<th><?php echo $this->Paginator->sort('status'); ?></th>
18
					<!-- <th><?php //echo $this->Paginator->sort('created'); ?></th> -->
19
					<!-- <th><?php //echo $this->Paginator->sort('modified'); ?></th> -->
20
					<th class="actions"><?php echo __('Actions'); ?></th>
21
			</tr>
22
			<?php foreach ($notificationRules as $notificationRule): ?>
23
			<tr>
24
				<td><?php echo h($notificationRule['NotificationRule']['id']); ?>&nbsp;</td>
25
				<td><?php echo h($notificationRule['NotificationRule']['name']); ?>&nbsp;</td>
26
				<td><?php echo h($notificationRule['NotificationRule']['sql']); ?>&nbsp;</td>
27
				<td><?php echo h($notificationRule['NotificationRule']['message']); ?>&nbsp;</td>
28
				<td><?php echo h($notificationRule['NotificationRule']['url']); ?>&nbsp;</td>		
29
				<td><?php echo h($notificationRule['NotificationRule']['starttime']); ?>&nbsp;</td>
30
				<td><?php echo h($notificationRule['NotificationRule']['endtime']); ?>&nbsp;</td>
31
				<td><?php echo h($notificationRule['NotificationRule']['status']); ?>&nbsp;</td>
32
				<!-- <td><?php //echo h($notificationRule['NotificationRule']['created']); ?>&nbsp;</td> -->
33
				<!-- <td><?php //echo h($notificationRule['NotificationRule']['modified']); ?>&nbsp;</td> -->
34
				<td class="actions">
35
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationRule['NotificationRule']['id'])); ?>
36
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $notificationRule['NotificationRule']['id'])); ?>
37
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $notificationRule['NotificationRule']['id']), null, __('Are you sure you want to delete # %s?', $notificationRule['NotificationRule']['id'])); ?>
38
				</td>
39
			</tr>
40
		<?php endforeach; ?>
41
			</table>
42
			<p>
43
			<?php
44
			echo $this->Paginator->counter(array(
45
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
46
			));
47
			?>	</p>
48
			<div class="paging">
49
			<?php
50
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
51
				echo $this->Paginator->numbers(array('separator' => ''));
52
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
53
			?>
54
			</div>
55
		</div>
56
	</div>
57
</div>