FIX - отображение подписи к точке
This commit is contained in:
parent
5f1ee02e76
commit
f42f52857f
|
|
@ -92,15 +92,15 @@ $index = 0;
|
||||||
</div>
|
</div>
|
||||||
<p style="margin-top: 5px; text-align: right;">
|
<p style="margin-top: 5px; text-align: right;">
|
||||||
<?php if (App::$user && App::$user->id): ?>
|
<?php if (App::$user && App::$user->id): ?>
|
||||||
[ <button type="button" class="btn btn-link" style="color: #333;" onclick="addRemoveFavorite(<?= $point->id ?>)"><span id="myFavoritesButton" class="glyphicon glyphicon-star<?= $point->inFavorites ? '' : '-empty' ?>"></span> Хочу посетить</button> ]
|
<nobr>[ <button type="button" class="btn btn-link" style="color: #333;" onclick="addRemoveFavorite(<?= $point->id ?>)"><span id="myFavoritesButton" class="glyphicon glyphicon-star<?= $point->inFavorites ? '' : '-empty' ?>"></span> Хочу посетить</button> ]</nobr>
|
||||||
[ <button type="button" class="btn btn-link" style="color: #333;" onclick="addRemoveLike(<?= $point->id ?>)"><span id="myLikesButton" class="glyphicon glyphicon-<?= $point->iLike ? 'ok' : 'thumbs-up' ?>"></span> Нравится</button> ]
|
<nobr>[ <button type="button" class="btn btn-link" style="color: #333;" onclick="addRemoveLike(<?= $point->id ?>)"><span id="myLikesButton" class="glyphicon glyphicon-<?= $point->iLike ? 'ok' : 'thumbs-up' ?>"></span> Нравится</button> ]</nobr>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
[ <span class="glyphicon glyphicon-star"></span> <?= $countInFavs ?> - в закладках ]
|
<nobr>[ <span class="glyphicon glyphicon-star"></span> <?= $countInFavs ?> - в закладках ]</nobr>
|
||||||
[ <span class="glyphicon glyphicon-thumbs-up"></span> <?= $countLikes ?> - нравится ]
|
<nobr>[ <span class="glyphicon glyphicon-thumbs-up"></span> <?= $countLikes ?> - нравится ]</nobr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
[ <span class="glyphicon glyphicon-user"></span> <a href="/user/<?= $point->authorUser->id ?>"><?= $point->authorUser->nick ?></a> - <span class="glyphicon glyphicon-pencil" title="<?= date('d-m-Y H:i', $point->date) ?>"></span> <?= $point->authorUser->getPointsCount() ?> ]
|
<nobr>[ <span class="glyphicon glyphicon-user"></span> <a href="/user/<?= $point->authorUser->id ?>"><?= $point->authorUser->nick ?></a> - <span class="glyphicon glyphicon-pencil" title="<?= date('d-m-Y H:i', $point->date) ?>"></span> <?= $point->authorUser->getPointsCount() ?> ]</nobr>
|
||||||
<?php if (App::$user && App::$user->isAdmin == 1): ?>
|
<?php if (App::$user && App::$user->isAdmin == 1): ?>
|
||||||
[ <span class="glyphicon glyphicon-new-window"></span> <a href="<?= $point->source ?>" target="_blank">источник: <?= $point->source ?></a> ]
|
<nobr>[ <span class="glyphicon glyphicon-new-window"></span> <a href="<?= $point->source ?>" target="_blank">источник: <?= $point->source ?></a> ]</nobr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue