This commit is contained in:
KONE SOREL 2026-04-04 10:43:30 +00:00
parent c2da5cf3f2
commit 85c3496c86
2 changed files with 14 additions and 4 deletions

View File

@ -48249,16 +48249,26 @@ function filtreTableReference(numeroTable){
function filtreTableReference(numeroTable) {
const racineWeb = $("#racineWeb").val();
const $divListe = $("#div_listetables");
const lang = $("#codeLangue").val();
const msg = (lang === "en_US")
? 'Select a table to display the data'
: 'Sélectionnez une table pour afficher les données';
$("#div_lister_table").html(`
<div class="text-center p-5 bg-white rounded shadow-xs border">
<div class="icon-shape bg-light text-muted rounded-circle mx-auto mb-3" style="width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;">
<div class="icon-shape bg-light text-muted rounded-circle mx-auto mb-3"
style="width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;">
<i class="fas fa-table-list fa-2x"></i>
</div>
<h6 class="text-muted fw-bold"><?= _("Sélectionnez une table pour afficher les données") ?></h6>
<h6 class="text-muted fw-bold">${msg}</h6>
</div>
`);
// Ici on injecte le texte dans le <h6>
// $("#div_lister_table h6").text(msg);
$('#div_fichiers_table').html("");
$('#div_entete_table').html("");

View File

@ -66,7 +66,7 @@
<div class="icon-shape bg-light text-muted rounded-circle mx-auto mb-3" style="width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;">
<i class="fas fa-table-list fa-2x"></i>
</div>
<h6 class="text-muted fw-bold"><?= _("Sélectionnez une table pour afficher les données") ?></h6>
<h6 class="text-muted fw-bold"><?= est_anglophone() ? "Select a table to display the data" : "Sélectionnez une table pour afficher les données"; ?></h6>
</div>
</div>
</div>