{if $paginator->pageCount > 1}
	<div class="pagination pagination-centered">
		<ul>
			{if $paginator->isFirst()}
				<li><span>&lt;&lt;&nbsp;Předchozí</span></li>
			{else}
				<li><a href="{link this, page => $paginator->page - 1}">&lt;&lt;&nbsp;Předchozí</a></li>
			{/if}

			{foreach $steps as $step}
				{if $step == $paginator->page}
					<li class="active"><a>{$step}</a></li>
				{else}
					<li><a href="{link this, page => $step}">{$step}</a></li>
				{/if}
				{if $iterator->nextValue > $step + 1}<li><a href="#">…</a></li>{/if}
			{/foreach}

			{if $paginator->isLast()}
				<li><span>Další&nbsp;&gt;&gt;</span></li>
			{else}
				<li><a href="{link this, page => $paginator->page + 1}">Další&nbsp;&gt;&gt;</a></li>
			{/if}
		</ul>
	</div>
{/if}
