Add user calendar view on the dashboard and in the user management section
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
<li>
|
||||
<a href="#" class="dashboard-toggle" data-toggle="subtasks"><?= t('Show/hide subtasks') ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="dashboard-toggle" data-toggle="calendar"><?= t('Show/hide calendar') ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="dashboard-toggle" data-toggle="activities"><?= t('Show/hide activities') ?></a>
|
||||
</li>
|
||||
@@ -40,6 +43,13 @@
|
||||
<div id="dashboard-subtasks"><?= $this->render('app/subtasks', array('paginator' => $subtask_paginator)) ?></div>
|
||||
</div>
|
||||
<div class="dashboard-right-column">
|
||||
<div id="dashboard-calendar">
|
||||
<div id="user-calendar"
|
||||
data-check-url="<?= $this->u('calendar', 'user') ?>"
|
||||
data-user-id="<?= $user_id ?>"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div id="dashboard-activities">
|
||||
<h2><?= t('Activity stream') ?></h2>
|
||||
<?= $this->render('project/events', array('events' => $events)) ?>
|
||||
|
||||
Reference in New Issue
Block a user