fix: Improve participants view for small width devices

Fixes: #1609
This commit is contained in:
Massedil
2025-10-29 12:38:14 +01:00
committed by setop
parent 73e8080077
commit af93502ad6

View File

@@ -220,39 +220,37 @@
{{ t("No participant matches the filters") }} {{ t("No participant matches the filters") }}
</EmptyContent> </EmptyContent>
</template> </template>
<template #bottom-left>
<div class="flex gap-2">
<o-button
@click="acceptParticipants(checkedRows)"
variant="success"
:disabled="!canAcceptParticipants"
outlined
>
{{
t(
"No participant to approve|Approve participant|Approve {number} participants",
{ number: checkedRows.length },
checkedRows.length
)
}}
</o-button>
<o-button
@click="refuseParticipants(checkedRows)"
variant="danger"
:disabled="!canRefuseParticipants"
outlined
>
{{
t(
"No participant to reject|Reject participant|Reject {number} participants",
{ number: checkedRows.length },
checkedRows.length
)
}}
</o-button>
</div>
</template>
</o-table> </o-table>
<div class="flex flex-wrap gap-2">
<o-button
@click="acceptParticipants(checkedRows)"
variant="success"
:disabled="!canAcceptParticipants"
outlined
>
{{
t(
"No participant to approve|Approve participant|Approve {number} participants",
{ number: checkedRows.length },
checkedRows.length
)
}}
</o-button>
<o-button
@click="refuseParticipants(checkedRows)"
variant="danger"
:disabled="!canRefuseParticipants"
outlined
>
{{
t(
"No participant to reject|Reject participant|Reject {number} participants",
{ number: checkedRows.length },
checkedRows.length
)
}}
</o-button>
</div>
</section> </section>
</template> </template>