mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-02-18 05:08:41 +00:00
fix tag-lists
This commit is contained in:
parent
c8754f9481
commit
4657a003cd
|
|
@ -43,12 +43,14 @@ $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>'; ?>
|
||||||
<?= $this->printHtml($tag->getL11n()); ?>
|
<?= $this->printHtml($tag->getL11n()); ?>
|
||||||
</span>
|
</span>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<div class="overflowfix">
|
<div class="overflowfix">
|
||||||
|
|
|
||||||
|
|
@ -44,12 +44,14 @@ 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>'; ?>
|
||||||
<?= $this->printHtml($tag->getL11n()); ?>
|
<?= $this->printHtml($tag->getL11n()); ?>
|
||||||
</span>
|
</span>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<div class="overflowfix">
|
<div class="overflowfix">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user