modifica - da terminare gestioen doc remoti - resto ok
This commit is contained in:
@@ -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(' / ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user