mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 23:24:04 +02:00
Admin Panel: Entries Manager - improved entries list navigation.
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
<?php foreach ($entries_list as $entry): ?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?= Http::getBaseUrl() ?>/admin/entries/?entry=<?= $entry['slug'] ?>"><?= $entry['title'] ?></a>
|
||||
<?php $count = count(Entries::getEntries($entry['slug'], 'slug', 'ASC')) ?>
|
||||
<a href="<?php if ($count > 0): ?><?= Http::getBaseUrl() ?>/admin/entries/?entry=<?= $entry['slug'] ?><?php else: ?><?= Http::getBaseUrl() ?>/admin/entries/edit?entry=<?= $entry['slug'] ?><?php endif ?>"><?= $entry['title'] ?></a>
|
||||
<?php if ($count > 0): ?>
|
||||
(<?= $count ?>)
|
||||
<?php endif ?>
|
||||
|
Reference in New Issue
Block a user