mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-11 07:58:40 +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">
|
<div class="portlet-body">
|
||||||
<article><?= $doc->content; ?></article>
|
<article><?= $doc->content; ?></article>
|
||||||
<?php if (!empty($doc->tags)) : ?>
|
<?php if (!empty($doc->tags)) : ?>
|
||||||
|
<div class="tag-list">
|
||||||
<?php foreach ($doc->tags as $tag) : ?>
|
<?php foreach ($doc->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 if (!empty($files)) : ?>
|
<?php if (!empty($files)) : ?>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user