summaryrefslogtreecommitdiff
path: root/app/Template/event/events.php
blob: ef651321573baf1ed25c78bbd90e2f0440c822b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php if (empty($events)): ?>
    <p class="alert"><?= t('There is no activity yet.') ?></p>
<?php else: ?>
    <?php foreach ($events as $event): ?>
        <div class="activity-event">
            <?= $this->avatar->render(
                $event['creator_id'],
                $event['author_username'],
                $event['author_name'],
                $event['email']
            ) ?>

            <div class="activity-content">
                <?= $event['event_content'] ?>
            </div>
        </div>
    <?php endforeach ?>
<?php endif ?>