mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-01-11 11:28:42 +00:00
50 lines
1.2 KiB
PHP
Executable File
50 lines
1.2 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 8.0
|
|
*
|
|
* @package Modules\Kanban
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://orange-management.org
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
use phpOMS\Uri\UriFactory;
|
|
|
|
/** @var \Modules\Kanban\Models\KanbanCard $card */
|
|
$card = $this->getData('card');
|
|
|
|
$comments = $card->getComments();
|
|
?>
|
|
|
|
<div class="row">
|
|
<div class="box">
|
|
<a tabindex="0" class="button" href="<?= $this->request->getReferer() !== '' ? $this->request->getReferer() : UriFactory::build('{/prefix}kanban/dashboard'); ?>"><?= $this->getHtml('Back'); ?></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<section class="portlet">
|
|
<div class="portlet-head"><?= $this->printHtml($card->name); ?></div>
|
|
<div class="portlet-body">
|
|
<article><?= $card->description; ?></article>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<?php foreach ($comments as $comment) : ?>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<section class="portlet">
|
|
<div class="portlet-body">
|
|
<article><?= $comment->description; ?></article>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; ?>
|