<div class="container py-4">

<h2>

Homepage Timeline

</h2>

<hr>

<a
href="/easychair/admin/conference-home/workflow/submit"

class="btn btn-primary">

Submit For Approval

</a>

<br><br>

<?php foreach(
$timeline
as $t
): ?>

<div
class="card mb-3">

<div
class="card-body">

<b>

<?=

$t[
'version_label'
]

?>

</b>

<br>

State:

<?=

$t[
'workflow_state'
]

?>

<br>

<?=

$t[
'created_at'
]

?>

<br><br>

<?php
if(
$t[
'workflow_state'
]
==='review'
):
?>

<a
href="/easychair/admin/conference-home/workflow/approve?id=<?= (int)$t['id'] ?>"

class="btn btn-success">

Approve

</a>

<?php endif; ?>

</div>

</div>

<?php endforeach; ?>

</div>
