Skip to content

Commit

Permalink
fixup! feat: implement resources and rooms overview
Browse files Browse the repository at this point in the history
Signed-off-by: greta <gretadoci@gmail.com>
  • Loading branch information
GretaD committed Jul 17, 2024
1 parent 6d08536 commit 6b60ab9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/components/Editor/FreeBusy/RoomAvailabilityList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
-->
<template>
<NcDialog :open="showDialog"
:name="t('calendar', 'Availability of rooms')"
:name="$t('calendar', 'Search room')"
size="large"
@update:open="(e) => $emit('update:show-dialog', e)">
<div class="modal__content__header">
<h2>{{ t('calendar', 'Find a room') }}</h2>
<table>
<tr>
<th class="name">
{{ t('calendar', 'Room name') }}
{{ $t('calendar', 'Room name') }}
</th>
<th>&nbsp;</th>
</tr>
Expand All @@ -31,7 +30,7 @@
<NcButton type="secondary"
class="rooms__availability"
@click="openRoomAvailability(room)">

Check warning on line 32 in src/components/Editor/FreeBusy/RoomAvailabilityList.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/FreeBusy/RoomAvailabilityList.vue#L31-L32

Added lines #L31 - L32 were not covered by tests
{{ t('calendar', 'Check room availability') }}
{{ $t('calendar', 'Check room availability') }}
</NcButton>
</div>
</td>
Expand Down Expand Up @@ -202,6 +201,7 @@ h6 {
.rooms__availability {
margin: 10px 0;
}
.name {
opacity: .8;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor/FreeBusy/RoomAvailabilityModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<template>
<NcModal size="large"
:show="show"
:name="t('calendar', 'Check room availability')"
:name="$t('calendar', 'Check room availability')"
@update:show="(e) => $emit('update:show', e)">
<div class="modal__content">
<div class="modal__content__header">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor/Resources/ResourceListSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<template>
<div class="resource-search">
<NcButton class="button availability" @click="openRoomAvailability">
{{ t('calendar', 'Room availability') }}
{{ $t('calendar', 'Show all rooms') }}
</NcButton>

<RoomAvailabilityList v-if="showRoomAvailabilityModal"
Expand Down

0 comments on commit 6b60ab9

Please sign in to comment.