Skip to content

Commit 404dc6c

Browse files
davras5claude
andcommitted
Begriffe table: remove Quellentyp column, Standard as last
Columns: Name, Domäne, Beschreibung, Status, Standard Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a60d3c6 commit 404dc6c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

prototype1/js/app.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -933,22 +933,19 @@ function renderTermsList(listTab) {
933933
return html;
934934
}
935935

936-
const colgroup = '<colgroup><col style="width:18%"><col style="width:15%"><col style="width:30%"><col style="width:12%"><col style="width:12%"><col style="width:13%"></colgroup>';
937-
const thead = '<thead><tr><th scope="col">Name</th><th scope="col">Domäne</th><th scope="col">Beschreibung</th><th scope="col">Quellentyp</th><th scope="col">Standard</th><th scope="col">Status</th></tr></thead>';
938-
const sourceLabels = { standard: 'Standard', law: 'Gesetz', regulation: 'Verordnung', norm: 'Norm' };
936+
const colgroup = '<colgroup><col style="width:18%"><col style="width:15%"><col style="width:35%"><col style="width:12%"><col style="width:20%"></colgroup>';
937+
const thead = '<thead><tr><th scope="col">Name</th><th scope="col">Domäne</th><th scope="col">Beschreibung</th><th scope="col">Status</th><th scope="col">Standard</th></tr></thead>';
939938

940939
html += '<div class="list-panel">';
941940

942941
function termRow(t) {
943942
const def = getDefinitionText(t.definition, lang);
944-
const srcLabel = sourceLabels[t.source_type] || t.source_type;
945943
return `<tr class="clickable-row" data-href="#/terms/${t.id}">
946944
<td>${escapeHtml(n(t, 'name'))}</td>
947945
<td>${t.domain_name ? escapeHtml(t.domain_name) : '&ndash;'}</td>
948946
<td>${def ? escapeHtml(def.substring(0, 100)) + (def.length > 100 ? '...' : '') : '&ndash;'}</td>
949-
<td>${escapeHtml(srcLabel)}</td>
950-
<td>${t.standard_ref ? escapeHtml(t.standard_ref) : '&ndash;'}</td>
951947
<td>${statusBadge(t.status)}</td>
948+
<td>${t.standard_ref ? escapeHtml(t.standard_ref) : '&ndash;'}</td>
952949
</tr>`;
953950
}
954951

0 commit comments

Comments
 (0)