Subversion Repositories SmartDukaan

Rev

Rev 14579 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14579 Rev 14849
Line 5... Line 5...
5
		</div>
5
		</div>
6
		<div class="col-lg-9">
6
		<div class="col-lg-9">
7
			<h2><?php echo __('Notification Rules'); ?></h2>
7
			<h2><?php echo __('Notification Rules'); ?></h2>
8
			<table class="table table-striped">
8
			<table class="table table-striped">
9
			<tr>
9
			<tr>
10
					<th><?php echo $this->Paginator->sort('id'); ?></th>
10
					<!-- <th><?php echo $this->Paginator->sort('id'); ?></th> -->
11
					<th><?php echo $this->Paginator->sort('name'); ?></th>
11
					<th><?php echo $this->Paginator->sort('name'); ?></th>
12
					<th><?php echo $this->Paginator->sort('sql'); ?></th>
12
					<th><?php echo $this->Paginator->sort('sql'); ?></th>
13
					<th><?php echo $this->Paginator->sort('message'); ?></th>
13
					<th><?php echo $this->Paginator->sort('message'); ?></th>
14
					<th><?php echo $this->Paginator->sort('url'); ?></th>						
14
					<th><?php echo $this->Paginator->sort('url'); ?></th>					
15
					<th><?php echo $this->Paginator->sort('starttime'); ?></th>
15
					<th><?php echo $this->Paginator->sort('starttime'); ?></th>
16
					<th><?php echo $this->Paginator->sort('endtime'); ?></th>
16
					<th><?php echo $this->Paginator->sort('endtime'); ?></th>
17
					<th><?php echo $this->Paginator->sort('status'); ?></th>
17
					<th><?php echo $this->Paginator->sort('status'); ?></th>
18
					<!-- <th><?php //echo $this->Paginator->sort('created'); ?></th> -->
18
					<th><?php echo $this->Paginator->sort('popup_display_count'); ?></th>
19
					<!-- <th><?php //echo $this->Paginator->sort('modified'); ?></th> -->
19
					<th><?php echo $this->Paginator->sort('popup_display_interval'); ?></th>
20
					<th class="actions"><?php echo __('Actions'); ?></th>
20
					<th class="actions"><?php echo __('Actions'); ?></th>
21
			</tr>
21
			</tr>
22
			<?php foreach ($notificationRules as $notificationRule): ?>
22
			<?php foreach ($notificationRules as $notificationRule): ?>
23
			<tr>
23
			<tr>
24
				<td><?php echo h($notificationRule['NotificationRule']['id']); ?>&nbsp;</td>
24
				<!-- <td><?php echo h($notificationRule['NotificationRule']['id']); ?>&nbsp;</td> -->
25
				<td><?php echo h($notificationRule['NotificationRule']['name']); ?>&nbsp;</td>
25
				<td><?php echo h($notificationRule['NotificationRule']['name']); ?>&nbsp;</td>
26
				<td><?php echo h($notificationRule['NotificationRule']['sql']); ?>&nbsp;</td>
26
				<td><?php echo h($notificationRule['NotificationRule']['sql']); ?>&nbsp;</td>
27
				<td><?php echo h($notificationRule['NotificationRule']['message']); ?>&nbsp;</td>
27
				<td><?php echo h($notificationRule['NotificationRule']['message']); ?>&nbsp;</td>
28
				<td><?php echo h($notificationRule['NotificationRule']['url']); ?>&nbsp;</td>		
28
				<td><?php echo h($notificationRule['NotificationRule']['url']); ?>&nbsp;</td>		
29
				<td><?php echo h($notificationRule['NotificationRule']['starttime']); ?>&nbsp;</td>
29
				<td><?php echo h($notificationRule['NotificationRule']['starttime']); ?>&nbsp;</td>
30
				<td><?php echo h($notificationRule['NotificationRule']['endtime']); ?>&nbsp;</td>
30
				<td><?php echo h($notificationRule['NotificationRule']['endtime']); ?>&nbsp;</td>
31
				<td><?php echo h($notificationRule['NotificationRule']['status']); ?>&nbsp;</td>
31
				<td><?php echo h($notificationRule['NotificationRule']['status']); ?>&nbsp;</td>
32
				<!-- <td><?php //echo h($notificationRule['NotificationRule']['created']); ?>&nbsp;</td> -->
32
				<td><?php echo $notificationRule['NotificationRule']['popup_display_count']; ?></td>
33
				<!-- <td><?php //echo h($notificationRule['NotificationRule']['modified']); ?>&nbsp;</td> -->
33
				<td><?php echo $notificationRule['NotificationRule']['popup_display_interval']; ?></td>
34
				<td class="actions">
34
				<td class="actions">
35
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationRule['NotificationRule']['id'])); ?>
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'])); ?>
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'])); ?>
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>
38
				</td>