bug fixes + file links in various modules

This commit is contained in:
Dennis Eichhorn 2021-07-19 21:34:06 +02:00
parent f790a302e7
commit 61bf96f440

View File

@ -61,7 +61,7 @@ foreach ($comments as $comment) : ?>
</div>
<div class="portlet-foot">
<?php $files = $comment->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; ?>
<?= $this->printHtml(