pinned investigations (panel)
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
This commit is contained in:
parent
cc7c9f5dab
commit
347c45bc22
3 changed files with 21 additions and 7 deletions
|
|
@ -18,8 +18,6 @@
|
|||
|
||||
<div class="col-right">
|
||||
|
||||
|
||||
|
||||
<?php $latestInvestigations = site()->find('enquetes')->children()->listed()->sortBy('created', 'desc')->limit(5);
|
||||
foreach ($latestInvestigations as $investigation):
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -90,11 +90,6 @@
|
|||
</ul>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($investigation->pinned()->toBool()): ?>
|
||||
<div class="pin"><?= svg('assets/icons/pin.svg') ?></div>
|
||||
<?php endif ?>
|
||||
|
||||
<a class="link-block" href="<?= $investigation->url() ?>"></a>
|
||||
</article>
|
||||
<?php endforeach ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue