mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-31 09:48:43 +00:00
icon fixes, loading optimizations
This commit is contained in:
parent
caa13fbd65
commit
11ff7a5f8d
|
|
@ -209,7 +209,7 @@ $next = empty($media) ? '{/base}/media/list' : '{/base}/media/list?{?}&id='
|
|||
<td data-label="<?= $this->getHtml('Tag'); ?>"><?php $tags = $value->getTags(); foreach ($tags as $tag) : ?>
|
||||
<a href="<?= $url; ?>">
|
||||
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
||||
<?= empty($tag->icon) ? '' : '<i class="' . $this->printHtml($tag->icon) . '"></i>'; ?>
|
||||
<?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?>
|
||||
<?= $this->printHtml($tag->getL11n()); ?>
|
||||
</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ echo $this->data['nav']->render();
|
|||
); ?></a>
|
||||
<tr><td><?= $this->getHtml('Tags'); ?><td>
|
||||
<?php foreach ($tags as $tag) : ?>
|
||||
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= empty($tag->icon) ? '' : '<i class="' . $this->printHtml($tag->icon) . '"></i>'; ?><?= $this->printHtml($tag->getL11n()); ?></span>
|
||||
<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; ?>
|
||||
<tr><td colspan="2"><?= $this->getHtml('Description'); ?>
|
||||
<tr><td colspan="2"><?= $media->description; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user