Subversion Repositories SmartDukaan

Rev

Rev 14955 | Details | Compare with Previous | 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>
17432 manish.sha 34
		<dt><?php echo __('Sql'); ?></dt>
35
		<dd>
36
			<?php echo h($notificationCampaign['NotificationCampaign']['sql']); ?>
37
			&nbsp;
38
		</dd>
39
		<dt><?php echo __('Expiresat'); ?></dt>
40
		<dd>
41
			<?php echo h($notificationCampaign['NotificationCampaign']['expiresat']); ?>
42
			&nbsp;
43
		</dd>
44
		<dt><?php echo __('Status'); ?></dt>
45
		<dd>
46
			<?php echo h($notificationCampaign['NotificationCampaign']['status']); ?>
47
			&nbsp;
48
		</dd>
14955 manas 49
		<dt><?php echo __('Created'); ?></dt>
50
		<dd>
51
			<?php echo h($notificationCampaign['NotificationCampaign']['created']); ?>
52
			&nbsp;
53
		</dd>
17432 manish.sha 54
		<dt><?php echo __('Sendsms'); ?></dt>
55
		<dd>
56
			<?php echo h($notificationCampaign['NotificationCampaign']['sendsms']); ?>
57
			&nbsp;
58
		</dd>
59
		<dt><?php echo __('Messagetext'); ?></dt>
60
		<dd>
61
			<?php echo h($notificationCampaign['NotificationCampaign']['messagetext']); ?>
62
			&nbsp;
63
		</dd>
64
		<dt><?php echo __('Smsprocessed'); ?></dt>
65
		<dd>
66
			<?php echo h($notificationCampaign['NotificationCampaign']['smsprocessed']); ?>
67
			&nbsp;
68
		</dd>
14955 manas 69
	</dl>
70
</div>
71
<div class="actions">
72
	<h3><?php echo __('Actions'); ?></h3>
73
	<ul>
74
		<li><?php echo $this->Html->link(__('Edit Notification Campaign'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
75
		<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>
76
		<li><?php echo $this->Html->link(__('List Notification Campaigns'), array('action' => 'index')); ?> </li>
77
		<li><?php echo $this->Html->link(__('New Notification Campaign'), array('action' => 'add')); ?> </li>
78
		<li><?php echo $this->Html->link(__('List Pushnotifications'), array('controller' => 'pushnotifications', 'action' => 'index')); ?> </li>
79
		<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
80
	</ul>
81
</div>
82
<div class="related">
83
	<h3><?php echo __('Related Pushnotifications'); ?></h3>
84
	<?php if (!empty($notificationCampaign['Pushnotification'])): ?>
85
	<table cellpadding = "0" cellspacing = "0">
86
	<tr>
87
		<th><?php echo __('Id'); ?></th>
88
		<th><?php echo __('User Id'); ?></th>
89
		<th><?php echo __('Notification Campaign Id'); ?></th>
90
		<th><?php echo __('Type'); ?></th>
91
		<th><?php echo __('Status'); ?></th>
17432 manish.sha 92
		<th><?php echo __('Message'); ?></th>
14955 manas 93
		<th><?php echo __('Response Time'); ?></th>
94
		<th><?php echo __('Created'); ?></th>
95
		<th class="actions"><?php echo __('Actions'); ?></th>
96
	</tr>
97
	<?php foreach ($notificationCampaign['Pushnotification'] as $pushnotification): ?>
98
		<tr>
99
			<td><?php echo $pushnotification['id']; ?></td>
100
			<td><?php echo $pushnotification['user_id']; ?></td>
101
			<td><?php echo $pushnotification['notification_campaign_id']; ?></td>
102
			<td><?php echo $pushnotification['type']; ?></td>
103
			<td><?php echo $pushnotification['status']; ?></td>
17432 manish.sha 104
			<td><?php echo $pushnotification['message']; ?></td>
14955 manas 105
			<td><?php echo $pushnotification['response_time']; ?></td>
106
			<td><?php echo $pushnotification['created']; ?></td>
107
			<td class="actions">
108
				<?php echo $this->Html->link(__('View'), array('controller' => 'pushnotifications', 'action' => 'view', $pushnotification['id'])); ?>
109
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'pushnotifications', 'action' => 'edit', $pushnotification['id'])); ?>
110
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'pushnotifications', 'action' => 'delete', $pushnotification['id']), null, __('Are you sure you want to delete # %s?', $pushnotification['id'])); ?>
111
			</td>
112
		</tr>
113
	<?php endforeach; ?>
114
	</table>
115
<?php endif; ?>
116
 
117
	<div class="actions">
118
		<ul>
119
			<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
120
		</ul>
121
	</div>
122
</div>