szurubooru/src/Views/post-view.phtml

6 lines
362 B
PHTML
Raw Normal View History

2013-10-07 20:45:09 +02:00
<?php if (!empty($this->context->transport->errorMessage)): ?>
<p class="alert alert-error"><?php echo $this->context->transport->errorMessage ?></p>
<?php else: ?>
2013-10-07 23:17:33 +02:00
<img src="<?php echo \Chibi\UrlHelper::route('post', 'retrieve', ['name' => $this->context->transport->post->name]) ?>" alt="<?php echo $this->context->transport->post->name ?>"/>
2013-10-07 20:45:09 +02:00
<?php endif ?>