This commit is contained in:
Dobromir Popov
2024-03-02 21:46:37 +02:00
parent 5998371222
commit 8de48e1c41
6 changed files with 11 additions and 11 deletions

View File

@ -528,7 +528,7 @@ export default function CalendarPage({ initialEvents, initialShifts }) {
isOpen={isConfirmModalOpen}
onClose={() => setConfirmModalOpen(false)}
onConfirm={() => {
toast.info("Вие потвърдихте!", { autoClose: 2000 });
toast.info("Потвърдено!", { autoClose: 2000 });
setConfirmModalOpen(false);
sendMails()
}}
@ -666,7 +666,7 @@ export default function CalendarPage({ initialEvents, initialShifts }) {
{pub.firstName} {pub.lastName}
</span>
<div className="flex space-x-1 overflow-hidden">
<span title="Достъпност: часове | дни" className={`badge py-1 px-2 rounded-md text-xs ${pub.currentMonthAvailabilityHoursCount || pub.currentMonthAvailabilityDaysCount ? 'bg-teal-500 text-white' : 'bg-teal-200 text-gray-300'} hover:underline`} >
<span title="Възможност: часове | дни" className={`badge py-1 px-2 rounded-md text-xs ${pub.currentMonthAvailabilityHoursCount || pub.currentMonthAvailabilityDaysCount ? 'bg-teal-500 text-white' : 'bg-teal-200 text-gray-300'} hover:underline`} >
{pub.currentMonthAvailabilityDaysCount || 0} | {pub.currentMonthAvailabilityHoursCount || 0}
</span>
<span title="участия тази седмица" className={`badge py-1 px-2 rounded-full text-xs ${pub.currentWeekAssignments ? 'bg-yellow-500 text-white' : 'bg-yellow-200 text-gray-400'}`}>{pub.currentWeekAssignments || 0}</span>