Fixing templates

This commit is contained in:
Dennis Eichhorn 2017-06-24 10:51:43 +02:00
parent b6f48d31e2
commit 990b56b701
3 changed files with 54 additions and 1 deletions

View File

@ -13,6 +13,51 @@
"permission": null,
"parent": 1003301001,
"children": [
{
"id": 1005802001,
"pid": "7322d5765c8b18b14c20d406e89c628fd0998688",
"type": 3,
"subtype": 1,
"name": "Boards",
"uri": "{/base}/{/lang}/backend/kanban/dashboard?{?}",
"target": "self",
"icon": null,
"order": 1,
"from": "Kanban",
"permission": null,
"parent": 1005801001,
"children": []
},
{
"id": 1005803001,
"pid": "7322d5765c8b18b14c20d406e89c628fd0998688",
"type": 3,
"subtype": 1,
"name": "Archive",
"uri": "{/base}/{/lang}/backend/kanban/archive?{?}",
"target": "self",
"icon": null,
"order": 2,
"from": "Kanban",
"permission": null,
"parent": 1005801001,
"children": []
},
{
"id": 1005804001,
"pid": "7322d5765c8b18b14c20d406e89c628fd0998688",
"type": 3,
"subtype": 1,
"name": "Archive",
"uri": "{/base}/{/lang}/backend/kanban/create?{?}",
"target": "self",
"icon": null,
"order": 3,
"from": "Kanban",
"permission": null,
"parent": 1005801001,
"children": []
}
]
}
]

View File

@ -9,6 +9,12 @@ return [
'verb' => RouteVerb::GET,
],
],
'^.*/backend/kanban/archive.*$' => [
[
'dest' => '\Modules\Kanban\Controller:viewKanbanArchive',
'verb' => RouteVerb::GET,
],
],
'^.*/backend/kanban/board.*$' => [
[
'dest' => '\Modules\Kanban\Controller:viewKanbanBoard',

View File

@ -1,6 +1,8 @@
<?php
$boards = $this->getData('boards');
?>
echo $this->getData('nav')->render(); ?>
<div class="row">
<?php foreach($boards as $board) : ?>
<div class="col-xs-12 col-sm-6 col-lg-3">