Subversion Repositories SmartDukaan

Rev

Rev 14955 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="notificationCampaigns view">
<h2><?php echo __('Notification Campaign'); ?></h2>
        <dl>
                <dt><?php echo __('Id'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Name'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['name']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Title'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['title']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Message'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['message']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Type'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['type']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Url'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['url']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Sql'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['sql']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Expiresat'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['expiresat']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Status'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['status']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Created'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['created']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Sendsms'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['sendsms']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Messagetext'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['messagetext']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Smsprocessed'); ?></dt>
                <dd>
                        <?php echo h($notificationCampaign['NotificationCampaign']['smsprocessed']); ?>
                        &nbsp;
                </dd>
        </dl>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>
                <li><?php echo $this->Html->link(__('Edit Notification Campaign'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
                <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>
                <li><?php echo $this->Html->link(__('List Notification Campaigns'), array('action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Notification Campaign'), array('action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Pushnotifications'), array('controller' => 'pushnotifications', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
        </ul>
</div>
<div class="related">
        <h3><?php echo __('Related Pushnotifications'); ?></h3>
        <?php if (!empty($notificationCampaign['Pushnotification'])): ?>
        <table cellpadding = "0" cellspacing = "0">
        <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('User Id'); ?></th>
                <th><?php echo __('Notification Campaign Id'); ?></th>
                <th><?php echo __('Type'); ?></th>
                <th><?php echo __('Status'); ?></th>
                <th><?php echo __('Message'); ?></th>
                <th><?php echo __('Response Time'); ?></th>
                <th><?php echo __('Created'); ?></th>
                <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($notificationCampaign['Pushnotification'] as $pushnotification): ?>
                <tr>
                        <td><?php echo $pushnotification['id']; ?></td>
                        <td><?php echo $pushnotification['user_id']; ?></td>
                        <td><?php echo $pushnotification['notification_campaign_id']; ?></td>
                        <td><?php echo $pushnotification['type']; ?></td>
                        <td><?php echo $pushnotification['status']; ?></td>
                        <td><?php echo $pushnotification['message']; ?></td>
                        <td><?php echo $pushnotification['response_time']; ?></td>
                        <td><?php echo $pushnotification['created']; ?></td>
                        <td class="actions">
                                <?php echo $this->Html->link(__('View'), array('controller' => 'pushnotifications', 'action' => 'view', $pushnotification['id'])); ?>
                                <?php echo $this->Html->link(__('Edit'), array('controller' => 'pushnotifications', 'action' => 'edit', $pushnotification['id'])); ?>
                                <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'pushnotifications', 'action' => 'delete', $pushnotification['id']), null, __('Are you sure you want to delete # %s?', $pushnotification['id'])); ?>
                        </td>
                </tr>
        <?php endforeach; ?>
        </table>
<?php endif; ?>

        <div class="actions">
                <ul>
                        <li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
                </ul>
        </div>
</div>