mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-11 02:38:39 +00:00
fix tag-lists
This commit is contained in:
parent
d852591d83
commit
3ca3585769
|
|
@ -51,12 +51,14 @@ foreach ($this->data as $controller) :
|
||||||
</a>
|
</a>
|
||||||
<td class="sm-hidden">
|
<td class="sm-hidden">
|
||||||
<?php if (!empty($data['tags'])) : ?>
|
<?php if (!empty($data['tags'])) : ?>
|
||||||
|
<div class="tag-list">
|
||||||
<?php foreach ($data['tags'] as $tag) : ?>
|
<?php foreach ($data['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>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user