modifica - da terminare gestioen doc remoti - resto ok

This commit is contained in:
2026-05-28 13:25:47 +02:00
parent f2b0833b90
commit 4a3051faff
122 changed files with 445 additions and 15819 deletions
+1 -1
View File
@@ -1380,7 +1380,7 @@ function browseRepo(repoId, repoNome, path) {
function updateRemoteBreadcrumb(nome, path) {
const bc = document.getElementById('remoteBreadcrumb');
const parts = path.replace(/^\/+|\/+$/g, '').split('/').filter(Boolean);
let html = '<i class="fab ' + (currentRepoBrowse && currentRepoBrowse.id ? getRepoIcon(repoIconFromId(currentRepoBrowse.id)) : 'fa-server') + ' mr-1"></i> ' + escHtml(nome);
let html = '<i class="' + (currentRepoBrowse && currentRepoBrowse.id ? repoIconFromId(currentRepoBrowse.id) : 'fa fa-server') + ' mr-1"></i> ' + escHtml(nome);
if (parts.length > 0 && parts[0] !== '') {
html += ' / ' + parts.map(p => escHtml(p)).join(' / ');
}