mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
Event date list pagination fix #532
This commit is contained in:
parent
b6e6b2178a
commit
3d3978a4c7
@ -28,7 +28,7 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
var page = 1;
|
var page = 1;
|
||||||
var per_page = 18; // 3*6
|
var per_page = 50;
|
||||||
|
|
||||||
var leaflet_map = null;
|
var leaflet_map = null;
|
||||||
var map_cluster_group = null;
|
var map_cluster_group = null;
|
||||||
@ -321,7 +321,7 @@
|
|||||||
$('#last_item,#next_item').addClass('disabled');
|
$('#last_item,#next_item').addClass('disabled');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.has_prev || data.has_next) {
|
if (data.total > 0) {
|
||||||
$('#page_info_text').text("Seite " + data.page + " von " + data.pages + " (" + data.total + " insgesamt)")
|
$('#page_info_text').text("Seite " + data.page + " von " + data.pages + " (" + data.total + " insgesamt)")
|
||||||
$('#page_info').removeClass("d-none");
|
$('#page_info').removeClass("d-none");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Binary file not shown.
@ -1000,15 +1000,15 @@ msgstr ""
|
|||||||
|
|
||||||
#: project/forms/event.py:415
|
#: project/forms/event.py:415
|
||||||
msgid "PublicStatus.published"
|
msgid "PublicStatus.published"
|
||||||
msgstr ""
|
msgstr "Published"
|
||||||
|
|
||||||
#: project/forms/event.py:416 project/templates/_macros.html:269
|
#: project/forms/event.py:416 project/templates/_macros.html:269
|
||||||
msgid "PublicStatus.planned"
|
msgid "PublicStatus.planned"
|
||||||
msgstr ""
|
msgstr "Planned"
|
||||||
|
|
||||||
#: project/forms/event.py:417 project/templates/_macros.html:267
|
#: project/forms/event.py:417 project/templates/_macros.html:267
|
||||||
msgid "PublicStatus.draft"
|
msgid "PublicStatus.draft"
|
||||||
msgstr ""
|
msgstr "Draft"
|
||||||
|
|
||||||
#: project/forms/event.py:419 project/templates/event/create.html:386
|
#: project/forms/event.py:419 project/templates/event/create.html:386
|
||||||
msgid "Planned events appear in the scheduling view, but not on public calendars."
|
msgid "Planned events appear in the scheduling view, but not on public calendars."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user