Ignore:
Timestamp:
10/12/24 21:32:15 (5 weeks ago)
Author:
macagaso <gasoskamarija@…>
Branches:
master
Parents:
743de55
Message:

Updated version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/static/js/terms.js

    r743de55 r43c9090  
    5050    dialog.setAttribute("id","dialogPopUp");
    5151    const message = document.createElement('p');
    52     message.textContent = 'Are you sure you want to cancel the reservation?';
     52    message.textContent = 'Дали сте сигурни дека сакате да откажете?';
    5353    dialog.appendChild(message);
    5454    const yesButton = document.createElement('button');
     
    107107        row.appendChild(termCell);
    108108        const nameCell = document.createElement('td');
    109         nameCell.textContent = request.name; // Format date
     109        nameCell.textContent = request.name;
    110110        row.appendChild(nameCell);
    111111        const surnameCell = document.createElement('td');
    112         surnameCell.textContent = request.surname; // Format date
     112        surnameCell.textContent = request.surname;
    113113        row.appendChild(surnameCell);
    114114        const couponCodeCell = document.createElement('td');
     
    119119        row.appendChild(additionalInfoCell);
    120120        const usernameCell = document.createElement('td');
    121         usernameCell.textContent = request.username; // Format date
     121        usernameCell.textContent = request.username;
    122122        row.appendChild(usernameCell);
    123123        const buttonCell = document.createElement('td');
     
    139139    const oldHead = document.getElementById('initial-head');
    140140    if (thead) {
    141         console.log("cleaned")
    142141        thead.innerHTML = '';
    143142    }
     
    165164        const row = document.createElement('tr');
    166165        const termCell = document.createElement('td');
    167         termCell.textContent = replaceWithSpace(request.dateTime); // Format date
     166        termCell.textContent = replaceWithSpace(request.dateTime);
    168167        row.appendChild(termCell);
    169168        const userCell = document.createElement('td');
     
    171170        row.appendChild(userCell);
    172171        const adminCell = document.createElement('td');
    173         adminCell.textContent = request.adminNote; // Format date
     172        adminCell.textContent = request.adminNote;
    174173        row.appendChild(adminCell);
    175174        const statusCell = document.createElement('td');
Note: See TracChangeset for help on using the changeset viewer.