mirror of
https://github.com/gantry/gantry5.git
synced 2025-02-25 18:55:21 -06:00
Fixed fatal error if menu item child cannot be accessed from the menu (#3025)
This commit is contained in:
Binary file not shown.
@@ -125,3 +125,9 @@ msgstr "yrs"
|
||||
|
||||
msgid "GANTRY5_ENGINE_NICETIME_DEC_PLURAL"
|
||||
msgstr "decs"
|
||||
|
||||
msgid "GANTRY5_ENGINE_PREV"
|
||||
msgstr "Prev"
|
||||
|
||||
msgid "GANTRY5_ENGINE_NEXT"
|
||||
msgstr "Next"
|
||||
|
||||
@@ -144,8 +144,8 @@
|
||||
|
||||
{% if total > limit.total and display.pagination_buttons %}
|
||||
<div class="g-content-array-pagination">
|
||||
<button class="button float-left contentarray-button pagination-button pagination-button-prev" data-id="{{ id }}" data-start="{{ max(0, start - limit.total) }}"{{ start - limit.total < 0 ? ' disabled' }}>Prev</button>
|
||||
<button class="button float-right contentarray-button pagination-button pagination-button-next" data-id="{{ id }}" data-start="{{ start + limit.total }}"{{ start + limit.total >= total ? ' disabled' }}>Next</button>
|
||||
<button class="button float-left contentarray-button pagination-button pagination-button-prev" data-id="{{ id }}" data-start="{{ max(0, start - limit.total) }}"{{ start - limit.total < 0 ? ' disabled' }}>{{ 'GANTRY5_ENGINE_PREV'|trans }}</button>
|
||||
<button class="button float-right contentarray-button pagination-button pagination-button-next" data-id="{{ id }}" data-start="{{ start + limit.total }}"{{ start + limit.total >= total ? ' disabled' }}>{{ 'GANTRY5_ENGINE_NEXT'|trans }}</button>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user