paginator.currentPageNumber}">
                    <f:then>
                        <li class="active">
                            <f:link.action arguments="{currentAlbumPage: page, mediaAlbum: mediaAlbum}">{page}</f:link.action>
                        </li>
                    </f:then>
                    <f:else>
                        <li>
                            <f:if condition="{page} > 1">
                                <f:then>
                                    <f:link.action arguments="{c