2022-12-27 10:58:03 -05:00
|
|
|
<div n:ifset="$info" class="buttons">
|
2022-03-29 13:30:31 -04:00
|
|
|
{* is_numeric is used to avoid having a back button with ttwid cursors *}
|
2022-06-12 06:50:41 -04:00
|
|
|
{if isset($_GET['cursor']) && is_numeric($_GET['cursor']) && $_GET['cursor'] != 0}
|
2022-03-29 13:30:31 -04:00
|
|
|
<a class="button is-danger" href="?cursor=0">First</a>
|
|
|
|
{/if}
|
2022-12-27 10:58:03 -05:00
|
|
|
<a n:attr="disabled => !$feed->hasMore" class="button is-success" href="?cursor={$feed->maxCursor}">Next</a>
|
2022-03-29 13:30:31 -04:00
|
|
|
</div>
|