@@ -28,7 +28,7 @@ |
||
28 | 28 | <div class="row object-lightborder" id="wall-post-<?= $post->id ?>"> |
29 | 29 | <div class="col-xs-4 col-md-2"> |
30 | 30 | <div class="text-center"> |
31 | - <?= Url::a(['profile/show', [$post->sender_id]], $post->senderUser->profile->getNickname(), ['style' => 'color: ' . $post->senderUser->role->color]) ?> |
|
31 | + <?= Url::a(['profile/show', [$post->sender_id]], $post->senderUser->profile->getNickname(), ['style' => 'color: '.$post->senderUser->role->color]) ?> |
|
32 | 32 | <img class="img-responsive img-rounded" alt="Avatar of <?= $post->senderUser->profile->getNickname() ?>" src="<?= $post->senderUser->profile->getAvatarUrl('small') ?>" /> |
33 | 33 | <small><?= Date::humanize($post->updated_at); ?></small> |
34 | 34 | </div> |
@@ -26,9 +26,9 @@ |
||
26 | 26 | /** @var array $cfg */ |
27 | 27 | $cfg = $this->application->configs; |
28 | 28 | // get pagination page id and calc offset |
29 | - $page = (int)$this->request->query->get('page'); |
|
30 | - if ((int)$cfg['wallPostOnFeed'] >= 1) { |
|
31 | - $items = (int)$cfg['wallPostOnFeed']; |
|
29 | + $page = (int) $this->request->query->get('page'); |
|
30 | + if ((int) $cfg['wallPostOnFeed'] >= 1) { |
|
31 | + $items = (int) $cfg['wallPostOnFeed']; |
|
32 | 32 | } |
33 | 33 | // calc offset |
34 | 34 | $offset = $page * static::FEED_PER_PAGE; |