summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Locale/da_DK/translations.php5
-rw-r--r--app/Locale/de_DE/translations.php5
-rw-r--r--app/Locale/es_ES/translations.php5
-rw-r--r--app/Locale/fi_FI/translations.php5
-rw-r--r--app/Locale/fr_FR/translations.php5
-rw-r--r--app/Locale/hu_HU/translations.php5
-rw-r--r--app/Locale/it_IT/translations.php5
-rw-r--r--app/Locale/ja_JP/translations.php5
-rw-r--r--app/Locale/pl_PL/translations.php5
-rw-r--r--app/Locale/pt_BR/translations.php5
-rw-r--r--app/Locale/ru_RU/translations.php5
-rw-r--r--app/Locale/sv_SE/translations.php5
-rw-r--r--app/Locale/th_TH/translations.php5
-rw-r--r--app/Locale/zh_CN/translations.php5
-rw-r--r--app/Template/app/dashboard.php27
15 files changed, 92 insertions, 5 deletions
diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php
index de4e073c..7e2d03a0 100644
--- a/app/Locale/da_DK/translations.php
+++ b/app/Locale/da_DK/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php
index d4dc1030..e4838ba4 100644
--- a/app/Locale/de_DE/translations.php
+++ b/app/Locale/de_DE/translations.php
@@ -708,4 +708,9 @@ return array(
'Time Tracking' => 'Zeiterfassung',
'You already have one subtask in progress' => 'Bereits eine Teilaufgabe in bearbeitung',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php
index aa498acf..67907e73 100644
--- a/app/Locale/es_ES/translations.php
+++ b/app/Locale/es_ES/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php
index f99d3408..01424a6f 100644
--- a/app/Locale/fi_FI/translations.php
+++ b/app/Locale/fi_FI/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php
index f02ced4f..dd02cd7f 100644
--- a/app/Locale/fr_FR/translations.php
+++ b/app/Locale/fr_FR/translations.php
@@ -710,4 +710,9 @@ return array(
'Time Tracking' => 'Feuille de temps',
'You already have one subtask in progress' => 'Vous avez déjà une sous-tâche en progrès',
'Which parts of the project do you want to duplicate?' => 'Quelles parties du projet voulez-vous dupliquer ?',
+ 'Change dashboard view' => 'Changer la vue du tableau de bord',
+ 'Show/hide activities' => 'Afficher/cacher les activités',
+ 'Show/hide projects' => 'Afficher/cacher les projets',
+ 'Show/hide subtasks' => 'Afficher/cacher les sous-tâches',
+ 'Show/hide tasks' => 'Afficher/cacher les tâches',
);
diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php
index 2c88185d..d051be30 100644
--- a/app/Locale/hu_HU/translations.php
+++ b/app/Locale/hu_HU/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php
index ffdc2ec6..64eb201a 100644
--- a/app/Locale/it_IT/translations.php
+++ b/app/Locale/it_IT/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php
index 358c30ce..68f2bbc3 100644
--- a/app/Locale/ja_JP/translations.php
+++ b/app/Locale/ja_JP/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php
index 47dc126f..5ff27109 100644
--- a/app/Locale/pl_PL/translations.php
+++ b/app/Locale/pl_PL/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php
index 7954f9ae..73966572 100644
--- a/app/Locale/pt_BR/translations.php
+++ b/app/Locale/pt_BR/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php
index 81c0d72c..e644aa5d 100644
--- a/app/Locale/ru_RU/translations.php
+++ b/app/Locale/ru_RU/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php
index 734a7d42..8bab7cdf 100644
--- a/app/Locale/sv_SE/translations.php
+++ b/app/Locale/sv_SE/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php
index a05a6034..ef2df8e8 100644
--- a/app/Locale/th_TH/translations.php
+++ b/app/Locale/th_TH/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php
index 2c69d95c..ffea13d4 100644
--- a/app/Locale/zh_CN/translations.php
+++ b/app/Locale/zh_CN/translations.php
@@ -708,4 +708,9 @@ return array(
// 'Time Tracking' => '',
// 'You already have one subtask in progress' => '',
// 'Which parts of the project do you want to duplicate?' => '',
+ // 'Change dashboard view' => '',
+ // 'Show/hide activities' => '',
+ // 'Show/hide projects' => '',
+ // 'Show/hide subtasks' => '',
+ // 'Show/hide tasks' => '',
);
diff --git a/app/Template/app/dashboard.php b/app/Template/app/dashboard.php
index 592621a6..43b15703 100644
--- a/app/Template/app/dashboard.php
+++ b/app/Template/app/dashboard.php
@@ -10,17 +10,34 @@
<li><i class="fa fa-user fa-fw"></i><?= $this->a(t('User management'), 'user', 'index') ?></li>
<li><i class="fa fa-cog fa-fw"></i><?= $this->a(t('Settings'), 'config', 'index') ?></li>
<?php endif ?>
+ <li>
+ <ul class="dropdown">
+ <li>
+ <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Change dashboard view') ?></a>
+ <ul>
+ <li>
+ <a href="#" class="dashboard-toggle" data-toggle="projects"><?= t('Show/hide projects') ?></a>
+ <a href="#" class="dashboard-toggle" data-toggle="tasks"><?= t('Show/hide tasks') ?></a>
+ <a href="#" class="dashboard-toggle" data-toggle="subtasks"><?= t('Show/hide subtasks') ?></a>
+ <a href="#" class="dashboard-toggle" data-toggle="activities"><?= t('Show/hide activities') ?></a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
</ul>
</div>
<section id="dashboard">
<div class="dashboard-left-column">
- <?= $this->render('app/projects', array('paginator' => $project_paginator)) ?>
- <?= $this->render('app/tasks', array('paginator' => $task_paginator)) ?>
- <?= $this->render('app/subtasks', array('paginator' => $subtask_paginator)) ?>
+ <div id="dashboard-projects"><?= $this->render('app/projects', array('paginator' => $project_paginator)) ?></div>
+ <div id="dashboard-tasks"><?= $this->render('app/tasks', array('paginator' => $task_paginator)) ?></div>
+ <div id="dashboard-subtasks"><?= $this->render('app/subtasks', array('paginator' => $subtask_paginator)) ?></div>
</div>
<div class="dashboard-right-column">
- <h2><?= t('Activity stream') ?></h2>
- <?= $this->render('project/events', array('events' => $events)) ?>
+ <div id="dashboard-activities">
+ <h2><?= t('Activity stream') ?></h2>
+ <?= $this->render('project/events', array('events' => $events)) ?>
+ </div>
</div>
</section>
</section> \ No newline at end of file