|
@@ -41,9 +41,11 @@ function renderAppointments(data) {
|
|
|
const deleteButton = document.createElement('button');
|
|
const deleteButton = document.createElement('button');
|
|
|
participantATag.href = `/html/bookings.html?appointment=${appointment._id}`;
|
|
participantATag.href = `/html/bookings.html?appointment=${appointment._id}`;
|
|
|
participantATag.innerText = 'participants';
|
|
participantATag.innerText = 'participants';
|
|
|
|
|
+ participantATag.classList.add('participants-link');
|
|
|
editATag.href = `/html/appointmentscreator.html?appointment=${appointment._id}`;
|
|
editATag.href = `/html/appointmentscreator.html?appointment=${appointment._id}`;
|
|
|
shareATag.href = `/html/schedule.html?appointment=${appointment._id}`;
|
|
shareATag.href = `/html/schedule.html?appointment=${appointment._id}`;
|
|
|
shareATag.innerText = 'share';
|
|
shareATag.innerText = 'share';
|
|
|
|
|
+ shareATag.classList.add('share-link');
|
|
|
editATag.innerText = 'edit';
|
|
editATag.innerText = 'edit';
|
|
|
deleteButton.onclick = async () => {
|
|
deleteButton.onclick = async () => {
|
|
|
if (last_clicked !== appointment._id) {
|
|
if (last_clicked !== appointment._id) {
|