| 1 |
<?php |
| 2 |
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals. |
| 3 |
defined('ABSPATH') || die('Restricted Access'); |
| 4 |
?> |
| 5 |
<div id="acym__scenario__performance__user"> |
| 6 |
<?php foreach ($data['historyLines'] as $historyLine) { ?> |
| 7 |
<div class="acym__scenario__performance__user__block"> |
| 8 |
<div class="acym__scenario__performance__user__block__title"> |
| 9 |
<i class="acymicon-email"></i> |
| 10 |
<p><?php echo esc_html($historyLine->type); ?></p> |
| 11 |
</div> |
| 12 |
<p class="acym__scenario__performance__user__block__info"> |
| 13 |
<?php echo esc_html(acym_translationSprintf('ACYM_EXECUTED_ON_X', acym_date($historyLine->date, acym_translation('ACYM_DATE_FORMAT_LC2')))); ?> |
| 14 |
</p> |
| 15 |
</div> |
| 16 |
<?php } ?> |
| 17 |
<?php if (!empty($data['upcomingStep'])) { ?> |
| 18 |
<div class="acym__scenario__performance__user__block acym__scenario__performance__user__block__scheduled"> |
| 19 |
<div class="acym__scenario__performance__user__block__title"> |
| 20 |
<i class="acymicon-email"></i> |
| 21 |
<p><?php echo esc_html($data['upcomingStep']->type); ?></p> |
| 22 |
<div class="acym__scenario__performance__user__block__title__grow"></div> |
| 23 |
<i class="acymicon-hourglass-2"></i> |
| 24 |
</div> |
| 25 |
<p class="acym__scenario__performance__user__block__info"> |
| 26 |
<?php echo esc_html( |
| 27 |
acym_translationSprintf('ACYM_EXECUTED_ON_X', acym_date($data['upcomingStep']->execution_date, acym_translation('ACYM_DATE_FORMAT_LC2'))) |
| 28 |
); ?> |
| 29 |
</p> |
| 30 |
</div> |
| 31 |
<?php } ?> |
| 32 |
<div id="acym__scenario__performance__user__actions"> |
| 33 |
<div id="acym__scenario__performance__user__back"> |
| 34 |
<i class="acymicon-chevron-left"></i> |
| 35 |
<p><?php echo esc_html(acym_translation('ACYM_RETURN_USER_LISTING')); ?></p> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
|