mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-01-11 16:18:41 +00:00
bug fixes + file links in various modules
This commit is contained in:
parent
5a8f0a80dd
commit
4f7dde4b9e
|
|
@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php endforeach; ?>
|
||||
|
||||
<?php $files = $news->getMedia(); foreach ($files as $file) : ?>
|
||||
<span class="file"><?= $this->printHtml($file->name); ?></span>
|
||||
<span><a class="content" href="<?= UriFactory::build('{/prefix}media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php if ($editable) : ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user