Skip to content
Snippets Groups Projects
Commit 315224fa authored by Timothee P's avatar Timothee P :sunflower:
Browse files

Merge branch 'redmine-issues/26632' into 'develop'

REDMINE_ISSUE-26632 | Pagination liste signalements - doublon premier & dernier numéro si 5 pages

See merge request !874
parents e0ed5c5a 6e818bde
No related branches found
No related tags found
1 merge request!874REDMINE_ISSUE-26632 | Pagination liste signalements - doublon premier & dernier numéro si 5 pages
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
@click="$emit('update:page', 'previous')" @click="$emit('update:page', 'previous')"
>Précédent</a> >Précédent</a>
<span> <span>
<span v-if="pagination.currentPage >= 5"> <span v-if="pagination.currentPage > 5">
<a <a
key="page1" key="page1"
class="paginate_button" class="paginate_button"
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
data-dt-idx="1" data-dt-idx="1"
tabindex="0" tabindex="0"
@click="$emit('update:page', 1)" @click="$emit('update:page', 1)"
>{{ 1 }}</a> >1</a>
<span class="ellipsis"></span> <span class="ellipsis"></span>
</span> </span>
<a <a
...@@ -412,7 +412,7 @@ ...@@ -412,7 +412,7 @@
tabindex="0" tabindex="0"
@click="$emit('update:page', pageNumber)" @click="$emit('update:page', pageNumber)"
>{{ pageNumber }}</a> >{{ pageNumber }}</a>
<span v-if="(lastPageNumber - pagination.currentPage) >= 4"> <span v-if="(lastPageNumber - pagination.currentPage) > 4">
<span class="ellipsis"></span> <span class="ellipsis"></span>
<a <a
:key="'page' + lastPageNumber" :key="'page' + lastPageNumber"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment