mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-01-11 11:28:42 +00:00
mode changes
This commit is contained in:
parent
8641c179de
commit
dfcb595da3
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
Docs/Dev/en/SUMMARY.md
Normal file
0
Docs/Dev/en/SUMMARY.md
Normal file
0
Docs/Dev/en/structure.md
Normal file
0
Docs/Dev/en/structure.md
Normal file
|
|
@ -247,6 +247,11 @@ class KanbanCard implements \JsonSerializable
|
|||
$this->ref = $ref;
|
||||
}
|
||||
|
||||
public function getCommentCount() : int
|
||||
{
|
||||
return \count($this->comments);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the comments
|
||||
*
|
||||
|
|
|
|||
0
Models/NullKanbanBoard.php
Normal file → Executable file
0
Models/NullKanbanBoard.php
Normal file → Executable file
0
Theme/Backend/Lang/de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable file
|
|
@ -15,7 +15,7 @@ $columns = $board->getColumns();
|
|||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}kanban/card?{?}&id=' . $card->getId());
|
||||
?>
|
||||
<section id="kanban-card-<?= $this->printHtml($i . '-' . $j); ?>" class="portlet" draggable="true">
|
||||
<div class="portlet-head"><a href="<?= $url; ?>"><?= $this->printHtml($card->name); ?></a></div>
|
||||
<div class="portlet-head"><a href="<?= $url; ?>"><?= $this->printHtml($card->name); ?></a><span class="floatRight tag"><?= $card->getCommentCount(); ?></span></div>
|
||||
<div class="portlet-body">
|
||||
<article><?= $card->description; ?></article>
|
||||
</div>
|
||||
|
|
|
|||
0
tests/Autoloader.php
Normal file → Executable file
0
tests/Autoloader.php
Normal file → Executable file
0
tests/Bootstrap.php
Normal file → Executable file
0
tests/Bootstrap.php
Normal file → Executable file
0
tests/phpunit_default.xml
Normal file → Executable file
0
tests/phpunit_default.xml
Normal file → Executable file
Loading…
Reference in New Issue
Block a user