Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (38 sloc) 1.27 KB
* This view display the result of multiple update action. It's rendered via ajax for the confirmation modal
* @var $aResults The array containing the result of each surveymenu entry action
<?php if (!$aResults['global']['result']):?>
<?php echo $aResults['global']['message'] ;?>
<?php else: ?>
<?php unset($aResults['global']); ?>
<table class="table table-striped">
<th><?php eT('Survey menu entry ID');?></th>
<th><?php eT('Status');?></th>
<?php foreach($aResults as $sParticipantToken => $result):?>
<?php echo $sParticipantToken;?>
<?php if ($result['status'] === true):?>
<td class="text-success">
<?php echo $result['message']; ?>
<?php else: ?>
<td class="text-warning">
<?php echo $result['message']; ?>
<?php endif;?>
<?php endforeach;?>
<?php endif;?>
You can’t perform that action at this time.