diff --git a/frontend/js/graph.js b/frontend/js/graph.js index 780279b..d903953 100644 --- a/frontend/js/graph.js +++ b/frontend/js/graph.js @@ -626,7 +626,7 @@ export const GraphViewManager = { if (fm.date || fm.creation_date) rows.push(`
📅 Date ${fm.date || fm.creation_date}
`); if (fm.statut) rows.push(`
📌 Statut ${fm.statut}
`); if (fm.catégorie || fm.categorie) rows.push(`
${t('graph.category')} ${fm.catégorie || fm.categorie}
`); - if (fm.publish) rows.push('
✅ ${t('graph.published')}
'); + if (fm.publish) rows.push(`
✅ ${t('graph.published')}
`); if (fm.favoris) rows.push('
⭐ Favoris
'); if (rows.length > 0) metaRows = rows.join(''); } @@ -650,7 +650,7 @@ export const GraphViewManager = { ${metaRows ? `
${metaRows}
` : ''} ${tags.length > 0 ? `
${tags.map(t => `#${t}`).join('')}
` : ''} - ${node.type === 'file' ? '
${t('graph.ctrl_hover_preview')}
' : ''} + ${node.type === 'file' ? '
' + t('graph.ctrl_hover_preview') + '
' : ''} `; this._infoPanel.style.display = 'block'; }, @@ -672,7 +672,7 @@ export const GraphViewManager = { if (fm.auteur) items.push(`✍️ ${fm.auteur}`); if (fm.date || fm.creation_date) items.push(`📅 ${fm.date || fm.creation_date}`); if (fm.statut) items.push(`📌 ${fm.statut}`); - if (fm.publish) items.push('${t('graph.published_badge')}'); + if (fm.publish) items.push(t('graph.published_badge')); if (fm.favoris) items.push('⭐ favoris'); if (items.length > 0) fmSummary = `
${items.join(' · ')}
`; }