mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 10:36:11 +01:00
parent
cd42770efe
commit
a188dd280c
2 changed files with 7 additions and 19 deletions
|
@ -29,7 +29,7 @@ Features
|
||||||
Fixes
|
Fixes
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Nothing
|
* Properly link to first page within Pagination partial.
|
||||||
|
|
||||||
Tasks
|
Tasks
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -51,24 +51,12 @@
|
||||||
</f:then>
|
</f:then>
|
||||||
<f:else>
|
<f:else>
|
||||||
<li class="page-item">
|
<li class="page-item">
|
||||||
<f:if condition="{page} > 1">
|
|
||||||
<f:then>
|
|
||||||
<a class="page-link"
|
<a class="page-link"
|
||||||
href="{f:uri.action(addQueryString: 1, arguments: {currentPage: page})}"
|
href="{f:uri.action(addQueryString: 1, arguments: {currentPage: page})}"
|
||||||
aria-label="Goto Page {page}"
|
aria-label="Goto Page {page}"
|
||||||
>
|
>
|
||||||
{page}
|
{page}
|
||||||
</a>
|
</a>
|
||||||
</f:then>
|
|
||||||
<f:else>
|
|
||||||
<a class="page-link"
|
|
||||||
href="{f:uri.action(addQueryString: 1)}"
|
|
||||||
aria-label="Goto Page 1"
|
|
||||||
>
|
|
||||||
1
|
|
||||||
</a>
|
|
||||||
</f:else>
|
|
||||||
</f:if>
|
|
||||||
</li>
|
</li>
|
||||||
</f:else>
|
</f:else>
|
||||||
</f:if>
|
</f:if>
|
||||||
|
|
Loading…
Reference in a new issue