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,6 +43,7 @@ $columns = $board->getColumns();
<div class="portlet-body"> <div class="portlet-body">
<article><?= $card->description; ?></article> <article><?= $card->description; ?></article>
<div class="tag-list">
<?php foreach ($card->tags as $tag) : ?> <?php foreach ($card->tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"> <span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
<?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?> <?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?>
@ -50,6 +51,7 @@ $columns = $board->getColumns();
</span> </span>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</div>
<div class="portlet-foot"> <div class="portlet-foot">
<div class="overflowfix"> <div class="overflowfix">
<a href="<?= $url; ?>" class="button rf"><?= $this->getHtml('More', '0', '0'); ?></a> <a href="<?= $url; ?>" class="button rf"><?= $this->getHtml('More', '0', '0'); ?></a>

View File

@ -44,6 +44,7 @@ echo $this->data['nav']->render(); ?>
</div> </div>
<div class="portlet-body"> <div class="portlet-body">
<article><?= $board->description; ?></article> <article><?= $board->description; ?></article>
<div class="tag-list">
<?php foreach ($board->tags as $tag) : ?> <?php foreach ($board->tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"> <span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
<?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?> <?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?>
@ -51,6 +52,7 @@ echo $this->data['nav']->render(); ?>
</span> </span>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</div>
<div class="portlet-foot"> <div class="portlet-foot">
<div class="overflowfix"> <div class="overflowfix">
<a tabindex="0" href="<?= $url; ?>" class="button rf"><?= $this->getHtml('Open', '0', '0'); ?></a> <a tabindex="0" href="<?= $url; ?>" class="button rf"><?= $this->getHtml('Open', '0', '0'); ?></a>