mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
fix tag-lists
This commit is contained in:
parent
9902b122fd
commit
a5ea656a26
|
|
@ -98,13 +98,16 @@ echo $this->data['nav']->render();
|
||||||
<tr><td><?= $this->getHtml('Creator'); ?><td><a href="<?= UriFactory::build('{/base}/profile/view?for=' . $media->createdBy->id); ?>"><?= $this->printHtml(
|
<tr><td><?= $this->getHtml('Creator'); ?><td><a href="<?= UriFactory::build('{/base}/profile/view?for=' . $media->createdBy->id); ?>"><?= $this->printHtml(
|
||||||
\ltrim($media->createdBy->name2 . ', ' . $media->createdBy->name1, ', ')
|
\ltrim($media->createdBy->name2 . ', ' . $media->createdBy->name1, ', ')
|
||||||
); ?></a>
|
); ?></a>
|
||||||
<tr><td><?= $this->getHtml('Tags'); ?><td>
|
<tr><td><?= $this->getHtml('Tags'); ?>
|
||||||
|
<td>
|
||||||
|
<div class="tag-list">
|
||||||
<?php foreach ($media->tags as $tag) : ?>
|
<?php foreach ($media->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>
|
||||||
<tr><td colspan="2"><?= $this->getHtml('Description'); ?>
|
<tr><td colspan="2"><?= $this->getHtml('Description'); ?>
|
||||||
<tr><td colspan="2"><?= $this->printHtml($media->description); ?>
|
<tr><td colspan="2"><?= $this->printHtml($media->description); ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user