ссылка на страницу точки для администратора
This commit is contained in:
parent
287f888f3b
commit
afe5bcbe1e
|
|
@ -3,6 +3,9 @@
|
|||
<?php foreach ($points as $point): ?>
|
||||
#<?=$point['id']?> <img src="<?=$point['categoryIcon']?>" /> <a href="/?point=<?=$point['id']?>"><?=$point['name']?></a>
|
||||
<?=$point['author']?>
|
||||
<?php if (App::$user->isAdmin == 1): ?>
|
||||
- <a href="/page/point/id/<?=$point['id']?>">страница точки <span class="glyphicon glyphicon-new-window"></span></a>
|
||||
<?php endif;?>
|
||||
<br/>
|
||||
<?php endforeach; ?>
|
||||
<?= self::renderPartial('modals/categories.php', array('categories' => $categories), true) ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue