Commit 9037d14d authored by Thomas Löffler's avatar Thomas Löffler

Fixes the pagination links

parent 67d3aa32
Pipeline #2359 passed with stages
in 1 minute and 32 seconds
......@@ -17,12 +17,22 @@
<f:if condition="{pagination.previousPage} > 1">
<f:then>
<a href="{s:uri.paginate.resultPage(page: pagination.previousPage)}" class="page-link solr-ajaxified">
<s:translate key="paginate_previous">&laquo;</s:translate>
<f:if condition="{s:translate(key: 'paginate_previous')}">
<f:then>
<s:translate key="paginate_previous" />
</f:then>
<f:else>&laquo;</f:else>
</f:if>
</a>
</f:then>
<f:else>
<a href="{s:uri.paginate.resultPage()}" class="page-link solr-ajaxified">
<s:translate key="paginate_previous">&laquo;</s:translate>
<f:if condition="{s:translate(key: 'paginate_previous')}">
<f:then>
<s:translate key="paginate_previous" />
</f:then>
<f:else>&laquo;</f:else>
</f:if>
</a>
</f:else>
</f:if>
......@@ -58,7 +68,12 @@
<f:if condition="{pagination.nextPage}">
<li class="page-item last next">
<a href="{s:uri.paginate.resultPage(page: pagination.nextPage)}" class="page-link solr-ajaxified">
<s:translate key="paginate_next">&raquo;</s:translate>
<f:if condition="{s:translate(key: 'paginate_next')}">
<f:then>
<s:translate key="paginate_next" />
</f:then>
<f:else>&raquo;</f:else>
</f:if>
</a>
</li>
</f:if>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment