Init canvas from image

This commit is contained in:
Dennis Eichhorn 2017-02-04 16:47:48 +01:00
parent 1aa533428d
commit 8bb52a3c40

View File

@ -42,9 +42,9 @@ echo $this->getData('nav')->render(); ?>
<?php $count = 0; foreach($images as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/draw/single?id=' . $value->getId()); ?>
<tr>
<td><?= $value->getMedia()->getName(); ?>
<td><?= $value->getMedia()->getCreatedBy(); ?>
<td><?= $value->getMedia()->getCreatedAt()->format('Y-m-d'); ?>
<td><a href="<?= $url; ?>"><?= $value->getMedia()->getName(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getMedia()->getCreatedBy(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getMedia()->getCreatedAt()->format('Y-m-d'); ?></a>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>