diff --git a/webapp/src/app/modules/hierarchy/hierarchy-chart/hierarchy-tree-editor/hierarchy-tree-editor.component.html b/webapp/src/app/modules/hierarchy/hierarchy-chart/hierarchy-tree-editor/hierarchy-tree-editor.component.html index e3bd4650..d1ed9126 100644 --- a/webapp/src/app/modules/hierarchy/hierarchy-chart/hierarchy-tree-editor/hierarchy-tree-editor.component.html +++ b/webapp/src/app/modules/hierarchy/hierarchy-chart/hierarchy-tree-editor/hierarchy-tree-editor.component.html @@ -1,4 +1,7 @@
+ @if (editorStatus === 'in-progress') { + In Bearbeitung + } @@ -22,7 +25,11 @@
- @if (!isManager && numberOfSuggestions <= 0) { + @if (readOnly) { + Nur Ansicht + } @else if ( + !isManager && numberOfSuggestions <= 0 && editorStatus !== 'in-progress' + ) {
{{ isSuggestion && isManager @@ -84,12 +89,17 @@ } @else { } -
{{ node.name_de }} + @if (node.affected || node.modified) { + + } @if (node.link_de) { {{ node.link_de }} @@ -111,7 +121,7 @@
- @if (node.modified !== 'deleted') { + @if (!readOnly && node.modified !== 'deleted') { } - @if (node.type === 'leaf' || node.modified) { + @if (!readOnly && (node.type === 'leaf' || node.modified)) { @if (node.modified === 'deleted') {