forked from potsda.mn/mobilizon
Fix position of the « no events found » message
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
a743f6a487
commit
a1b439b724
|
@ -529,6 +529,16 @@
|
||||||
class="my-4"
|
class="my-4"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<o-notification v-else-if="searchLoading === false" variant="info">
|
||||||
|
<p>{{ t("No events found") }}</p>
|
||||||
|
<p v-if="searchIsUrl && !currentUser?.id">
|
||||||
|
{{
|
||||||
|
t(
|
||||||
|
"Only registered users may fetch remote events from their URL."
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
</p>
|
||||||
|
</o-notification>
|
||||||
<o-pagination
|
<o-pagination
|
||||||
v-if="
|
v-if="
|
||||||
(searchEvents && searchEvents?.total > EVENT_PAGE_LIMIT) ||
|
(searchEvents && searchEvents?.total > EVENT_PAGE_LIMIT) ||
|
||||||
|
@ -544,16 +554,6 @@
|
||||||
:aria-page-label="t('Page')"
|
:aria-page-label="t('Page')"
|
||||||
:aria-current-label="t('Current page')"
|
:aria-current-label="t('Current page')"
|
||||||
/>
|
/>
|
||||||
<o-notification v-else-if="searchLoading === false" variant="info">
|
|
||||||
<p>{{ t("No events found") }}</p>
|
|
||||||
<p v-if="searchIsUrl && !currentUser?.id">
|
|
||||||
{{
|
|
||||||
t(
|
|
||||||
"Only registered users may fetch remote events from their URL."
|
|
||||||
)
|
|
||||||
}}
|
|
||||||
</p>
|
|
||||||
</o-notification>
|
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="contentType === ContentType.EVENTS">
|
<template v-else-if="contentType === ContentType.EVENTS">
|
||||||
<template v-if="searchEvents && searchEvents.total > 0">
|
<template v-if="searchEvents && searchEvents.total > 0">
|
||||||
|
|
Loading…
Reference in a new issue