Ссыдка на профиль пользователя из ленты

This commit is contained in:
Krivchikov Dmitry 2015-10-17 20:29:13 +03:00
parent 1dda1fb3bf
commit 9a1675c687
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,8 @@
<a href="/point/<?= $item->id ?>">&gt;&gt;&gt;</a>
</div>
<?php endforeach;?>
<br/>
<a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a>
</div>
<div class="col-md-5">
<?php foreach ($articles as $item) : ?>
@ -37,6 +39,7 @@
<?php endif; ?>
<?= mb_substr(Markdown::getClear($item->text), 0, 400, 'UTF-8') ?>
<a href="/article/<?= $item->id ?>">&gt;&gt;&gt;</a>
<a href="/user/<?= $item->author ?>" style="float: right;"><?= $item->authorUser->nick ?></a>
<div style="clear: both;"></div>
</div>
<?php endforeach;?>