Handle multiple avatar sizes

This commit is contained in:
Frederic Guillot
2016-03-19 13:45:41 -04:00
parent fe85d83621
commit 2e320ceead
9 changed files with 110 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
<div class="comment <?= isset($preview) ? 'comment-preview' : '' ?>" id="comment-<?= $comment['id'] ?>">
<?= $this->user->avatar($comment['user_id'], $comment['username'], $comment['name'], $comment['email']) ?>
<?= $this->avatar->render($comment['user_id'], $comment['username'], $comment['name'], $comment['email']) ?>
<div class="comment-title">
<?php if (! empty($comment['username'])): ?>