fix tag-lists

This commit is contained in:
Dennis Eichhorn 2024-04-07 18:11:04 +00:00
parent d852591d83
commit 3ca3585769

View File

@ -51,12 +51,14 @@ foreach ($this->data as $controller) :
</a>
<td class="sm-hidden">
<?php if (!empty($data['tags'])) : ?>
<div class="tag-list">
<?php foreach ($data['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>
<?php endif; ?>
<?php endforeach; ?>
</table>