summaryrefslogtreecommitdiff
path: root/app/Template/calendar/show.php
blob: 3fe97b651fa90ee7beb5f792c9ca60c3565232c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<section id="main">
    <div class="page-header">
        <ul>
            <li>
                <i class="fa fa-table fa-fw"></i>
                <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
            </li>
            <li>
                <i class="fa fa-search fa-fw"></i>
                <?= $this->url->link(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?>
            </li>
            <li>
                <i class="fa fa-check-square-o fa-fw"></i>
                <?= $this->url->link(t('Completed tasks'), 'project', 'tasks', array('project_id' => $project['id'])) ?>
            </li>
            <li>
                <i class="fa fa-dashboard fa-fw"></i>
                <?= $this->url->link(t('Activity'), 'project', 'activity', array('project_id' => $project['id'])) ?>
            </li>
        </ul>
    </div>
    <section class="sidebar-container">

        <?= $this->render('calendar/sidebar', array(
            'project' => $project,
            'users_list' => $users_list,
            'categories_list' => $categories_list,
            'columns_list' => $columns_list,
            'swimlanes_list' => $swimlanes_list,
            'colors_list' => $colors_list,
            'status_list' => $status_list
        )) ?>

        <div class="sidebar-content">
            <div id="calendar"
                 data-project-id="<?= $project['id'] ?>"
                 data-save-url="<?= $this->url->href('calendar', 'save') ?>"
                 data-check-url="<?= $this->url->href('calendar', 'project', array('project_id' => $project['id'])) ?>"
                 data-check-interval="<?= $check_interval ?>"
            >
            </div>
        </div>
    </section>
</section>