This commit is contained in:
Dennis Eichhorn 2022-12-10 22:17:54 +01:00
parent 54066c99d6
commit c53b4290df
5 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Kanban", "name": "Kanban",
"uri": "{/prefix}kanban/dashboard?{?}", "uri": "{/lang}/{/app}/kanban/dashboard?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 45, "order": 45,
@ -19,7 +19,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Boards", "name": "Boards",
"uri": "{/prefix}kanban/dashboard?{?}", "uri": "{/lang}/{/app}/kanban/dashboard?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -34,7 +34,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Archive", "name": "Archive",
"uri": "{/prefix}kanban/archive?{?}", "uri": "{/lang}/{/app}/kanban/archive?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 2, "order": 2,
@ -49,7 +49,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
"uri": "{/prefix}kanban/create?{?}", "uri": "{/lang}/{/app}/kanban/create?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 3, "order": 3,

View File

@ -72,7 +72,7 @@ echo $this->getData('nav')->render(); ?>
$count = 0; $count = 0;
foreach ($boards as $key => $board) : ++$count; foreach ($boards as $key => $board) : ++$count;
$url = UriFactory::build('kanban/board?{?}&id=' . $board->getId()); $url = UriFactory::build('{/lang}/{/app}/kanban/board?{?}&id=' . $board->getId());
?> ?>
<tr tabindex="0" data-href="<?= $url; ?>"> <tr tabindex="0" data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->getHtml(':bStatus' . $board->getStatus()); ?></a> <td><a href="<?= $url; ?>"><?= $this->getHtml(':bStatus' . $board->getStatus()); ?></a>

View File

@ -35,7 +35,7 @@ $comments = $card->getComments();
</div> </div>
<div class="portlet-foot"> <div class="portlet-foot">
<?php $files = $card->getMedia(); foreach ($files as $file) : ?> <?php $files = $card->getMedia(); foreach ($files as $file) : ?>
<span><a class="content" href="<?= UriFactory::build('media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span> <span><a class="content" href="<?= UriFactory::build('{/lang}/{/app}/media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</section> </section>
@ -51,7 +51,7 @@ $comments = $card->getComments();
</div> </div>
<div class="portlet-foot"> <div class="portlet-foot">
<?php $files = $comment->getMedia(); foreach ($files as $file) : ?> <?php $files = $comment->getMedia(); foreach ($files as $file) : ?>
<span><a class="content" href="<?= UriFactory::build('media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span> <span><a class="content" href="<?= UriFactory::build('{/lang}/{/app}/media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</section> </section>

View File

@ -24,7 +24,7 @@ echo $this->getData('nav')->render(); ?>
<div class="row"> <div class="row">
<?php foreach ($boards as $board) : <?php foreach ($boards as $board) :
$url = UriFactory::build('kanban/board?{?}&id=' . $board->getId()); $url = UriFactory::build('{/lang}/{/app}/kanban/board?{?}&id=' . $board->getId());
?> ?>
<div class="col-xs-12 col-sm-6 col-lg-3"> <div class="col-xs-12 col-sm-6 col-lg-3">
<section class="portlet"> <section class="portlet">

View File

@ -12,7 +12,7 @@
}, },
"creator": { "creator": {
"name": "Karaka", "name": "Karaka",
"website": "www.spl1nes.com" "website": "jingga.app"
}, },
"description": "Kanban module.", "description": "Kanban module.",
"directory": "Kanban", "directory": "Kanban",