Ссылка из списка точек не на карту, а на страницу точки
This commit is contained in:
parent
d09f13fd1c
commit
1b0accdddb
|
|
@ -1,11 +1,8 @@
|
|||
<h3>Список точек</h3>
|
||||
|
||||
<?php foreach ($points as $point): ?>
|
||||
#<?=$point['id']?> <img src="<?=$point['categoryIcon']?>" /> <a href="/?point=<?=$point['id']?>"><?=$point['name']?></a>
|
||||
#<?=$point['id']?> <img src="<?=$point['categoryIcon']?>" /> <a href="/page/point/id/<?=$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