mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Rewrite kanban in more procedural code to match existing codebase (as a v2, delete old and rename once we're happy)
This commit is contained in:
@@ -235,8 +235,9 @@ $sql_categories_filter = mysqli_query(
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="<?=htmlspecialchars('?' . http_build_query(array_merge($_GET, ['view' => 'list']))); ?>">List</a>
|
||||
<?php if ($status !== 'Closed') {?>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item " href="<?=htmlspecialchars('?' . http_build_query(array_merge($_GET, ['view' => 'kanban']))); ?>">Kanban</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item " href="<?=htmlspecialchars('?' . http_build_query(array_merge($_GET, ['view' => 'kanban']))); ?>">Kanban</a>
|
||||
<a class="dropdown-item " href="<?=htmlspecialchars('?' . http_build_query(array_merge($_GET, ['view' => 'kanbanv2']))); ?>">Kanban (v2)</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
@@ -391,6 +392,8 @@ if (isset($_GET["view"])) {
|
||||
require_once "ticket_list.php";
|
||||
} elseif ($_GET["view"] == "kanban") {
|
||||
require_once "ticket_kanban.php";
|
||||
} elseif ($_GET["view"] == "kanbanv2") {
|
||||
require_once "ticket_kanban_v2.php";
|
||||
}
|
||||
} else {
|
||||
// here we have to get default view setting
|
||||
|
||||
Reference in New Issue
Block a user