| 1 |
<div id="acym__scenario__performance__step"> |
| 2 |
<?php include acym_getPartial('scenarios', 'performances_step_header'); ?> |
| 3 |
<div class="acym__scenario__edit__right__panel__separator"></div> |
| 4 |
<div id="acym__scenario__performance__listing"> |
| 5 |
<?php if ($data['isEmpty']) { |
| 6 |
echo '<p>'.acym_translation('ACYM_NO_USER_TRIGGERED_SCENARIO').'</p>'; |
| 7 |
} else { ?> |
| 8 |
<input |
| 9 |
type="text" |
| 10 |
name="search" |
| 11 |
placeholder="<?php echo acym_escape(acym_translation('ACYM_SEARCH')); ?>" |
| 12 |
id="acym__scenario__performance__step__search" |
| 13 |
value="<?php echo acym_escape($data['search']); ?>" |
| 14 |
> |
| 15 |
<div class="grid-x acym__listing acym__listing__no-checkbox"> |
| 16 |
<div class="grid-x cell acym__listing__header"> |
| 17 |
<div class="grid-x medium-auto small-11 cell acym__listing__header__title__container"> |
| 18 |
<div class="cell medium-auto acym__listing__header__title"> |
| 19 |
<?php echo acym_translation('ACYM_EMAIL'); ?> |
| 20 |
</div> |
| 21 |
<div class="cell medium-4 acym__listing__header__title text-center"> |
| 22 |
<?php echo acym_translation('ACYM_EXECUTION_DATE'); ?> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
<?php |
| 27 |
if (!empty($data['historyLines'])) { |
| 28 |
foreach ($data['historyLines'] as $historyLine) { |
| 29 |
?> |
| 30 |
<div class="grid-x cell align-middle acym__listing__row"> |
| 31 |
<div class="grid-x medium-auto small-11 cell acym__listing__title__container"> |
| 32 |
<div class="grid-x cell medium-auto acym__listing__title cursor-pointer acym__scenario__performance__trigger__user" |
| 33 |
data-acym-user-id="<?php echo $historyLine->user_id; ?>" |
| 34 |
data-acym-process-id="<?php echo $historyLine->scenario_process_id; ?>"> |
| 35 |
<?php echo $historyLine->email; ?> |
| 36 |
</div> |
| 37 |
<div class="grid-x cell medium-4 acym__listing__title align-right"> |
| 38 |
<?php echo acym_date($historyLine->date, 'Y-m-d H:i:s'); ?> |
| 39 |
</div> |
| 40 |
</div> |
| 41 |
</div> |
| 42 |
<?php |
| 43 |
} |
| 44 |
} |
| 45 |
?> |
| 46 |
</div> |
| 47 |
<?php } |
| 48 |
echo $data['pagination']->display('scenario_performance_step_ajax', '', true); |
| 49 |
?> |
| 50 |
</div> |
| 51 |
</div> |
| 52 |
|