diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/app/sidebar.php | 2 | ||||
-rw-r--r-- | app/Template/config/calendar.php | 1 | ||||
-rw-r--r-- | app/Template/config/sidebar.php | 2 | ||||
-rw-r--r-- | app/Template/export/sidebar.php | 2 | ||||
-rw-r--r-- | app/Template/layout.php | 6 | ||||
-rw-r--r-- | app/Template/project/dropdown.php | 2 | ||||
-rw-r--r-- | app/Template/project/sidebar.php | 2 | ||||
-rw-r--r-- | app/Template/project_user/sidebar.php | 2 | ||||
-rw-r--r-- | app/Template/task/sidebar.php | 4 | ||||
-rw-r--r-- | app/Template/user/sidebar.php | 4 |
10 files changed, 13 insertions, 14 deletions
diff --git a/app/Template/app/sidebar.php b/app/Template/app/sidebar.php index f4a455f8..c1de0dbe 100644 --- a/app/Template/app/sidebar.php +++ b/app/Template/app/sidebar.php @@ -19,7 +19,7 @@ <li <?= $this->app->getRouterAction() === 'activity' ? 'class="active"' : '' ?>> <?= $this->url->link(t('My activity stream'), 'app', 'activity', array('user_id' => $user['id'])) ?> </li> - <?= $this->hook->render('dashboard:sidebar') ?> + <?= $this->hook->render('template:dashboard:sidebar') ?> </ul> <div class="sidebar-collapse"><a href="#" title="<?= t('Hide sidebar') ?>"><i class="fa fa-chevron-left"></i></a></div> <div class="sidebar-expand" style="display: none"><a href="#" title="<?= t('Expand sidebar') ?>"><i class="fa fa-chevron-right"></i></a></div> diff --git a/app/Template/config/calendar.php b/app/Template/config/calendar.php index 1cc985c8..25f4b43d 100644 --- a/app/Template/config/calendar.php +++ b/app/Template/config/calendar.php @@ -23,7 +23,6 @@ <h4><?= t('Subtasks time tracking') ?></h4> <?= $this->form->checkbox('calendar_user_subtasks_time_tracking', t('Show subtasks based on the time tracking'), 1, $values['calendar_user_subtasks_time_tracking'] == 1) ?> - <?= $this->form->checkbox('calendar_user_subtasks_forecast', t('Show subtask estimates (forecast of future work)'), 1, $values['calendar_user_subtasks_forecast'] == 1) ?> </div> <div class="form-actions"> diff --git a/app/Template/config/sidebar.php b/app/Template/config/sidebar.php index 083da283..ed4f01e7 100644 --- a/app/Template/config/sidebar.php +++ b/app/Template/config/sidebar.php @@ -34,7 +34,7 @@ <li> <?= $this->url->link(t('Documentation'), 'doc', 'show') ?> </li> - <?= $this->hook->render('config:sidebar') ?> + <?= $this->hook->render('template:config:sidebar') ?> </ul> <div class="sidebar-collapse"><a href="#" title="<?= t('Hide sidebar') ?>"><i class="fa fa-chevron-left"></i></a></div> <div class="sidebar-expand" style="display: none"><a href="#" title="<?= t('Expand sidebar') ?>"><i class="fa fa-chevron-right"></i></a></div> diff --git a/app/Template/export/sidebar.php b/app/Template/export/sidebar.php index 7e39a5af..44448520 100644 --- a/app/Template/export/sidebar.php +++ b/app/Template/export/sidebar.php @@ -13,7 +13,7 @@ <li <?= $this->app->getRouterAction() === 'summary' ? 'class="active"' : '' ?>> <?= $this->url->link(t('Daily project summary'), 'export', 'summary', array('project_id' => $project['id'])) ?> </li> - <?= $this->hook->render('export:sidebar') ?> + <?= $this->hook->render('template:export:sidebar') ?> </ul> <div class="sidebar-collapse"><a href="#" title="<?= t('Hide sidebar') ?>"><i class="fa fa-chevron-left"></i></a></div> <div class="sidebar-expand" style="display: none"><a href="#" title="<?= t('Expand sidebar') ?>"><i class="fa fa-chevron-right"></i></a></div> diff --git a/app/Template/layout.php b/app/Template/layout.php index 934fb62c..49ac2a08 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -29,7 +29,7 @@ <title><?= isset($title) ? $this->e($title) : 'Kanboard' ?></title> - <?= $this->hook->render('layout:head') ?> + <?= $this->hook->render('template:layout:head') ?> </head> <body data-status-url="<?= $this->url->href('app', 'status') ?>" data-login-url="<?= $this->url->href('auth', 'login') ?>" @@ -40,7 +40,7 @@ <?php if (isset($no_layout) && $no_layout): ?> <?= $content_for_layout ?> <?php else: ?> - <?= $this->hook->render('layout:top') ?> + <?= $this->hook->render('template:layout:top') ?> <?= $this->render('header', array( 'title' => $title, 'description' => isset($description) ? $description : '', @@ -50,7 +50,7 @@ <?= $this->app->flashMessage() ?> <?= $content_for_layout ?> </section> - <?= $this->hook->render('layout:bottom') ?> + <?= $this->hook->render('template:layout:bottom') ?> <?php endif ?> </body> </html> diff --git a/app/Template/project/dropdown.php b/app/Template/project/dropdown.php index ee1ca3f7..96b6a43a 100644 --- a/app/Template/project/dropdown.php +++ b/app/Template/project/dropdown.php @@ -9,7 +9,7 @@ </li> <?php endif ?> -<?= $this->hook->render('project:dropdown', array('project' => $project)) ?> +<?= $this->hook->render('template:project:dropdown', array('project' => $project)) ?> <?php if ($this->user->isProjectManagementAllowed($project['id'])): ?> <li> diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php index 84bbb6b1..482a95d2 100644 --- a/app/Template/project/sidebar.php +++ b/app/Template/project/sidebar.php @@ -49,7 +49,7 @@ <?php endif ?> <?php endif ?> - <?= $this->hook->render('project:sidebar') ?> + <?= $this->hook->render('template:project:sidebar') ?> </ul> <div class="sidebar-collapse"><a href="#" title="<?= t('Hide sidebar') ?>"><i class="fa fa-chevron-left"></i></a></div> <div class="sidebar-expand" style="display: none"><a href="#" title="<?= t('Expand sidebar') ?>"><i class="fa fa-chevron-right"></i></a></div> diff --git a/app/Template/project_user/sidebar.php b/app/Template/project_user/sidebar.php index 98219a87..b81ba14a 100644 --- a/app/Template/project_user/sidebar.php +++ b/app/Template/project_user/sidebar.php @@ -25,6 +25,6 @@ <?= $this->url->link(t('Closed tasks'), 'projectuser', 'closed', $filter) ?> </li> - <?= $this->hook->render('project-user:sidebar') ?> + <?= $this->hook->render('template:project-user:sidebar') ?> </ul> </div>
\ No newline at end of file diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index cf0e9f76..9ee1e7df 100644 --- a/app/Template/task/sidebar.php +++ b/app/Template/task/sidebar.php @@ -19,7 +19,7 @@ </li> <?php endif ?> - <?= $this->hook->render('task:sidebar:information') ?> + <?= $this->hook->render('template:task:sidebar:information') ?> </ul> <h2><?= t('Actions') ?></h2> <ul> @@ -69,7 +69,7 @@ </li> <?php endif ?> - <?= $this->hook->render('task:sidebar:actions') ?> + <?= $this->hook->render('template:task:sidebar:actions') ?> </ul> <div class="sidebar-collapse"><a href="#" title="<?= t('Hide sidebar') ?>"><i class="fa fa-chevron-left"></i></a></div> <div class="sidebar-expand" style="display: none"><a href="#" title="<?= t('Expand sidebar') ?>"><i class="fa fa-chevron-right"></i></a></div> diff --git a/app/Template/user/sidebar.php b/app/Template/user/sidebar.php index 80fe8684..6a4e9c47 100644 --- a/app/Template/user/sidebar.php +++ b/app/Template/user/sidebar.php @@ -21,7 +21,7 @@ </li> <?php endif ?> - <?= $this->hook->render('user:sidebar:information') ?> + <?= $this->hook->render('template:user:sidebar:information') ?> </ul> <h2><?= t('Actions') ?></h2> @@ -67,7 +67,7 @@ </li> <?php endif ?> - <?= $this->hook->render('user:sidebar:actions', array('user' => $user)) ?> + <?= $this->hook->render('template:user:sidebar:actions', array('user' => $user)) ?> <?php if ($this->user->isAdmin() && ! $this->user->isCurrentUser($user['id'])): ?> <li <?= $this->app->getRouterController() === 'user' && $this->app->getRouterAction() === 'remove' ? 'class="active"' : '' ?>> |