Files
bruno c47c5a6c8b
CI / build (push) Failing after 4m53s
Fix Windows E2E command and improve smoke tests
Add Windows PowerShell alternative for running E2E tests in README and
update smoke tests to verify the target is a Shaarli instance, with
better diagnostics for misconfigured URLs.
2026-08-09 11:08:52 -04:00

32 lines
1.2 KiB
HTML

{if="isset($result_count) && $result_count > 0"}
{$total=$result_count}
{else}
{if="$is_logged_in"}
{$total="$linkcount"}
{else}
{if="empty($privateLinkcount)"}
{$total="$linkcount"}
{else}
{$total=$linkcount - $privateLinkcount}
{/if}
{/if}
{/if}
{$from=($page_current - 1) * $links_per_page + 1}
{$to=min($total, ($page_current - 1) * $links_per_page + $links_per_page)}
{if="!empty($search_tags) && stripos($search_tags, 'note') !== false"}
{$paging_label=t('Notes')}
{else}
{$paging_label=t('Bookmarks')}
{/if}
<div class="paging{if="$page_max <=1"} single-page{/if}">
{if="$page_max > 1"}
<div class="paging-links">
{if="$next_page_url"}<a href="{$next_page_url}" class="paging-newer" title="{'Newer'|t}"><i class="mdi mdi-chevron-left"></i></a>{/if}
<div class="paging-current">{'page'|t} <strong>{$page_current}</strong> / {$page_max}</div>
{if="$previous_page_url"}<a href="{$previous_page_url}" class="paging-older" title="{'Older'|t}"><i class="mdi mdi-chevron-right"></i></a>{/if}
</div>
{/if}
<div class="paging-stats">
{$paging_label} <strong>{$from}</strong> - <strong>{$to}</strong> / <strong>{$total}</strong>
</div>
</div>