diff options
Diffstat (limited to 'app')
42 files changed, 1 insertions, 721 deletions
diff --git a/app/Controller/ProjectGanttController.php b/app/Controller/ProjectGanttController.php deleted file mode 100644 index 8239005e..00000000 --- a/app/Controller/ProjectGanttController.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php - -namespace Kanboard\Controller; - -use Kanboard\Filter\ProjectIdsFilter; -use Kanboard\Filter\ProjectStatusFilter; -use Kanboard\Filter\ProjectTypeFilter; -use Kanboard\Model\ProjectModel; - -/** - * Projects Gantt Controller - * - * @package Kanboard\Controller - * @author Frederic Guillot - */ -class ProjectGanttController extends BaseController -{ - /** - * Show Gantt chart for all projects - */ - public function show() - { - $project_ids = $this->projectPermissionModel->getActiveProjectIds($this->userSession->getId()); - $filter = $this->projectQuery - ->withFilter(new ProjectTypeFilter(ProjectModel::TYPE_TEAM)) - ->withFilter(new ProjectStatusFilter(ProjectModel::ACTIVE)) - ->withFilter(new ProjectIdsFilter($project_ids)); - - $filter->getQuery()->asc(ProjectModel::TABLE.'.start_date'); - - $this->response->html($this->helper->layout->app('project_gantt/show', array( - 'projects' => $filter->format($this->projectGanttFormatter), - 'title' => t('Gantt chart for all projects'), - ))); - } - - /** - * Save new project start date and end date - */ - public function save() - { - $values = $this->request->getJson(); - - $result = $this->projectModel->update(array( - 'id' => $values['id'], - 'start_date' => $this->dateParser->getIsoDate(strtotime($values['start'])), - 'end_date' => $this->dateParser->getIsoDate(strtotime($values['end'])), - )); - - if (! $result) { - $this->response->json(array('message' => 'Unable to save project'), 400); - } else { - $this->response->json(array('message' => 'OK'), 201); - } - } -} diff --git a/app/Controller/TaskGanttController.php b/app/Controller/TaskGanttController.php deleted file mode 100644 index b03b9d00..00000000 --- a/app/Controller/TaskGanttController.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php - -namespace Kanboard\Controller; - -use Kanboard\Filter\TaskProjectFilter; -use Kanboard\Model\TaskModel; - -/** - * Tasks Gantt Controller - * - * @package Kanboard\Controller - * @author Frederic Guillot - */ -class TaskGanttController extends BaseController -{ - /** - * Show Gantt chart for one project - */ - public function show() - { - $project = $this->getProject(); - $search = $this->helper->projectHeader->getSearchQuery($project); - $sorting = $this->request->getStringParam('sorting', 'board'); - $filter = $this->taskLexer->build($search)->withFilter(new TaskProjectFilter($project['id'])); - - if ($sorting === 'date') { - $filter->getQuery()->asc(TaskModel::TABLE.'.date_started')->asc(TaskModel::TABLE.'.date_creation'); - } else { - $filter->getQuery()->asc('column_position')->asc(TaskModel::TABLE.'.position'); - } - - $this->response->html($this->helper->layout->app('task_gantt/show', array( - 'project' => $project, - 'title' => $project['name'], - 'description' => $this->helper->projectHeader->getDescription($project), - 'sorting' => $sorting, - 'tasks' => $filter->format($this->taskGanttFormatter), - ))); - } - - /** - * Save new task start date and due date - */ - public function save() - { - $this->getProject(); - $values = $this->request->getJson(); - - $result = $this->taskModificationModel->update(array( - 'id' => $values['id'], - 'date_started' => strtotime($values['start']), - 'date_due' => strtotime($values['end']), - )); - - if (! $result) { - $this->response->json(array('message' => 'Unable to save task'), 400); - } else { - $this->response->json(array('message' => 'OK'), 201); - } - } -} diff --git a/app/Core/Base.php b/app/Core/Base.php index ba610be6..e3dc2f23 100644 --- a/app/Core/Base.php +++ b/app/Core/Base.php @@ -68,11 +68,9 @@ use Pimple\Container; * @property \Kanboard\Formatter\BoardTaskFormatter $boardTaskFormatter * @property \Kanboard\Formatter\GroupAutoCompleteFormatter $groupAutoCompleteFormatter * @property \Kanboard\Formatter\ProjectActivityEventFormatter $projectActivityEventFormatter - * @property \Kanboard\Formatter\ProjectGanttFormatter $projectGanttFormatter * @property \Kanboard\Formatter\SubtaskListFormatter $subtaskListFormatter * @property \Kanboard\Formatter\SubtaskTimeTrackingCalendarFormatter $subtaskTimeTrackingCalendarFormatter * @property \Kanboard\Formatter\TaskAutoCompleteFormatter $taskAutoCompleteFormatter - * @property \Kanboard\Formatter\TaskGanttFormatter $taskGanttFormatter * @property \Kanboard\Formatter\TaskICalFormatter $taskICalFormatter * @property \Kanboard\Formatter\TaskListFormatter $taskListFormatter * @property \Kanboard\Formatter\TaskListSubtaskFormatter $taskListSubtaskFormatter diff --git a/app/Formatter/ProjectGanttFormatter.php b/app/Formatter/ProjectGanttFormatter.php deleted file mode 100644 index af04f498..00000000 --- a/app/Formatter/ProjectGanttFormatter.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php - -namespace Kanboard\Formatter; - -use Kanboard\Core\Filter\FormatterInterface; - -/** - * Gantt chart formatter for projects - * - * @package formatter - * @author Frederic Guillot - */ -class ProjectGanttFormatter extends BaseFormatter implements FormatterInterface -{ - /** - * Format projects to be displayed in the Gantt chart - * - * @access public - * @return array - */ - public function format() - { - $projects = $this->query->findAll(); - $colors = $this->colorModel->getDefaultColors(); - $bars = array(); - - foreach ($projects as $project) { - $start = empty($project['start_date']) ? time() : strtotime($project['start_date']); - $end = empty($project['end_date']) ? $start : strtotime($project['end_date']); - $color = next($colors) ?: reset($colors); - - $bars[] = array( - 'type' => 'project', - 'id' => $project['id'], - 'title' => $project['name'], - 'start' => array( - (int) date('Y', $start), - (int) date('n', $start), - (int) date('j', $start), - ), - 'end' => array( - (int) date('Y', $end), - (int) date('n', $end), - (int) date('j', $end), - ), - 'link' => $this->helper->url->href('ProjectViewController', 'show', array('project_id' => $project['id'])), - 'board_link' => $this->helper->url->href('BoardViewController', 'show', array('project_id' => $project['id'])), - 'gantt_link' => $this->helper->url->href('TaskGanttController', 'show', array('project_id' => $project['id'])), - 'color' => $color, - 'not_defined' => empty($project['start_date']) || empty($project['end_date']), - 'users' => $this->projectUserRoleModel->getAllUsersGroupedByRole($project['id']), - ); - } - - return $bars; - } -} diff --git a/app/Formatter/TaskGanttFormatter.php b/app/Formatter/TaskGanttFormatter.php deleted file mode 100644 index ddb3f93a..00000000 --- a/app/Formatter/TaskGanttFormatter.php +++ /dev/null @@ -1,78 +0,0 @@ -<?php - -namespace Kanboard\Formatter; - -use Kanboard\Core\Filter\FormatterInterface; - -/** - * Task Gantt Formatter - * - * @package formatter - * @author Frederic Guillot - */ -class TaskGanttFormatter extends BaseFormatter implements FormatterInterface -{ - /** - * Local cache for project columns - * - * @access private - * @var array - */ - private $columns = array(); - - /** - * Apply formatter - * - * @access public - * @return array - */ - public function format() - { - $bars = array(); - - foreach ($this->query->findAll() as $task) { - $bars[] = $this->formatTask($task); - } - - return $bars; - } - - /** - * Format a single task - * - * @access private - * @param array $task - * @return array - */ - private function formatTask(array $task) - { - if (! isset($this->columns[$task['project_id']])) { - $this->columns[$task['project_id']] = $this->columnModel->getList($task['project_id']); - } - - $start = $task['date_started'] ?: time(); - $end = $task['date_due'] ?: $start; - - return array( - 'type' => 'task', - 'id' => $task['id'], - 'title' => $task['title'], - 'start' => array( - (int) date('Y', $start), - (int) date('n', $start), - (int) date('j', $start), - ), - 'end' => array( - (int) date('Y', $end), - (int) date('n', $end), - (int) date('j', $end), - ), - 'column_title' => $task['column_name'], - 'assignee' => $task['assignee_name'] ?: $task['assignee_username'], - 'progress' => $this->taskModel->getProgress($task, $this->columns[$task['project_id']]).'%', - 'link' => $this->helper->url->href('TaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])), - 'color' => $this->colorModel->getColorProperties($task['color_id']), - 'not_defined' => empty($task['date_due']) || empty($task['date_started']), - ); - } -} diff --git a/app/Locale/bs_BA/translations.php b/app/Locale/bs_BA/translations.php index fc771db5..761f2c8b 100644 --- a/app/Locale/bs_BA/translations.php +++ b/app/Locale/bs_BA/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licenca:', 'License' => 'Licenca', 'Enter the text below' => 'Unesi tekst ispod', - 'Sort by position' => 'Sortiraj po poziciji', - 'Sort by date' => 'Sortiraj po datumu', - 'Add task' => 'Dodaj zadatak', 'Start date:' => 'Početno vrijeme:', 'Due date:' => 'Vrijeme do kada treba završiti:', - 'There is no start date or due date for this task.' => 'Nema početnog datuma ili datuma do kada treba završiti ovaj zadatak.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Premještanje ili promjena veličine zadatka će promijeniti datum početka i datum do kada treba završiti zadatak.', - 'There is no task in your project.' => 'Nema zadataka u projektu.', - 'Gantt chart' => 'Gantogram', 'People who are project managers' => 'Osobe koji su menadžeri projekta', 'People who are project members' => 'Osobe koje su članovi projekta', 'NOK - Norwegian Krone' => 'NOK - Norveška kruna', @@ -749,22 +742,15 @@ return array( 'Members' => 'Članovi', 'Shared project' => 'Dijeljeni projekti', 'Project managers' => 'Menadžeri projekta', - 'Gantt chart for all projects' => 'Gantogram za sve projekte', 'Projects list' => 'Lista projekata', - 'Gantt chart for this project' => 'Gantogram za ovaj projekat', - 'Project board' => 'Ploča projekta', 'End date:' => 'Datum završetka:', - 'There is no start date or end date for this project.' => 'Nema početnog ili krajnjeg datuma za ovaj projekat.', - 'Projects Gantt chart' => 'Gantogram projekata', 'Change task color when using a specific task link' => 'Promijeni boju zadatka kada se koristi određena veza na zadatku', 'Task link creation or modification' => 'Veza na zadatku je napravljena ili izmijenjena', 'Milestone' => 'Prekretnica', 'Documentation: %s' => 'Dokumentacija: %s', - 'Switch to the Gantt chart view' => 'Promijeni u gantogram pregled', 'Reset the search/filter box' => 'Vrati na početno pretragu/filtere', 'Documentation' => 'Dokumentacija', 'Table of contents' => 'Sadržaj', - 'Gantt' => 'Gantogram', 'Author' => 'Autor', 'Version' => 'Verzija', 'Plugins' => 'Dodaci', diff --git a/app/Locale/cs_CZ/translations.php b/app/Locale/cs_CZ/translations.php index b308987a..acf10d3c 100644 --- a/app/Locale/cs_CZ/translations.php +++ b/app/Locale/cs_CZ/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licence:', 'License' => 'Licence', 'Enter the text below' => 'Zadejte text níže', - 'Sort by position' => 'Třídit podle pozice', - 'Sort by date' => 'Třídit podle datumu', - 'Add task' => 'Přidat úkol', 'Start date:' => 'Termín zahájení:', 'Due date:' => 'Termín dokončení:', - 'There is no start date or due date for this task.' => 'Úkol nemá nastaven termín zahájení a dokončení.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Posunutím nebo prodloužením úkolu se změní počáteční a konečné datum úkolu. ', - 'There is no task in your project.' => 'Projekt neobsahuje žádné úkoly.', - 'Gantt chart' => 'Gantt graf', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( // 'Members' => '', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', // 'Milestone' => '', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php index ff60ae0b..6cba57b4 100644 --- a/app/Locale/da_DK/translations.php +++ b/app/Locale/da_DK/translations.php @@ -729,15 +729,8 @@ return array( // 'License:' => '', // 'License' => '', // 'Enter the text below' => '', - 'Sort by position' => 'Sorter udfra position', - 'Sort by date' => 'Sorter ud fra dato', - 'Add task' => 'Tilføj opgave', 'Start date:' => 'Start dato:', 'Due date:' => 'Forfaldsdato:', - // 'There is no start date or due date for this task.' => '', - 'Moving or resizing a task will change the start and due date of the task.' => 'Hvis du flytter eller trækker i en opgave vil det ændre start -og forfaldsdato', - 'There is no task in your project.' => 'Der er ikke nogle opgaver i dette projekt', - // 'Gantt chart' => '', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( 'Members' => 'Medlemmer', 'Shared project' => 'Delt projekt', 'Project managers' => 'Projekt managers', - 'Gantt chart for all projects' => 'Gantt chart for alle projekter', 'Projects list' => 'Projekt liste', - 'Gantt chart for this project' => 'Gantt chart for dette projekt', - 'Project board' => 'Projekt tavle', 'End date:' => 'Slut dato:', - 'There is no start date or end date for this project.' => 'Der er ikke nogen start eller slut dato for dette projekt.', - 'Projects Gantt chart' => 'Gantt chart på Projekter', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', 'Milestone' => 'Milepæl', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', 'Author' => 'Forfatter', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php index 6a8024f5..abf32bda 100644 --- a/app/Locale/de_DE/translations.php +++ b/app/Locale/de_DE/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Lizenz:', 'License' => 'Lizenz', 'Enter the text below' => 'Text unten eingeben', - 'Sort by position' => 'Nach Position sortieren', - 'Sort by date' => 'Nach Datum sortieren', - 'Add task' => 'Aufgabe hinzufügen', 'Start date:' => 'Startdatum:', 'Due date:' => 'Ablaufdatum:', - 'There is no start date or due date for this task.' => 'Diese Aufgabe hat kein Start oder Ablaufdatum.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Aufgabe verschieben/ändern, ändert auch Start- und Ablaufdatum der Aufgabe.', - 'There is no task in your project.' => 'Es gibt keine Aufgabe in deinem Projekt', - 'Gantt chart' => 'Gantt Diagramm', 'People who are project managers' => 'Benutzer die Projektmanager sind', 'People who are project members' => 'Benutzer die Projektmitglieder sind', 'NOK - Norwegian Krone' => 'NOK - Norwegische Kronen', @@ -749,22 +742,15 @@ return array( 'Members' => 'Mitglieder', 'Shared project' => 'Geteiltes Projekt', 'Project managers' => 'Projektmanager', - 'Gantt chart for all projects' => 'Gantt Diagramm für alle Projekte', 'Projects list' => 'Projektliste', - 'Gantt chart for this project' => 'Gantt Diagramm für dieses Projekt', - 'Project board' => 'Projekt Pinnwand', 'End date:' => 'Endedatum:', - 'There is no start date or end date for this project.' => 'Es gibt kein Startdatum oder Endedatum für dieses Projekt', - 'Projects Gantt chart' => 'Projekt Gantt Diagramm', 'Change task color when using a specific task link' => 'Aufgabefarbe ändern bei bestimmter Aufgabenverbindung', 'Task link creation or modification' => 'Aufgabenverbindung erstellen oder bearbeiten', 'Milestone' => 'Meilenstein', 'Documentation: %s' => 'Dokumentation: %s', - 'Switch to the Gantt chart view' => 'Zur Gantt-Diagramm Ansicht wechseln', 'Reset the search/filter box' => 'Suche/Filter-Box zurücksetzen', 'Documentation' => 'Dokumentation', 'Table of contents' => 'Inhaltsverzeichnis', - 'Gantt' => 'Gantt', 'Author' => 'Autor', 'Version' => 'Version', 'Plugins' => 'Plugins', diff --git a/app/Locale/el_GR/translations.php b/app/Locale/el_GR/translations.php index 3938413b..57f5f98e 100644 --- a/app/Locale/el_GR/translations.php +++ b/app/Locale/el_GR/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Άδεια:', 'License' => 'Άδεια', 'Enter the text below' => 'Πληκτρολογήστε το παρακάτω κείμενο', - 'Sort by position' => 'Ταξινόμηση κατά Θέση', - 'Sort by date' => 'Ταξινόμηση κατά ημέρα', - 'Add task' => 'Προσθήκη εργασίας', 'Start date:' => 'Ημερομηνία εκκίνησης :', 'Due date:' => 'Ημερομηνία λήξης:', - 'There is no start date or due date for this task.' => 'Δεν υπάρχει ημερομηνία έναρξης ή ημερομηνία λήξης καθηκόντων για το έργο αυτό.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Μετακίνηση ή αλλαγή μεγέθους μιας εργασίας θα αλλάξει την ώρα έναρξης και ημερομηνία λήξης της εργασίας.', - 'There is no task in your project.' => 'Δεν υπάρχει καμία εργασία στο έργο σας.', - 'Gantt chart' => 'Διαγράμματα Gantt', 'People who are project managers' => 'Οι άνθρωποι που είναι οι διευθυντές έργων', 'People who are project members' => 'Οι άνθρωποι που είναι μέλη των έργων', 'NOK - Norwegian Krone' => 'NOK - Norwegian Krone', @@ -749,22 +742,15 @@ return array( 'Members' => 'Μέλη', 'Shared project' => 'Κοινόχρηστο έργο', 'Project managers' => 'Διευθυντές έργου', - 'Gantt chart for all projects' => 'Διάγραμμα Gantt για όλα τα έργα', 'Projects list' => 'Λίστα έργων', - 'Gantt chart for this project' => 'Διάγραμμα Gantt για το έργο', - 'Project board' => 'Κεντρικός πίνακας έργου', 'End date:' => 'Ημερομηνία λήξης :', - 'There is no start date or end date for this project.' => 'Δεν υπάρχει ημερομηνία έναρξης ή λήξης για το έργο αυτό.', - 'Projects Gantt chart' => 'Διάγραμμα Gantt έργων', 'Change task color when using a specific task link' => 'Αλλαγή χρώματος εργασίας χρησιμοποιώντας συγκεκριμένο σύνδεσμο εργασίας', 'Task link creation or modification' => 'Σύνδεσμος δημιουργίας ή τροποποίησης εργασίας', 'Milestone' => 'Ορόσημο', 'Documentation: %s' => 'Τεκμηρίωση: %s', - 'Switch to the Gantt chart view' => 'Μεταφορά σε προβολή διαγράμματος Gantt', 'Reset the search/filter box' => 'Αρχικοποίηση του πεδίου αναζήτησης/φιλτραρίσματος', 'Documentation' => 'Τεκμηρίωση', 'Table of contents' => 'Πίνακας περιεχομένων', - 'Gantt' => 'Gantt', 'Author' => 'Δημιουργός', 'Version' => 'Έκδοση', 'Plugins' => 'Πρόσθετα', diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php index 7b3d2255..cc8f4d09 100644 --- a/app/Locale/es_ES/translations.php +++ b/app/Locale/es_ES/translations.php @@ -729,15 +729,8 @@ return array( // 'License:' => '', // 'License' => '', // 'Enter the text below' => '', - // 'Sort by position' => '', - // 'Sort by date' => '', - // 'Add task' => '', // 'Start date:' => '', // 'Due date:' => '', - // 'There is no start date or due date for this task.' => '', - // 'Moving or resizing a task will change the start and due date of the task.' => '', - // 'There is no task in your project.' => '', - // 'Gantt chart' => '', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( // 'Members' => '', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', // 'Milestone' => '', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php index 2566fa7b..5a942a2c 100644 --- a/app/Locale/fi_FI/translations.php +++ b/app/Locale/fi_FI/translations.php @@ -729,15 +729,8 @@ return array( // 'License:' => '', // 'License' => '', // 'Enter the text below' => '', - // 'Sort by position' => '', - // 'Sort by date' => '', - // 'Add task' => '', // 'Start date:' => '', // 'Due date:' => '', - // 'There is no start date or due date for this task.' => '', - // 'Moving or resizing a task will change the start and due date of the task.' => '', - // 'There is no task in your project.' => '', - // 'Gantt chart' => '', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( // 'Members' => '', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', // 'Milestone' => '', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php index 3bb5b0be..0d3fb35d 100644 --- a/app/Locale/fr_FR/translations.php +++ b/app/Locale/fr_FR/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licence :', 'License' => 'Licence', 'Enter the text below' => 'Entrez le texte ci-dessous', - 'Sort by position' => 'Trier par position', - 'Sort by date' => 'Trier par date', - 'Add task' => 'Ajouter une tâche', 'Start date:' => 'Date de début :', 'Due date:' => 'Date d\'échéance :', - 'There is no start date or due date for this task.' => 'Il n\'y a pas de date de début ou de date de fin pour cette tâche.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Déplacer ou redimensionner une tâche va changer la date de début et la date de fin de la tâche.', - 'There is no task in your project.' => 'Il n\'y a aucune tâche dans votre projet.', - 'Gantt chart' => 'Diagramme de Gantt', 'People who are project managers' => 'Personnes qui sont gestionnaires de projet', 'People who are project members' => 'Personnes qui sont membres de projet', 'NOK - Norwegian Krone' => 'NOK - Couronne norvégienne', @@ -749,22 +742,15 @@ return array( 'Members' => 'Membres', 'Shared project' => 'Projet partagé', 'Project managers' => 'Gestionnaires de projet', - 'Gantt chart for all projects' => 'Diagramme de Gantt pour tous les projets', 'Projects list' => 'Liste des projets', - 'Gantt chart for this project' => 'Diagramme de Gantt pour ce projet', - 'Project board' => 'Tableau du projet', 'End date:' => 'Date de fin :', - 'There is no start date or end date for this project.' => 'Il n\'y a pas de date de début ou de date de fin pour ce projet.', - 'Projects Gantt chart' => 'Diagramme de Gantt des projets', 'Change task color when using a specific task link' => 'Changer la couleur de la tâche lorsqu\'un lien spécifique est utilisé', 'Task link creation or modification' => 'Création ou modification d\'un lien sur une tâche', 'Milestone' => 'Étape importante', 'Documentation: %s' => 'Documentation : %s', - 'Switch to the Gantt chart view' => 'Passer à la vue en diagramme de Gantt', 'Reset the search/filter box' => 'Réinitialiser le champ de recherche', 'Documentation' => 'Documentation', 'Table of contents' => 'Table des matières', - 'Gantt' => 'Gantt', 'Author' => 'Auteur', 'Version' => 'Version', 'Plugins' => 'Extensions', diff --git a/app/Locale/hr_HR/translations.php b/app/Locale/hr_HR/translations.php index 8965623d..9bb7a9e4 100644 --- a/app/Locale/hr_HR/translations.php +++ b/app/Locale/hr_HR/translations.php @@ -729,15 +729,8 @@ return array( // 'License:' => '', // 'License' => '', // 'Enter the text below' => '', - // 'Sort by position' => '', - // 'Sort by date' => '', - // 'Add task' => '', // 'Start date:' => '', // 'Due date:' => '', - // 'There is no start date or due date for this task.' => '', - // 'Moving or resizing a task will change the start and due date of the task.' => '', - // 'There is no task in your project.' => '', - // 'Gantt chart' => '', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( 'Members' => 'Članovi', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', // 'Milestone' => '', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', 'Documentation' => 'Dokumentacija', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php index 9685486b..7e153029 100644 --- a/app/Locale/hu_HU/translations.php +++ b/app/Locale/hu_HU/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Engedély:', 'License' => 'Engedély', 'Enter the text below' => 'Adja be a lenti szöveget', - 'Sort by position' => 'Rendezés hely szerint', - 'Sort by date' => 'Rendezés idő szerint', - 'Add task' => 'Feladat hozzáadása', 'Start date:' => 'Kezdés ideje: ', 'Due date:' => 'Határidő: ', - 'There is no start date or due date for this task.' => 'Ehhez a feladathoz nem adtak meg kezdési időt vagy határidőt.', - 'Moving or resizing a task will change the start and due date of the task.' => 'A feladat elmozgatása vagy méretének megváltoztatása meg fogja változtatni a feladat kezdési idejét és határidejét.', - 'There is no task in your project.' => 'Az ön projektjében nincsenek feladatok.', - 'Gantt chart' => 'Gantt diagram', 'People who are project managers' => 'Projekt vezetők', 'People who are project members' => 'Projekt tagok', 'NOK - Norwegian Krone' => 'NOK - Norvég korona', @@ -749,22 +742,15 @@ return array( 'Members' => 'Tagok', 'Shared project' => 'Közös projekt', 'Project managers' => 'Projektvezetők', - 'Gantt chart for all projects' => 'Gantt diagram az összes projektre vonatkozóan', 'Projects list' => 'Projekt lista', - 'Gantt chart for this project' => 'Gantt diagram erre a projektre vonatkozóan', - 'Project board' => 'Projekt tábla', 'End date:' => 'Befejezés dátuma: ', - 'There is no start date or end date for this project.' => 'Ennél a projektnél nem adták meg a kezdés és a befejezés dátumát.', - 'Projects Gantt chart' => 'A projektek Gantt diagramja', 'Change task color when using a specific task link' => 'Az egyes specifikus feladat hivatkozások használatakor a feladat színének megváltoztatása', 'Task link creation or modification' => 'Feladat hivatkozás létrehozása vagy módosítása', 'Milestone' => 'Mérföldkő', 'Documentation: %s' => 'Dokumentáció: %s', - 'Switch to the Gantt chart view' => 'Átkapcsolás a Gantt diagram nézetre', 'Reset the search/filter box' => 'A keresés/szűrés doboz alaphelyzetbe állítása', 'Documentation' => 'Dokumentáció', 'Table of contents' => 'Tartalomjegyzék', - 'Gantt' => 'Gantt', 'Author' => 'Szerző', 'Version' => 'Verzió', 'Plugins' => 'Plugin-ek', diff --git a/app/Locale/id_ID/translations.php b/app/Locale/id_ID/translations.php index e0c402c3..358e77b6 100644 --- a/app/Locale/id_ID/translations.php +++ b/app/Locale/id_ID/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Lisensi:', 'License' => 'Lisensi', 'Enter the text below' => 'Masukkan teks di bawah', - 'Sort by position' => 'Urutkan berdasarkan posisi', - 'Sort by date' => 'Urutkan berdasarkan tanggal', - 'Add task' => 'Tambah tugas', 'Start date:' => 'Tanggal mulai:', 'Due date:' => 'Batas waktu:', - 'There is no start date or due date for this task.' => 'Tidak ada tanggal mulai dan batas waktu untuk tugas ini.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Memindahkan atau mengubah ukuran tugas anda akan mengubah tanggal mulai dan batas waktu dari tugas ini.', - 'There is no task in your project.' => 'Tidak ada tugas didalam proyek anda.', - 'Gantt chart' => 'Grafik Gantt', 'People who are project managers' => 'Orang-orang yang menjadi manajer proyek', 'People who are project members' => 'Orang-orang yang menjadi anggota proyek', 'NOK - Norwegian Krone' => 'NOK - Krone Norwegia', @@ -749,22 +742,15 @@ return array( 'Members' => 'Anggota', 'Shared project' => 'Proyek bersama', 'Project managers' => 'Manajer proyek', - 'Gantt chart for all projects' => 'Grafik Gantt untuk semua proyek', 'Projects list' => 'Daftar proyek', - 'Gantt chart for this project' => 'Grafik Gantt untuk proyek ini', - 'Project board' => 'Papan proyek', 'End date:' => 'Waktu berakhir:', - 'There is no start date or end date for this project.' => 'Tidak ada waktu mulai atau waktu berakhir untuk proyek ini', - 'Projects Gantt chart' => 'Grafik Gantt proyek', 'Change task color when using a specific task link' => 'Ganti warna tugas ketika menggunakan tautan tugas yang spesifik', 'Task link creation or modification' => 'Tautan pembuatan atau modifikasi tugas ', 'Milestone' => 'Milestone', 'Documentation: %s' => 'Dokumentasi: %s', - 'Switch to the Gantt chart view' => 'Beralih ke tampilan grafik Gantt', 'Reset the search/filter box' => 'Reset kotak pencarian/saringan', 'Documentation' => 'Dokumentasi', 'Table of contents' => 'Daftar isi', - 'Gantt' => 'Gantt', 'Author' => 'Penulis', 'Version' => 'Versi', 'Plugins' => 'Plugin', diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php index db9174fe..cbed6a8b 100644 --- a/app/Locale/it_IT/translations.php +++ b/app/Locale/it_IT/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licenza:', 'License' => 'Licenza', 'Enter the text below' => 'Inserisci il testo qui sotto', - 'Sort by position' => 'Ordina per posizione', - 'Sort by date' => 'Ordina per data', - 'Add task' => 'Aggiungi task', 'Start date:' => 'Data di inizio:', 'Due date:' => 'Data di completamento:', - 'There is no start date or due date for this task.' => 'Nessuna data di inizio o di scadenza per questo task.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Spostando o ridimensionado un task ne modifca la data di inizio e di scadenza.', - 'There is no task in your project.' => 'Non ci sono task nel tuo progetto.', - 'Gantt chart' => 'Grafici Gantt', 'People who are project managers' => 'Persone che sono manager di progetto', 'People who are project members' => 'Persone che sono membri di progetto', 'NOK - Norwegian Krone' => 'NOK - Corone norvegesi', @@ -749,22 +742,15 @@ return array( 'Members' => 'Membri', 'Shared project' => 'Progetto condiviso', 'Project managers' => 'Manager di progetto', - 'Gantt chart for all projects' => 'Grafico Gantt per tutti i progetti', 'Projects list' => 'Elenco progetti', - 'Gantt chart for this project' => 'Grafico Gantt per questo progetto', - 'Project board' => 'Bacheca del progetto', 'End date:' => 'Data di fine:', - 'There is no start date or end date for this project.' => 'Non è prevista una data di inizio o fine per questo progetto.', - 'Projects Gantt chart' => 'Grafico Gantt dei progetti', 'Change task color when using a specific task link' => 'Cambia colore del task quando si un utilizza una determinata relazione di task', 'Task link creation or modification' => 'Creazione o modifica di relazione di task', // 'Milestone' => '', 'Documentation: %s' => 'Documentazione: %s', - 'Switch to the Gantt chart view' => 'Passa alla vista Grafico Gantt', 'Reset the search/filter box' => 'Resetta la riceca/filtro', 'Documentation' => 'Documentazione', 'Table of contents' => 'Indice dei contenuti', - 'Gantt' => 'Gantt', 'Author' => 'Autore', 'Version' => 'Versione', 'Plugins' => 'Plugin', diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php index 8114afb9..e5084b4f 100644 --- a/app/Locale/ja_JP/translations.php +++ b/app/Locale/ja_JP/translations.php @@ -729,15 +729,8 @@ return array( // 'License:' => '', // 'License' => '', // 'Enter the text below' => '', - // 'Sort by position' => '', - // 'Sort by date' => '', - // 'Add task' => '', // 'Start date:' => '', // 'Due date:' => '', - // 'There is no start date or due date for this task.' => '', - // 'Moving or resizing a task will change the start and due date of the task.' => '', - // 'There is no task in your project.' => '', - // 'Gantt chart' => '', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( // 'Members' => '', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', // 'Milestone' => '', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/ko_KR/translations.php b/app/Locale/ko_KR/translations.php index c5c3b669..ef343e18 100644 --- a/app/Locale/ko_KR/translations.php +++ b/app/Locale/ko_KR/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => '라이센스:', 'License' => '라이센스', 'Enter the text below' => '아랫글로 들어가기', - 'Sort by position' => '위치별 정렬', - 'Sort by date' => '날짜별 정렬', - 'Add task' => '할일 추가', 'Start date:' => '시작일:', 'Due date:' => '만기일:', - 'There is no start date or due date for this task.' => '할일의 시작일 또는 만기일이 없습니다', - 'Moving or resizing a task will change the start and due date of the task.' => '할일의 이동 혹은 리사이징으로 시작시간과 마감시간이 변경됩니다.', - 'There is no task in your project.' => '프로젝트에 할일이 없습니다.', - 'Gantt chart' => '간트 차트', 'People who are project managers' => '프로젝트 매니저', 'People who are project members' => '프로젝트 멤버', 'NOK - Norwegian Krone' => 'NOK - 노르웨이 크로네', @@ -749,22 +742,15 @@ return array( 'Members' => '멤버', 'Shared project' => '프로젝트 공유', 'Project managers' => '프로젝트 매니저', - 'Gantt chart for all projects' => '모든 프로젝트의 간트 차트', 'Projects list' => '프로젝트 리스트', - 'Gantt chart for this project' => '이 프로젝트 간트차트', - 'Project board' => '프로젝트 보드', 'End date:' => '날짜 수정', - 'There is no start date or end date for this project.' => '이 프로젝트에는 시작날짜와 종료날짜가 없습니다', - 'Projects Gantt chart' => '프로젝트 간트차트', 'Change task color when using a specific task link' => '특정 할일 링크를 사용할때 할일의 색깔 변경', 'Task link creation or modification' => '할일 링크 생성 혹은 수정', 'Milestone' => '마일스톤', 'Documentation: %s' => '문서: %s', - 'Switch to the Gantt chart view' => '간트 차트 보기로 변경', 'Reset the search/filter box' => '찾기/필터 박스 초기화', 'Documentation' => '문서', 'Table of contents' => '목차', - 'Gantt' => '간트', 'Author' => '글쓴이', 'Version' => '버전', 'Plugins' => '플러그인', diff --git a/app/Locale/my_MY/translations.php b/app/Locale/my_MY/translations.php index 40327f6c..0b11a1b3 100644 --- a/app/Locale/my_MY/translations.php +++ b/app/Locale/my_MY/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Lesen:', 'License' => 'Lesen', 'Enter the text below' => 'Masukkan teks di bawah', - 'Sort by position' => 'Urutkan berdasarkan posisi', - 'Sort by date' => 'Urutkan berdasarkan tanggal', - 'Add task' => 'Tambah tugas', 'Start date:' => 'Tanggal mulai:', 'Due date:' => 'Batas waktu:', - 'There is no start date or due date for this task.' => 'Tiada tanggal mulai dan batas waktu untuk tugas ini.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Memindahkan atau mengubah ukuran tugas anda akan mengubah tanggal mulai dan batas waktu dari tugas ini.', - 'There is no task in your project.' => 'Tiada tugas didalam projek anda.', - 'Gantt chart' => 'Carta Gantt', 'People who are project managers' => 'Orang-orang yang menjadi pengurus projek', 'People who are project members' => 'Orang-orang yang menjadi anggota projek', 'NOK - Norwegian Krone' => 'NOK - Krone Norwegia', @@ -749,22 +742,15 @@ return array( 'Members' => 'Anggota', 'Shared project' => 'projek bersama', 'Project managers' => 'Pengurus projek', - 'Gantt chart for all projects' => 'Carta Gantt untuk kesemua projek', 'Projects list' => 'Senarai projek', - 'Gantt chart for this project' => 'Carta Gantt untuk projek ini', - 'Project board' => 'Papan projek', 'End date:' => 'Waktu berakhir :', - 'There is no start date or end date for this project.' => 'Tidak ada waktu mula atau waktu berakhir pada projek ini', - 'Projects Gantt chart' => 'projekkan carta Gantt', 'Change task color when using a specific task link' => 'Rubah warna tugas ketika menggunakan Pautan tugas yang spesifik', 'Task link creation or modification' => 'Pautan tugas pada penciptaan atau penyuntingan', 'Milestone' => 'Batu Tanda', 'Documentation: %s' => 'Dokumentasi : %s', - 'Switch to the Gantt chart view' => 'Beralih ke tampilan Carta Gantt', 'Reset the search/filter box' => 'Tetap semula pencarian/saringan', 'Documentation' => 'Dokumentasi', 'Table of contents' => 'Isi kandungan', - 'Gantt' => 'Gantt', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/nb_NO/translations.php b/app/Locale/nb_NO/translations.php index 3f1f211a..0e07f0a3 100644 --- a/app/Locale/nb_NO/translations.php +++ b/app/Locale/nb_NO/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Lisens:', 'License' => 'Lisens', 'Enter the text below' => 'Legg inn teksten nedenfor', - // 'Sort by position' => '', - 'Sort by date' => 'Sorter etter dato', - 'Add task' => 'Legg til oppgave', 'Start date:' => 'Startdato:', 'Due date:' => 'Frist:', - 'There is no start date or due date for this task.' => 'Det er ingen startdato eller frist for denne oppgaven', - // 'Moving or resizing a task will change the start and due date of the task.' => '', - 'There is no task in your project.' => 'Det er ingen oppgaver i dette prosjektet', - 'Gantt chart' => 'Gantt skjema', 'People who are project managers' => 'Prosjektledere', 'People who are project members' => 'Prosjektmedlemmer', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( 'Members' => 'Medlemmer', 'Shared project' => 'Delt prosjekt', 'Project managers' => 'Prosjektledere', - // 'Gantt chart for all projects' => '', 'Projects list' => 'Prosjektliste', - 'Gantt chart for this project' => 'Gantt skjema for dette prosjektet', - 'Project board' => 'Prosjektsiden', 'End date:' => 'Sluttdato:', - // 'There is no start date or end date for this project.' => '', - 'Projects Gantt chart' => 'Gantt skjema for prosjekter', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', 'Milestone' => 'Milepæl', 'Documentation: %s' => 'Dokumentasjon: %s', - 'Switch to the Gantt chart view' => 'Gantt skjema visning', 'Reset the search/filter box' => 'Nullstill søk/filter', 'Documentation' => 'Dokumentasjon', 'Table of contents' => 'Innholdsfortegnelse', - 'Gantt' => 'Gantt', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/nl_NL/translations.php b/app/Locale/nl_NL/translations.php index 2b8fdbc4..4567cb33 100644 --- a/app/Locale/nl_NL/translations.php +++ b/app/Locale/nl_NL/translations.php @@ -729,15 +729,8 @@ return array( // 'License:' => '', // 'License' => '', // 'Enter the text below' => '', - // 'Sort by position' => '', - // 'Sort by date' => '', - // 'Add task' => '', // 'Start date:' => '', // 'Due date:' => '', - // 'There is no start date or due date for this task.' => '', - // 'Moving or resizing a task will change the start and due date of the task.' => '', - // 'There is no task in your project.' => '', - // 'Gantt chart' => '', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( 'Members' => 'Leden', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', 'Milestone' => 'Mijlpaal', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php index d23df58e..1741987c 100644 --- a/app/Locale/pl_PL/translations.php +++ b/app/Locale/pl_PL/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licencja:', 'License' => 'Licencja', 'Enter the text below' => 'Wpisz tekst poniżej', - 'Sort by position' => 'Sortuj wg pozycji', - 'Sort by date' => 'Sortuj wg daty', - 'Add task' => 'Dodaj zadanie', 'Start date:' => 'Data rozpoczęcia:', 'Due date:' => 'Termin', - 'There is no start date or due date for this task.' => 'Brak daty rozpoczęcia lub terminu zadania', - 'Moving or resizing a task will change the start and due date of the task.' => 'Przeniesienie bądź edycja zmieni datę rozpoczęcia oraz termin ukończenia zadania.', - 'There is no task in your project.' => 'Brak zadań w projekcie.', - 'Gantt chart' => 'Wykres Gantta', 'People who are project managers' => 'Użytkownicy będący menedżerami projektu', 'People who are project members' => 'Użytkownicy będący uczestnikami projektu', 'NOK - Norwegian Krone' => 'NOK - Korona norweska', @@ -749,22 +742,15 @@ return array( 'Members' => 'Członkowie', 'Shared project' => 'Projekt udostępniony', 'Project managers' => 'Menedżerowie projektu', - 'Gantt chart for all projects' => 'Wykres Gantta dla wszystkich projektów', 'Projects list' => 'Lista projektów', - 'Gantt chart for this project' => 'Wykres Gantta dla bieżacego projektu', - 'Project board' => 'Talica projektu', 'End date:' => 'Data zakończenia:', - 'There is no start date or end date for this project.' => 'Nie zdefiniowano czasu trwania projektu', - 'Projects Gantt chart' => 'Wykres Gantta dla projektów', 'Change task color when using a specific task link' => 'Zmień kolor zadania używając specjalnego adresu URL', 'Task link creation or modification' => 'Adres URL do utworzenia zadania lub modyfikacji', 'Milestone' => 'Kamień milowy', 'Documentation: %s' => 'Dokumentacja: %s', - 'Switch to the Gantt chart view' => 'Przełącz na wykres Gantta', 'Reset the search/filter box' => 'Zresetuj pole wyszukiwania/filtrowania', 'Documentation' => 'Dokumentacja', 'Table of contents' => 'Tablica zawartości', - // 'Gantt' => '', 'Author' => 'Autor', 'Version' => 'Wersja', 'Plugins' => 'Wtyczki', diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php index 4a8202de..d19ada1e 100644 --- a/app/Locale/pt_BR/translations.php +++ b/app/Locale/pt_BR/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licença:', 'License' => 'Licença', 'Enter the text below' => 'Entre o texto abaixo', - 'Sort by position' => 'Ordenar por posição', - 'Sort by date' => 'Ordenar por data', - 'Add task' => 'Adicionar uma tarefa', 'Start date:' => 'Data de início:', 'Due date:' => 'Data fim estimada:', - 'There is no start date or due date for this task.' => 'Não existe data de início ou data fim estimada para esta tarefa.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Mover ou redimensionar uma tarefa irá alterar a data de início e conclusão estimada da tarefa.', - 'There is no task in your project.' => 'Não há tarefas em seu projeto.', - 'Gantt chart' => 'Gráfico de Gantt', 'People who are project managers' => 'Pessoas que são gerente de projeto', 'People who are project members' => 'Pessoas que são membro de projeto', 'NOK - Norwegian Krone' => 'NOK - Coroa Norueguesa', @@ -749,22 +742,15 @@ return array( 'Members' => 'Membros', 'Shared project' => 'Projeto compartilhado', 'Project managers' => 'Gerentes de projeto', - 'Gantt chart for all projects' => 'Gráfico de Gantt para todos os projetos', 'Projects list' => 'Lista dos projetos', - 'Gantt chart for this project' => 'Gráfico de Gantt para este projeto', - 'Project board' => 'Painel do projeto', 'End date:' => 'Data de término:', - 'There is no start date or end date for this project.' => 'Não há data de início ou data de término para este projeto.', - 'Projects Gantt chart' => 'Gráfico de Gantt dos projetos', 'Change task color when using a specific task link' => 'Mudar a cor da tarefa quando um link específico é utilizado', 'Task link creation or modification' => 'Criação ou modificação de um link em uma tarefa', 'Milestone' => 'Milestone', 'Documentation: %s' => 'Documentação: %s', - 'Switch to the Gantt chart view' => 'Mudar para a vista gráfico de Gantt', 'Reset the search/filter box' => 'Reiniciar o campo de pesquisa', 'Documentation' => 'Documentação', 'Table of contents' => 'Índice', - 'Gantt' => 'Gantt', 'Author' => 'Autor', 'Version' => 'Versão', 'Plugins' => 'Extensões', diff --git a/app/Locale/pt_PT/translations.php b/app/Locale/pt_PT/translations.php index 769ab8c5..06b0791d 100644 --- a/app/Locale/pt_PT/translations.php +++ b/app/Locale/pt_PT/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licença:', 'License' => 'Licença', 'Enter the text below' => 'Escreva o texto em baixo', - 'Sort by position' => 'Ordenar por posição', - 'Sort by date' => 'Ordenar por data', - 'Add task' => 'Adicionar tarefa', 'Start date:' => 'Data de inicio:', 'Due date:' => 'Data de vencimento:', - 'There is no start date or due date for this task.' => 'Não existe data de inicio ou data de vencimento para esta tarefa.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Mover ou redimensionar a tarefa irá alterar a data de inicio e vencimento da tarefa.', - 'There is no task in your project.' => 'Não existe tarefa no seu projeto.', - 'Gantt chart' => 'Gráfico de Gantt', 'People who are project managers' => 'Pessoas que são gestores do projeto', 'People who are project members' => 'Pessoas que são membros do projeto', 'NOK - Norwegian Krone' => 'NOK - Coroa Norueguesa', @@ -749,22 +742,15 @@ return array( 'Members' => 'Membros', 'Shared project' => 'Projeto partilhado', 'Project managers' => 'Gestores do projeto', - 'Gantt chart for all projects' => 'Gráfico de Gantt para todos os projetos', 'Projects list' => 'Lista de projetos', - 'Gantt chart for this project' => 'Gráfico de Gantt para este projeto', - 'Project board' => 'Quadro de projeto', 'End date:' => 'Data de fim:', - 'There is no start date or end date for this project.' => 'Não existe data de inicio ou fim para este projeto.', - 'Projects Gantt chart' => 'Gráfico de Gantt dos projetos', 'Change task color when using a specific task link' => 'Alterar cor da tarefa quando se usar um tipo especifico de ligação de tarefa', 'Task link creation or modification' => 'Criação ou modificação de ligação de tarefa', 'Milestone' => 'Objectivo', 'Documentation: %s' => 'Documentação: %s', - 'Switch to the Gantt chart view' => 'Mudar para vista de gráfico de Gantt', 'Reset the search/filter box' => 'Repor caixa de procura/filtro', 'Documentation' => 'Documentação', 'Table of contents' => 'Tabela de conteúdos', - 'Gantt' => 'Gantt', 'Author' => 'Autor', 'Version' => 'Versão', 'Plugins' => 'Plugins', diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php index 122013ff..e7f44cfa 100644 --- a/app/Locale/ru_RU/translations.php +++ b/app/Locale/ru_RU/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Лицензия:', 'License' => 'Лицензия', 'Enter the text below' => 'Введите текст ниже', - 'Sort by position' => 'Сортировать по позиции', - 'Sort by date' => 'Сортировать по дате', - 'Add task' => 'Добавить задачу', 'Start date:' => 'Дата начала:', 'Due date:' => 'Дата завершения:', - 'There is no start date or due date for this task.' => 'Для этой задачи нет даты начала или завершения.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Изменение или перемещение задачи повлечет изменение даты начала и завершения задачи.', - 'There is no task in your project.' => 'В Вашем проекте задач нет.', - 'Gantt chart' => 'Диаграмма Ганта', 'People who are project managers' => 'Люди, которые менеджеры проекта', 'People who are project members' => 'Люди, которые участники проекта', 'NOK - Norwegian Krone' => 'НК - Норвежская крона', @@ -749,22 +742,15 @@ return array( 'Members' => 'Участники', 'Shared project' => 'Общие/публичные проекты', 'Project managers' => 'Менеджер проекта', - 'Gantt chart for all projects' => 'Диаграмма Ганта для всех проектов', 'Projects list' => 'Список проектов', - 'Gantt chart for this project' => 'Диаграмма Ганта для этого проекта', - 'Project board' => 'Доска проекта', 'End date:' => 'Дата завершения:', - 'There is no start date or end date for this project.' => 'В проекте не указаны дата начала или завершения.', - 'Projects Gantt chart' => 'Диаграмма Ганта проектов', 'Change task color when using a specific task link' => 'Изменение цвета задач при использовании ссылки на определенные задачи', 'Task link creation or modification' => 'Ссылка на создание или модификацию задачи', 'Milestone' => 'Веха', 'Documentation: %s' => 'Документация: %s', - 'Switch to the Gantt chart view' => 'Переключиться в режим диаграммы Ганта', 'Reset the search/filter box' => 'Сбросить поиск/фильтр', 'Documentation' => 'Документация', 'Table of contents' => 'Содержание', - 'Gantt' => 'Гант', 'Author' => 'Автор', 'Version' => 'Версия', 'Plugins' => 'Плагины', diff --git a/app/Locale/sr_Latn_RS/translations.php b/app/Locale/sr_Latn_RS/translations.php index 0a8cd77f..9c3de8f2 100644 --- a/app/Locale/sr_Latn_RS/translations.php +++ b/app/Locale/sr_Latn_RS/translations.php @@ -729,15 +729,8 @@ return array( // 'License:' => '', // 'License' => '', // 'Enter the text below' => '', - // 'Sort by position' => '', - // 'Sort by date' => '', - // 'Add task' => '', // 'Start date:' => '', // 'Due date:' => '', - // 'There is no start date or due date for this task.' => '', - // 'Moving or resizing a task will change the start and due date of the task.' => '', - // 'There is no task in your project.' => '', - // 'Gantt chart' => '', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( // 'Members' => '', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', // 'Milestone' => '', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php index 27ba52a9..2d366c74 100644 --- a/app/Locale/sv_SE/translations.php +++ b/app/Locale/sv_SE/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Licens:', 'License' => 'Licens', 'Enter the text below' => 'Fyll i texten nedan', - 'Sort by position' => 'Sortera efter position', - 'Sort by date' => 'Sortera efter datum', - 'Add task' => 'Lägg till uppgift', 'Start date:' => 'Startdatum:', 'Due date:' => 'Slutdatum:', - 'There is no start date or due date for this task.' => 'Det finns inget startdatum eller slutdatum för uppgiften.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Flytt eller storleksändring av uppgiften ändrar start och slutdatum för uppgiften', - 'There is no task in your project.' => 'Det finns ingen uppgift i ditt projekt.', - 'Gantt chart' => 'Gantt-schema', // 'People who are project managers' => '', // 'People who are project members' => '', // 'NOK - Norwegian Krone' => '', @@ -749,22 +742,15 @@ return array( // 'Members' => '', // 'Shared project' => '', // 'Project managers' => '', - // 'Gantt chart for all projects' => '', // 'Projects list' => '', - // 'Gantt chart for this project' => '', - // 'Project board' => '', // 'End date:' => '', - // 'There is no start date or end date for this project.' => '', - // 'Projects Gantt chart' => '', // 'Change task color when using a specific task link' => '', // 'Task link creation or modification' => '', // 'Milestone' => '', // 'Documentation: %s' => '', - // 'Switch to the Gantt chart view' => '', // 'Reset the search/filter box' => '', // 'Documentation' => '', // 'Table of contents' => '', - // 'Gantt' => '', // 'Author' => '', // 'Version' => '', // 'Plugins' => '', diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php index f9a537f0..eda6344e 100644 --- a/app/Locale/th_TH/translations.php +++ b/app/Locale/th_TH/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'สัญญาอนุญาต:', 'License' => 'สัญญาอนุญาต', 'Enter the text below' => 'พิมพ์ข้อความด้านล่าง', - 'Sort by position' => 'เรียงตามตำแหน่ง', - 'Sort by date' => 'เรียงตามวัน', - 'Add task' => 'เพิ่มงาน', 'Start date:' => 'วันที่เริ่ม:', 'Due date:' => 'วันครบกำหนด:', - 'There is no start date or due date for this task.' => 'งานนี้ไม่มีวันที่เริ่มหรือวันครบกำหนด', - 'Moving or resizing a task will change the start and due date of the task.' => 'การย้ายหรือปรับขนาดงานจะมีการเปลี่ยนแปลงที่วันเริ่มต้นและวันที่ครบกำหนดของงาน', - 'There is no task in your project.' => 'โปรเจคนี้ไม่มีงาน', - 'Gantt chart' => 'แผนภูมิแกรนท์', 'People who are project managers' => 'คนที่เป็นผู้จัดการโปรเจค', 'People who are project members' => 'คนที่เป็นสมาชิกโปรเจค', 'NOK - Norwegian Krone' => 'NOK - โครนนอร์เวย์', @@ -749,22 +742,15 @@ return array( 'Members' => 'สมาชิก', 'Shared project' => 'แชร์โปรเจค', 'Project managers' => 'ผู้จัดการโปรเจค', - 'Gantt chart for all projects' => 'แผนภูมิแกรนท์สำหรับทุกโปรเจค', 'Projects list' => 'รายการโปรเจค', - 'Gantt chart for this project' => 'แผนภูมิแกรนท์สำหรับโปรเจคนี้', - 'Project board' => 'บอร์ดโปรเจค', 'End date:' => 'วันที่จบ:', - 'There is no start date or end date for this project.' => 'ไม่มีวันที่เริ่มหรือวันที่จบของโปรเจคนี้', - 'Projects Gantt chart' => 'แผนภูมิแกรน์ของโปรเจค', 'Change task color when using a specific task link' => 'เปลี่ยนสีงานเมื่อมีการใช้การเชื่อมโยงงาน', 'Task link creation or modification' => 'การสร้างการเชื่อมโยงงานหรือการปรับเปลี่ยน', 'Milestone' => 'ขั้น', 'Documentation: %s' => 'เอกสาร: %s', - 'Switch to the Gantt chart view' => 'เปลี่ยนเป็นมุมมองแผนภูมิแกรนท์', 'Reset the search/filter box' => 'รีเซตกล่องค้นหา/ตัวกรอง', 'Documentation' => 'เอกสาร', 'Table of contents' => 'สารบัญ', - 'Gantt' => 'แกรนท์', 'Author' => 'ผู้แต่ง', 'Version' => 'เวอร์ชัน', 'Plugins' => 'ปลั๊กอิน', diff --git a/app/Locale/tr_TR/translations.php b/app/Locale/tr_TR/translations.php index 56971fd2..a235d638 100644 --- a/app/Locale/tr_TR/translations.php +++ b/app/Locale/tr_TR/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => 'Lisans:', 'License' => 'Lisans', 'Enter the text below' => 'Aşağıdaki metni girin', - 'Sort by position' => 'Pozisyona göre sırala', - 'Sort by date' => 'Tarihe göre sırala', - 'Add task' => 'Görev ekle', 'Start date:' => 'Başlangıç tarihi:', 'Due date:' => 'Tamamlanması gereken tarih:', - 'There is no start date or due date for this task.' => 'Bu görev için başlangıç veya tamamlanması gereken tarih yok.', - 'Moving or resizing a task will change the start and due date of the task.' => 'Bir görevin boyutunu değiştirmek, görevin başlangıç ve tamamlanması gereken tarihlerini değiştirir.', - 'There is no task in your project.' => 'Projenizde hiç görev yok.', - 'Gantt chart' => 'Gantt diyagramı', 'People who are project managers' => 'Proje müdürü olan kişiler', 'People who are project members' => 'Proje üyesi olan kişiler', 'NOK - Norwegian Krone' => ' NOK - Norveç Kronu', @@ -749,22 +742,15 @@ return array( 'Members' => 'Üyeler', 'Shared project' => 'Paylaşılan proje', 'Project managers' => 'Proje müdürleri', - 'Gantt chart for all projects' => 'Tüm projeler için Gantt diyagramı', 'Projects list' => 'Proje listesi', - 'Gantt chart for this project' => 'Bu proje için Gantt diyagramı', - 'Project board' => 'Proje Panosu', 'End date:' => 'Bitiş tarihi:', - 'There is no start date or end date for this project.' => 'Bu proje için başlangıç veya bitiş tarihi yok.', - 'Projects Gantt chart' => 'Projeler Gantt diyagramı', 'Change task color when using a specific task link' => 'Belirli bir görev bağlantısı kullanıldığında görevin rengini değiştir', 'Task link creation or modification' => 'Görev bağlantısı oluşturulması veya değiştirilmesi', 'Milestone' => 'Kilometre taşı', 'Documentation: %s' => 'Dokümantasyon: %s', - 'Switch to the Gantt chart view' => 'Gantt diyagramı görünümüne geç', 'Reset the search/filter box' => 'Arama/Filtre kutusunu sıfırla', 'Documentation' => 'Dokümantasyon', 'Table of contents' => 'İçindekiler', - 'Gantt' => 'Gantt', 'Author' => 'Yazar', 'Version' => 'Versiyon', 'Plugins' => 'Eklentiler', diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php index 908f7989..5c5d19f0 100644 --- a/app/Locale/zh_CN/translations.php +++ b/app/Locale/zh_CN/translations.php @@ -729,15 +729,8 @@ return array( 'License:' => '授权许可:', 'License' => '授权许可', 'Enter the text below' => '输入下方的文本', - 'Sort by position' => '按位置排序', - 'Sort by date' => '按日期排序', - 'Add task' => '添加任务', 'Start date:' => '开始日期', 'Due date:' => '到期日期', - 'There is no start date or due date for this task.' => '当前任务没有开始或结束时间。', - 'Moving or resizing a task will change the start and due date of the task.' => '移动或者重设任务将改变任务开始和结束时间。', - 'There is no task in your project.' => '当前项目还没有任务', - 'Gantt chart' => '甘特图', 'People who are project managers' => '项目管理员', 'People who are project members' => '项目成员', 'NOK - Norwegian Krone' => '克朗', @@ -749,22 +742,15 @@ return array( 'Members' => '成员', 'Shared project' => '公开项目', 'Project managers' => '项目管理员', - 'Gantt chart for all projects' => '所有项目的甘特图', 'Projects list' => '项目列表', - 'Gantt chart for this project' => '此项目的甘特图', - 'Project board' => '项目面板', 'End date:' => '结束日期', - 'There is no start date or end date for this project.' => '当前项目没有开始或结束日期', - 'Projects Gantt chart' => '项目甘特图', 'Change task color when using a specific task link' => '当任务关联到指定任务时改变颜色', 'Task link creation or modification' => '任务链接创建或更新时间', 'Milestone' => '里程碑', 'Documentation: %s' => '文档:%s', - 'Switch to the Gantt chart view' => '切换到甘特图', 'Reset the search/filter box' => '重置搜索/过滤框', 'Documentation' => '文档', 'Table of contents' => '表内容', - 'Gantt' => '甘特图', 'Author' => '作者', 'Version' => '版本', 'Plugins' => '插件', diff --git a/app/ServiceProvider/AuthenticationProvider.php b/app/ServiceProvider/AuthenticationProvider.php index 868696e0..a384e822 100644 --- a/app/ServiceProvider/AuthenticationProvider.php +++ b/app/ServiceProvider/AuthenticationProvider.php @@ -89,7 +89,6 @@ class AuthenticationProvider implements ServiceProviderInterface $acl->add('CustomFilterController', '*', Role::PROJECT_MEMBER); $acl->add('ExportController', '*', Role::PROJECT_MANAGER); $acl->add('TaskFileController', array('screenshot', 'create', 'save', 'remove', 'confirm'), Role::PROJECT_MEMBER); - $acl->add('TaskGanttController', '*', Role::PROJECT_MANAGER); $acl->add('ProjectViewController', array('share', 'updateSharing', 'integrations', 'updateIntegrations', 'notifications', 'updateNotifications', 'duplicate', 'doDuplication'), Role::PROJECT_MANAGER); $acl->add('ProjectPermissionController', '*', Role::PROJECT_MANAGER); $acl->add('ProjectEditController', '*', Role::PROJECT_MANAGER); @@ -145,7 +144,6 @@ class AuthenticationProvider implements ServiceProviderInterface $acl->add('TagController', '*', Role::APP_ADMIN); $acl->add('PluginController', '*', Role::APP_ADMIN); $acl->add('CurrencyController', '*', Role::APP_ADMIN); - $acl->add('ProjectGanttController', '*', Role::APP_MANAGER); $acl->add('GroupListController', '*', Role::APP_ADMIN); $acl->add('GroupCreationController', '*', Role::APP_ADMIN); $acl->add('GroupModificationController', '*', Role::APP_ADMIN); diff --git a/app/ServiceProvider/FormatterProvider.php b/app/ServiceProvider/FormatterProvider.php index a65b1162..a31bf357 100644 --- a/app/ServiceProvider/FormatterProvider.php +++ b/app/ServiceProvider/FormatterProvider.php @@ -22,11 +22,9 @@ class FormatterProvider implements ServiceProviderInterface 'BoardTaskFormatter', 'GroupAutoCompleteFormatter', 'ProjectActivityEventFormatter', - 'ProjectGanttFormatter', 'SubtaskListFormatter', 'SubtaskTimeTrackingCalendarFormatter', 'TaskAutoCompleteFormatter', - 'TaskGanttFormatter', 'TaskICalFormatter', 'TaskListFormatter', 'TaskListSubtaskFormatter', diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php index 28ced7fe..5b9eca98 100644 --- a/app/ServiceProvider/RouteProvider.php +++ b/app/ServiceProvider/RouteProvider.php @@ -122,10 +122,6 @@ class RouteProvider implements ServiceProviderInterface $container['route']->addRoute('list/:project_id', 'TaskListController', 'show'); $container['route']->addRoute('l/:project_id', 'TaskListController', 'show'); - // Gantt routes - $container['route']->addRoute('gantt/:project_id', 'TaskGanttController', 'show'); - $container['route']->addRoute('gantt/:project_id/sort/:sorting', 'TaskGanttController', 'show'); - // Feed routes $container['route']->addRoute('feed/project/:token', 'FeedController', 'project'); $container['route']->addRoute('feed/user/:token', 'FeedController', 'user'); diff --git a/app/Template/config/keyboard_shortcuts.php b/app/Template/config/keyboard_shortcuts.php index ed9ea541..4e78dbe0 100644 --- a/app/Template/config/keyboard_shortcuts.php +++ b/app/Template/config/keyboard_shortcuts.php @@ -7,7 +7,6 @@ <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 list view') ?> = <strong>v l</strong></li> - <li><?= t('Switch to the Gantt chart view') ?> = <strong>v g</strong></li> </ul> <h3><?= t('Board view') ?></h3> <ul> diff --git a/app/Template/project/dropdown.php b/app/Template/project/dropdown.php index 39cb985c..28fd9ba2 100644 --- a/app/Template/project/dropdown.php +++ b/app/Template/project/dropdown.php @@ -7,12 +7,6 @@ <li> <?= $this->url->icon('list', t('Listing'), 'TaskListController', 'show', array('project_id' => $project['id'])) ?> </li> - <?php if ($this->user->hasProjectAccess('TaskGanttController', 'show', $project['id'])): ?> - <li> - <?= $this->url->icon('sliders', t('Gantt'), 'TaskGanttController', 'show', array('project_id' => $project['id'])) ?> - </li> - <?php endif ?> - <li> <?= $this->modal->medium('dashboard', t('Activity'), 'ActivityController', 'project', array('project_id' => $project['id'])) ?> </li> diff --git a/app/Template/project_gantt/show.php b/app/Template/project_gantt/show.php deleted file mode 100644 index 725f348d..00000000 --- a/app/Template/project_gantt/show.php +++ /dev/null @@ -1,42 +0,0 @@ -<section id="main"> - <div class="page-header"> - <ul> - <?php if ($this->user->hasAccess('ProjectCreationController', 'create')): ?> - <li> - <?= $this->modal->medium('plus', t('New project'), 'ProjectCreationController', 'create') ?> - </li> - <?php endif ?> - <?php if ($this->app->config('disable_private_project', 0) == 0): ?> - <li> - <?= $this->modal->medium('lock', t('New private project'), 'ProjectCreationController', 'createPrivate') ?> - </li> - <?php endif ?> - <li> - <?= $this->url->icon('folder', t('Projects list'), 'ProjectListController', 'show') ?> - </li> - <?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?> - <li> - <?= $this->url->icon('user', t('Users overview'), 'ProjectUserOverviewController', 'managers') ?> - </li> - <?php endif ?> - </ul> - </div> - <section> - <?php if (empty($projects)): ?> - <p class="alert"><?= t('No project') ?></p> - <?php else: ?> - <div - id="gantt-chart" - data-records='<?= json_encode($projects, JSON_HEX_APOS) ?>' - data-save-url="<?= $this->url->href('ProjectGanttController', 'save') ?>" - data-label-project-manager="<?= t('Project managers') ?>" - data-label-project-member="<?= t('Project members') ?>" - data-label-gantt-link="<?= t('Gantt chart for this project') ?>" - data-label-board-link="<?= t('Project board') ?>" - data-label-start-date="<?= t('Start date:') ?>" - data-label-end-date="<?= t('End date:') ?>" - data-label-not-defined="<?= t('There is no start date or end date for this project.') ?>" - ></div> - <?php endif ?> - </section> -</section> diff --git a/app/Template/project_header/views.php b/app/Template/project_header/views.php index f200801a..4203595e 100644 --- a/app/Template/project_header/views.php +++ b/app/Template/project_header/views.php @@ -8,10 +8,6 @@ <li <?= $this->app->checkMenuSelection('TaskListController') ?>> <?= $this->url->icon('list', t('List'), 'TaskListController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-listing', t('Keyboard shortcut: "%s"', 'v l')) ?> </li> - <?php if ($this->user->hasProjectAccess('TaskGanttController', 'show', $project['id'])): ?> - <li <?= $this->app->checkMenuSelection('TaskGanttController') ?>> - <?= $this->url->icon('sliders', t('Gantt'), 'TaskGanttController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-gantt', t('Keyboard shortcut: "%s"', 'v g')) ?> - </li> - <?php endif ?> + <?= $this->hook->render('template:project-header:view-switcher', array('project' => $project, 'filters' => $filters)) ?> </ul> diff --git a/app/Template/project_list/listing.php b/app/Template/project_list/listing.php index f8c46729..6f6c93c1 100644 --- a/app/Template/project_list/listing.php +++ b/app/Template/project_list/listing.php @@ -18,10 +18,6 @@ <li><?= $this->url->icon('user', t('Users overview'), 'ProjectUserOverviewController', 'managers') ?></li> <?php endif ?> - <?php if ($this->user->hasAccess('ProjectGanttController', 'show')): ?> - <li><?= $this->url->icon('sliders', t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?></li> - <?php endif ?> - <?= $this->hook->render('template:project-list:menu:after') ?> </ul> </div> diff --git a/app/Template/project_user_overview/layout.php b/app/Template/project_user_overview/layout.php index 9115ef3c..c97106f7 100644 --- a/app/Template/project_user_overview/layout.php +++ b/app/Template/project_user_overview/layout.php @@ -14,11 +14,6 @@ <li> <?= $this->url->icon('folder', t('Projects list'), 'ProjectListController', 'show') ?> </li> - <?php if ($this->user->hasAccess('ProjectGanttController', 'show')): ?> - <li> - <?= $this->url->icon('sliders', t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?> - </li> - <?php endif ?> </ul> </div> <section class="sidebar-container"> diff --git a/app/Template/project_user_overview/roles.php b/app/Template/project_user_overview/roles.php index b8c67323..f53e7fa3 100644 --- a/app/Template/project_user_overview/roles.php +++ b/app/Template/project_user_overview/roles.php @@ -14,7 +14,6 @@ </td> <td> <?= $this->url->link('<i class="fa fa-th"></i>', 'BoardViewController', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Board')) ?> - <?= $this->url->link('<i class="fa fa-sliders fa-fw"></i>', 'TaskGanttController', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Gantt chart')) ?> <?= $this->url->link('<i class="fa fa-cog fa-fw"></i>', 'ProjectViewController', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Project settings')) ?> <?= $this->text->e($project['project_name']) ?> diff --git a/app/Template/task_gantt/show.php b/app/Template/task_gantt/show.php deleted file mode 100644 index 61a476b7..00000000 --- a/app/Template/task_gantt/show.php +++ /dev/null @@ -1,31 +0,0 @@ -<section id="main"> - <?= $this->projectHeader->render($project, 'TaskGanttController', 'show') ?> - <div class="menu-inline"> - <ul> - <li <?= $sorting === 'board' ? 'class="active"' : '' ?>> - <?= $this->url->icon('sort-numeric-asc', t('Sort by position'), 'TaskGanttController', 'show', array('project_id' => $project['id'], 'sorting' => 'board')) ?> - </li> - <li <?= $sorting === 'date' ? 'class="active"' : '' ?>> - <?= $this->url->icon('sort-amount-asc', t('Sort by date'), 'TaskGanttController', 'show', array('project_id' => $project['id'], 'sorting' => 'date')) ?> - </li> - <li> - <?= $this->modal->large('plus', t('Add task'), 'TaskCreationController', 'show', array('project_id' => $project['id'])) ?> - </li> - </ul> - </div> - - <?php if (! empty($tasks)): ?> - <div - id="gantt-chart" - data-records='<?= json_encode($tasks, JSON_HEX_APOS) ?>' - data-save-url="<?= $this->url->href('TaskGanttController', 'save', array('project_id' => $project['id'])) ?>" - data-label-start-date="<?= t('Start date:') ?>" - data-label-end-date="<?= t('Due date:') ?>" - data-label-assignee="<?= t('Assignee:') ?>" - data-label-not-defined="<?= t('There is no start date or due date for this task.') ?>" - ></div> - <p class="alert alert-info"><?= t('Moving or resizing a task will change the start and due date of the task.') ?></p> - <?php else: ?> - <p class="alert"><?= t('There is no task in your project.') ?></p> - <?php endif ?> -</section> |