diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-17 17:11:51 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-17 17:11:51 -0500 |
commit | 84b0f0df90442775b9122457648f06c9485df1f1 (patch) | |
tree | 5f0fb91ed9280bbf10bb60d69f3523cafc928f5c /app/Template/calendar/show.php | |
parent | 4b45b2aa3533309898670f1b13756dfdfce355a7 (diff) |
Add project calendars (merge/refactoring of #490)
Diffstat (limited to 'app/Template/calendar/show.php')
-rw-r--r-- | app/Template/calendar/show.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php new file mode 100644 index 00000000..aae856f4 --- /dev/null +++ b/app/Template/calendar/show.php @@ -0,0 +1,29 @@ +<section id="main"> + <div class="page-header"> + <ul> + <li><i class="fa fa-table fa-fw"></i><?= $this->a(t('Back to the board'), 'board', 'show', 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-save-url="<?= $this->u('calendar', 'save', array('project_id' => $project['id'])) ?>" + data-check-url="<?= $this->u('calendar', 'events', array('project_id' => $project['id'])) ?>" + data-check-interval="<?= $check_interval ?>" + data-translations='<?= $this->getCalendarTranslations() ?>' + > + </div> + </div> + </section> +</section> |