mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-11 00:58:43 +00:00
fix tag-lists
This commit is contained in:
parent
58378e6797
commit
0a912e043f
|
|
@ -31,12 +31,14 @@ echo $this->data['nav']->render(); ?>
|
|||
<div class="portlet-body">
|
||||
<article><?= $doc->content; ?></article>
|
||||
<?php if (!empty($doc->tags)) : ?>
|
||||
<div class="tag-list">
|
||||
<?php foreach ($doc->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 if (!empty($files)) : ?>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user