Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
14955 manas 1
<div class="notificationCampaigns view">
2
<h2><?php echo __('Notification Campaign'); ?></h2>
3
	<dl>
4
		<dt><?php echo __('Id'); ?></dt>
5
		<dd>
6
			<?php echo h($notificationCampaign['NotificationCampaign']['id']); ?>
7
			&nbsp;
8
		</dd>
9
		<dt><?php echo __('Name'); ?></dt>
10
		<dd>
11
			<?php echo h($notificationCampaign['NotificationCampaign']['name']); ?>
12
			&nbsp;
13
		</dd>
14
		<dt><?php echo __('Title'); ?></dt>
15
		<dd>
16
			<?php echo h($notificationCampaign['NotificationCampaign']['title']); ?>
17
			&nbsp;
18
		</dd>
19
		<dt><?php echo __('Message'); ?></dt>
20
		<dd>
21
			<?php echo h($notificationCampaign['NotificationCampaign']['message']); ?>
22
			&nbsp;
23
		</dd>
24
		<dt><?php echo __('Type'); ?></dt>
25
		<dd>
26
			<?php echo h($notificationCampaign['NotificationCampaign']['type']); ?>
27
			&nbsp;
28
		</dd>
29
		<dt><?php echo __('Url'); ?></dt>
30
		<dd>
31
			<?php echo h($notificationCampaign['NotificationCampaign']['url']); ?>
32
			&nbsp;
33
		</dd>
34
		<dt><?php echo __('Created'); ?></dt>
35
		<dd>
36
			<?php echo h($notificationCampaign['NotificationCampaign']['created']); ?>
37
			&nbsp;
38
		</dd>
39
	</dl>
40
</div>
41
<div class="actions">
42
	<h3><?php echo __('Actions'); ?></h3>
43
	<ul>
44
		<li><?php echo $this->Html->link(__('Edit Notification Campaign'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
45
		<li><?php echo $this->Form->postLink(__('Delete Notification Campaign'), array('action' => 'delete', $notificationCampaign['NotificationCampaign']['id']), null, __('Are you sure you want to delete # %s?', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
46
		<li><?php echo $this->Html->link(__('List Notification Campaigns'), array('action' => 'index')); ?> </li>
47
		<li><?php echo $this->Html->link(__('New Notification Campaign'), array('action' => 'add')); ?> </li>
48
		<li><?php echo $this->Html->link(__('List Pushnotifications'), array('controller' => 'pushnotifications', 'action' => 'index')); ?> </li>
49
		<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
50
	</ul>
51
</div>
52
<div class="related">
53
	<h3><?php echo __('Related Pushnotifications'); ?></h3>
54
	<?php if (!empty($notificationCampaign['Pushnotification'])): ?>
55
	<table cellpadding = "0" cellspacing = "0">
56
	<tr>
57
		<th><?php echo __('Id'); ?></th>
58
		<th><?php echo __('User Id'); ?></th>
59
		<th><?php echo __('Notification Campaign Id'); ?></th>
60
		<th><?php echo __('Type'); ?></th>
61
		<th><?php echo __('Status'); ?></th>
62
		<th><?php echo __('Response Time'); ?></th>
63
		<th><?php echo __('Created'); ?></th>
64
		<th class="actions"><?php echo __('Actions'); ?></th>
65
	</tr>
66
	<?php foreach ($notificationCampaign['Pushnotification'] as $pushnotification): ?>
67
		<tr>
68
			<td><?php echo $pushnotification['id']; ?></td>
69
			<td><?php echo $pushnotification['user_id']; ?></td>
70
			<td><?php echo $pushnotification['notification_campaign_id']; ?></td>
71
			<td><?php echo $pushnotification['type']; ?></td>
72
			<td><?php echo $pushnotification['status']; ?></td>
73
			<td><?php echo $pushnotification['response_time']; ?></td>
74
			<td><?php echo $pushnotification['created']; ?></td>
75
			<td class="actions">
76
				<?php echo $this->Html->link(__('View'), array('controller' => 'pushnotifications', 'action' => 'view', $pushnotification['id'])); ?>
77
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'pushnotifications', 'action' => 'edit', $pushnotification['id'])); ?>
78
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'pushnotifications', 'action' => 'delete', $pushnotification['id']), null, __('Are you sure you want to delete # %s?', $pushnotification['id'])); ?>
79
			</td>
80
		</tr>
81
	<?php endforeach; ?>
82
	</table>
83
<?php endif; ?>
84
 
85
	<div class="actions">
86
		<ul>
87
			<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
88
		</ul>
89
	</div>
90
</div>