traduction

This commit is contained in:
thaaoblues 2024-04-07 11:09:07 +02:00
parent a4c78b116f
commit c57b656380
2 changed files with 1 additions and 2 deletions

View file

@ -83,7 +83,7 @@ async function gen_contenu() {
previewCell = document.createElement('td'); previewCell = document.createElement('td');
const pdfLink = document.createElement('a'); const pdfLink = document.createElement('a');
pdfLink.href = doc.upload_path; pdfLink.href = doc.upload_path;
pdfLink.textContent = 'View PDF'; pdfLink.textContent = 'Voir PDF';
pdfLink.target = '_blank'; pdfLink.target = '_blank';
previewCell.appendChild(pdfLink); previewCell.appendChild(pdfLink);
break; break;

View file

@ -8,7 +8,6 @@ async function test_auth(){
async function authenticate_user(){ async function authenticate_user(){
resp = await fetch("api.php/auth"); resp = await fetch("api.php/auth");
data = await resp.json(); data = await resp.json();
console.log("test");
if(data.status == 1){ if(data.status == 1){
document.getElementById("user_status").innerText = data["msg"]; document.getElementById("user_status").innerText = data["msg"];
} }