@@ -7,52 +7,58 @@ <h1 mat-dialog-title>
77 {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE' | translate:{ 'name': userName} }}
88 </ h1 >
99 < div *ngIf ="dataSource " mat-dialog-content class ="me-0 ">
10- < p > {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO' | translate}}</ p >
10+ < p class =" ms-2 " > {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO' | translate}}</ p >
1111
1212 < mat-form-field class ="filter-field ms-2 ">
1313 < mat-label >
1414 {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER' | translate}}
1515 </ mat-label >
1616 < input matInput [formControl] ="formControl " />
1717 </ mat-form-field >
18- < perun-web-apps-alert
19- *ngIf ="!dataSource.data.length "
20- > {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS'|translate}}</ perun-web-apps-alert
21- >
18+
19+ < perun-web-apps-alert *ngIf ="!dataSource.data.length ">
20+ {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS'|translate}}
21+ </ perun-web-apps-alert >
22+
2223 < mat-tree
2324 *ngIf ="dataSource.data.length "
2425 [dataSource] ="dataSource "
2526 [treeControl] ="treeControl "
26- class ="example-tree ">
27+ class ="example-tree ms-2 bordered-tree description-text ">
2728 <!-- This is the tree node template for leaf nodes -->
2829 < mat-tree-node *matTreeNodeDef ="let node " matTreeNodeToggle >
29- < li class ="mat-tree-node ">
30+ < li class ="mat-tree-node node ps-2 ">
3031 < div
3132 class ="row flex-nowrap "
3233 [class.cursor-pointer] ="node.direct || node.include "
3334 [class.act-disabled] ="!node.direct && !node.include "
3435 (click) ="navigate(node.id, node.include) ">
35- < div [ngStyle] ="{'min-width': getMinWidth(node.level)} " class ="mt-auto mb-auto ">
36+ < div
37+ [ngStyle] ="{'min-width': getMinWidth(node.level)} "
38+ class ="mt-auto mb-auto ms-3 d-flex ">
3639 < span > {{node.name | parseGroupName}}</ span >
3740 < span
3841 *ngIf ="node.direct "
3942 class ="text-muted ms-2 "
40- > {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT' | translate}}</ span
41- >
43+ matTooltip ="{{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT' | translate}} ">
44+ < mat-icon > person_pin_circle</ mat-icon >
45+ </ span >
4246 < span
4347 *ngIf ="node.include "
4448 class ="text-muted ms-2 "
45- > {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE' | translate}}</ span
46- >
49+ matTooltip ="{{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE' | translate}} ">
50+ < mat-icon > mediation</ mat-icon >
51+ </ span >
52+ < span class ="text-muted ms-5 w-50 "> {{node.description}}</ span >
4753 </ div >
48- < span class ="text-muted ms-3 "> {{node.description}}</ span >
4954 </ div >
5055 </ li >
5156 </ mat-tree-node >
57+
5258 <!-- This is the tree node template for expandable nodes -->
5359 < mat-nested-tree-node *matTreeNodeDef ="let node; when: hasChild ">
5460 < li >
55- < div class ="mat-tree-node ">
61+ < div class ="mat-tree-node ps-2 ">
5662 < button
5763 mat-icon-button
5864 matTreeNodeToggle
@@ -66,8 +72,10 @@ <h1 mat-dialog-title>
6672 [class.cursor-pointer] ="node.direct || node.include "
6773 [class.act-disabled] ="!node.direct && !node.include "
6874 (click) ="navigate(node.id, node.include) "
69- class ="row flex-nowrap ">
70- < div [ngStyle] ="{'min-width': getMinWidth(node.level)} " class ="mt-auto mb-auto ">
75+ class ="row ">
76+ < div
77+ [ngStyle] ="{'min-width': getMinWidth(node.level)} "
78+ class ="mt-auto mb-auto d-flex ">
7179 < span > {{node.name | parseGroupName}}</ span >
7280 < span
7381 *ngIf ="node.direct "
@@ -79,8 +87,8 @@ <h1 mat-dialog-title>
7987 class ="text-muted ms-2 "
8088 > {{'SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE' | translate}}</ span
8189 >
90+ < span class ="text-muted ms-5 "> {{node.description}}</ span >
8291 </ div >
83- < span class ="text-muted ms-3 "> {{node.description}}</ span >
8492 </ div >
8593 </ div >
8694 < ul [class.example-tree-invisible] ="!treeControl.isExpanded(node) ">
@@ -90,6 +98,7 @@ <h1 mat-dialog-title>
9098 </ mat-nested-tree-node >
9199 </ mat-tree >
92100 </ div >
101+
93102 < div mat-dialog-actions >
94103 < div class ="ms-auto ">
95104 < button (click) ="onCancel() " mat-stroked-button >
0 commit comments