summaryrefslogtreecommitdiff
path: root/app/Template/config
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-04-01 15:43:36 -0400
committerFrederic Guillot <fred@kanboard.net>2017-04-01 15:43:36 -0400
commit253d5a9331e4b4775066ec8cb9664da9a2aa6ac9 (patch)
tree0d089bcbe3b7ea964e8b0ec651a0694dee86c9d1 /app/Template/config
parent99015d08fa194c5b8145f5d1315d61ebc20bd7a3 (diff)
Move calendar to external plugin
Diffstat (limited to 'app/Template/config')
-rw-r--r--app/Template/config/calendar.php36
-rw-r--r--app/Template/config/keyboard_shortcuts.php1
-rw-r--r--app/Template/config/sidebar.php3
3 files changed, 0 insertions, 40 deletions
diff --git a/app/Template/config/calendar.php b/app/Template/config/calendar.php
deleted file mode 100644
index 0cc3d064..00000000
--- a/app/Template/config/calendar.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="page-header">
- <h2><?= t('Calendar settings') ?></h2>
-</div>
-<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'calendar')) ?>" autocomplete="off">
-
- <?= $this->form->csrf() ?>
-
- <fieldset>
- <legend><?= t('Project calendar view') ?></legend>
- <?= $this->form->radios('calendar_project_tasks', array(
- 'date_creation' => t('Show tasks based on the creation date'),
- 'date_started' => t('Show tasks based on the start date'),
- ),
- $values
- ) ?>
- </fieldset>
-
- <fieldset>
- <legend><?= t('User calendar view') ?></legend>
- <?= $this->form->radios('calendar_user_tasks', array(
- 'date_creation' => t('Show tasks based on the creation date'),
- 'date_started' => t('Show tasks based on the start date'),
- ),
- $values
- ) ?>
- </fieldset>
-
- <fieldset>
- <legend><?= t('Subtasks time tracking') ?></legend>
- <?= $this->form->checkbox('calendar_user_subtasks_time_tracking', t('Show subtasks based on the time tracking'), 1, $values['calendar_user_subtasks_time_tracking'] == 1) ?>
- </fieldset>
-
- <div class="form-actions">
- <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
- </div>
-</form>
diff --git a/app/Template/config/keyboard_shortcuts.php b/app/Template/config/keyboard_shortcuts.php
index 6ac71ee0..ed9ea541 100644
--- a/app/Template/config/keyboard_shortcuts.php
+++ b/app/Template/config/keyboard_shortcuts.php
@@ -6,7 +6,6 @@
<ul>
<li><?= t('Switch to the project overview') ?> = <strong>v o</strong></li>
<li><?= t('Switch to the board view') ?> = <strong>v b</strong></li>
- <li><?= t('Switch to the calendar view') ?> = <strong>v c</strong></li>
<li><?= t('Switch to the list view') ?> = <strong>v l</strong></li>
<li><?= t('Switch to the Gantt chart view') ?> = <strong>v g</strong></li>
</ul>
diff --git a/app/Template/config/sidebar.php b/app/Template/config/sidebar.php
index 95be963b..2f265ed2 100644
--- a/app/Template/config/sidebar.php
+++ b/app/Template/config/sidebar.php
@@ -15,9 +15,6 @@
<li <?= $this->app->checkMenuSelection('ConfigController', 'board') ?>>
<?= $this->url->link(t('Board settings'), 'ConfigController', 'board') ?>
</li>
- <li <?= $this->app->checkMenuSelection('ConfigController', 'calendar') ?>>
- <?= $this->url->link(t('Calendar settings'), 'ConfigController', 'calendar') ?>
- </li>
<li <?= $this->app->checkMenuSelection('TagController', 'index') ?>>
<?= $this->url->link(t('Tags management'), 'TagController', 'index') ?>
</li>