This commit is contained in:
Dennis Eichhorn 2024-03-10 02:24:56 +00:00
parent 1770476959
commit 9ce7a56dde
2 changed files with 8 additions and 2 deletions

View File

@ -34,7 +34,10 @@ $columns = $board->getColumns();
<article><?= $card->description; ?></article>
<?php foreach ($card->tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= empty($tag->icon) ? '' : ''; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<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 class="portlet-foot">

View File

@ -45,7 +45,10 @@ echo $this->data['nav']->render(); ?>
<div class="portlet-body">
<article><?= $board->description; ?></article>
<?php foreach ($board->tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= empty($tag->icon) ? '' : ''; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<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 class="portlet-foot">