From 7283692c1d565ec262546bdc816e8a5004df86ea Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 1 Feb 2015 18:57:07 -0500 Subject: Add dropdown menu to the tasks --- app/Locale/da_DK/translations.php | 1 + app/Locale/de_DE/translations.php | 1 + app/Locale/es_ES/translations.php | 1 + app/Locale/fi_FI/translations.php | 1 + app/Locale/fr_FR/translations.php | 1 + app/Locale/hu_HU/translations.php | 1 + app/Locale/it_IT/translations.php | 1 + app/Locale/ja_JP/translations.php | 1 + app/Locale/pl_PL/translations.php | 1 + app/Locale/pt_BR/translations.php | 1 + app/Locale/ru_RU/translations.php | 1 + app/Locale/sv_SE/translations.php | 1 + app/Locale/th_TH/translations.php | 1 + app/Locale/zh_CN/translations.php | 1 + app/Template/board/filters.php | 2 +- app/Template/board/task.php | 16 +++-- assets/css/app.css | 70 ++++++++++------------ assets/css/src/dropdown.css | 64 +++++++++----------- assets/css/src/task.css | 6 +- assets/js/app.js | 123 +++++++++++++++++++++++++++++++++----- assets/js/src/base.js | 40 +++++++------ assets/js/src/board.js | 11 ++-- assets/js/src/init.js | 4 +- assets/js/vendor/dropit.min.js | 103 +++++++++++++++++++++++++++++-- 24 files changed, 326 insertions(+), 127 deletions(-) diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php index adf92d19..0946d143 100644 --- a/app/Locale/da_DK/translations.php +++ b/app/Locale/da_DK/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php index 3cac1b31..30662cff 100644 --- a/app/Locale/de_DE/translations.php +++ b/app/Locale/de_DE/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php index b78261a6..9bb0eb0e 100644 --- a/app/Locale/es_ES/translations.php +++ b/app/Locale/es_ES/translations.php @@ -699,4 +699,5 @@ return array( 'All status' => 'Todos los estados', // 'Add a comment logging moving the task between columns' => '', 'Moved to column %s' => 'Movido a columna %s', + // 'Change description' => '', ); diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php index 80351eea..608f5250 100644 --- a/app/Locale/fi_FI/translations.php +++ b/app/Locale/fi_FI/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php index fa0d75b0..0a2321c3 100644 --- a/app/Locale/fr_FR/translations.php +++ b/app/Locale/fr_FR/translations.php @@ -699,4 +699,5 @@ return array( 'All status' => 'Tous les états', 'Add a comment logging moving the task between columns' => 'Ajouter un commentaire de log lorsqu\'une tâche est déplacée dans une autre colonne', 'Moved to column %s' => 'Tâche déplacée à la colonne %s', + 'Change description' => 'Changer la description', ); diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php index a74b60d2..0fe260e7 100644 --- a/app/Locale/hu_HU/translations.php +++ b/app/Locale/hu_HU/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php index a539844d..6438a977 100644 --- a/app/Locale/it_IT/translations.php +++ b/app/Locale/it_IT/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php index e4dee5d2..5817843c 100644 --- a/app/Locale/ja_JP/translations.php +++ b/app/Locale/ja_JP/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php index a6f0800b..246f0dfc 100644 --- a/app/Locale/pl_PL/translations.php +++ b/app/Locale/pl_PL/translations.php @@ -699,4 +699,5 @@ return array( 'All status' => 'Wszystkie statusy', 'Add a comment logging moving the task between columns' => 'Dodaj komentarz dokumentujący przeniesienie zadania pomiędzy kolumnami', 'Moved to column %s' => 'Przeniosiono do kolumny %s', + // 'Change description' => '', ); diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php index c2a013c5..28aedb39 100644 --- a/app/Locale/pt_BR/translations.php +++ b/app/Locale/pt_BR/translations.php @@ -699,4 +699,5 @@ return array( 'All status' => 'Todos os status', 'Add a comment logging moving the task between columns' => 'Adicionar un comentário de log ao mover uma tarefa em outra coluna', 'Moved to column %s' => 'Mover para a coluna %s', + // 'Change description' => '', ); diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php index 18ef5df9..6d080335 100644 --- a/app/Locale/ru_RU/translations.php +++ b/app/Locale/ru_RU/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php index 4e8eb85f..7e78a7ad 100644 --- a/app/Locale/sv_SE/translations.php +++ b/app/Locale/sv_SE/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php index 0a75ab0e..7c1b5725 100644 --- a/app/Locale/th_TH/translations.php +++ b/app/Locale/th_TH/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php index 593f7fc8..a9d1baac 100644 --- a/app/Locale/zh_CN/translations.php +++ b/app/Locale/zh_CN/translations.php @@ -699,4 +699,5 @@ return array( // 'All status' => '', // 'Add a comment logging moving the task between columns' => '', // 'Moved to column %s' => '', + // 'Change description' => '', ); diff --git a/app/Template/board/filters.php b/app/Template/board/filters.php index 148f3de6..0e9c4d5f 100644 --- a/app/Template/board/filters.php +++ b/app/Template/board/filters.php @@ -30,6 +30,7 @@ a(t('Configure'), 'project', 'show', array('project_id' => $project['id'])) ?> + @@ -45,6 +46,5 @@
  • - \ No newline at end of file diff --git a/app/Template/board/task.php b/app/Template/board/task.php index 87eab885..546fbe1b 100644 --- a/app/Template/board/task.php +++ b/app/Template/board/task.php @@ -38,7 +38,17 @@ data-task-url="u('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" title=""> - a('#'.$task['id'], 'task', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-edit-popover', t('Edit this task')) ?> +