fix tag-lists

This commit is contained in:
Dennis Eichhorn 2024-04-07 18:11:03 +00:00
parent c8754f9481
commit 4657a003cd
2 changed files with 4 additions and 0 deletions

View File

@ -43,12 +43,14 @@ $columns = $board->getColumns();
<div class="portlet-body">
<article><?= $card->description; ?></article>
<div class="tag-list">
<?php foreach ($card->tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
<?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?>
<?= $this->printHtml($tag->getL11n()); ?>
</span>
<?php endforeach; ?>
</div>
</div>
<div class="portlet-foot">
<div class="overflowfix">

View File

@ -44,12 +44,14 @@ echo $this->data['nav']->render(); ?>
</div>
<div class="portlet-body">
<article><?= $board->description; ?></article>
<div class="tag-list">
<?php foreach ($board->tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
<?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?>
<?= $this->printHtml($tag->getL11n()); ?>
</span>
<?php endforeach; ?>
</div>
</div>
<div class="portlet-foot">
<div class="overflowfix">