2013-10-19 20:05:03 +02:00
|
|
|
<div class="post post-type-<?php echo TextHelper::camelCaseToHumanCase(PostType::toString($this->context->post->type)) ?>">
|
|
|
|
<a href="<?php echo \Chibi\UrlHelper::route('post', 'view', ['id' => $this->context->post->id]) ?>">
|
2013-10-23 00:16:52 +02:00
|
|
|
<img class="thumb" src="<?php echo \Chibi\UrlHelper::route('post', 'thumb', ['name' => $this->context->post->name]) ?>" alt="@<?php echo $this->context->post->id ?>"/>
|
2013-10-19 20:05:03 +02:00
|
|
|
</a>
|
|
|
|
<div class="info-bar">
|
|
|
|
<i class="icon-comments"></i> <span><?php echo $this->context->post->countOwn('comment') ?></span>
|
|
|
|
<i class="icon-favs"></i> <span><?php echo $this->context->post->countOwn('favoritee') ?></span>
|
|
|
|
</div>
|
|
|
|
</div>
|