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