<?= $this->projectHeader->render($project) ?>

<?php if ($project['is_public']): ?>
<div class="menu-inline text-right">
    <ul>
        <li><i class="fa fa-rss-square fa-fw"></i><?= $this->url->link(t('RSS feed'), 'FeedController', 'project', ['token' => $project['token']], false, '', '', true) ?></li>
        <li><i class="fa fa-calendar fa-fw"></i><?= $this->url->link(t('iCal feed'), 'ICalendarController', 'project', ['token' => $project['token']]) ?></li>
    </ul>
</div>
<?php endif ?>

<?= $this->render('event/events', ['events' => $events]) ?>
