Changeset 43c9090 for src/main/resources/static/js/terms.js
- Timestamp:
- 10/12/24 21:32:15 (5 weeks ago)
- Branches:
- master
- Parents:
- 743de55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/static/js/terms.js
r743de55 r43c9090 50 50 dialog.setAttribute("id","dialogPopUp"); 51 51 const message = document.createElement('p'); 52 message.textContent = ' Are you sure you want to cancel the reservation?';52 message.textContent = 'Дали сте сигурни дека сакате да откажете?'; 53 53 dialog.appendChild(message); 54 54 const yesButton = document.createElement('button'); … … 107 107 row.appendChild(termCell); 108 108 const nameCell = document.createElement('td'); 109 nameCell.textContent = request.name; // Format date109 nameCell.textContent = request.name; 110 110 row.appendChild(nameCell); 111 111 const surnameCell = document.createElement('td'); 112 surnameCell.textContent = request.surname; // Format date112 surnameCell.textContent = request.surname; 113 113 row.appendChild(surnameCell); 114 114 const couponCodeCell = document.createElement('td'); … … 119 119 row.appendChild(additionalInfoCell); 120 120 const usernameCell = document.createElement('td'); 121 usernameCell.textContent = request.username; // Format date121 usernameCell.textContent = request.username; 122 122 row.appendChild(usernameCell); 123 123 const buttonCell = document.createElement('td'); … … 139 139 const oldHead = document.getElementById('initial-head'); 140 140 if (thead) { 141 console.log("cleaned")142 141 thead.innerHTML = ''; 143 142 } … … 165 164 const row = document.createElement('tr'); 166 165 const termCell = document.createElement('td'); 167 termCell.textContent = replaceWithSpace(request.dateTime); // Format date166 termCell.textContent = replaceWithSpace(request.dateTime); 168 167 row.appendChild(termCell); 169 168 const userCell = document.createElement('td'); … … 171 170 row.appendChild(userCell); 172 171 const adminCell = document.createElement('td'); 173 adminCell.textContent = request.adminNote; // Format date172 adminCell.textContent = request.adminNote; 174 173 row.appendChild(adminCell); 175 174 const statusCell = document.createElement('td');
Note:
See TracChangeset
for help on using the changeset viewer.