-
Notifications
You must be signed in to change notification settings - Fork 540
Expand file tree
/
Copy pathcreate-community-parent-selector.component.html
More file actions
26 lines (25 loc) · 1.2 KB
/
create-community-parent-selector.component.html
File metadata and controls
26 lines (25 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div>
<div class="modal-header">
<h4 id="modal-title" class="modal-title h4 mb-0">{{'dso-selector.'+ action + '.' + objectType.toString().toLowerCase() + '.head' | translate}}</h4>
<button type="button" class="btn-close" (click)="close()" aria-label="Close">
</button>
</div>
<div class="modal-body">
@if ((isAdmin$ | async)) {
<div data-test="admin-div">
<button class="btn btn-outline-primary btn-lg btn-block w-100" (click)="selectObject(undefined)">{{'dso-selector.create.community.top-level' | translate}}</button>
<div class="h3 position-relative py-1 my-3 fw-normal">
<hr>
<div id="create-community-or-separator" class="text-center position-absolute w-100">
<span class="px-4 bg-white">{{'dso-selector.create.community.or-divider' | translate}}</span>
</div>
</div>
</div>
}
<span class="h5 px-2">{{'dso-selector.create.community.sub-level' | translate}}</span>
<ds-authorized-community-selector [currentDSOId]="dsoRD?.payload.uuid"
[types]="selectorTypes"
[action]="rpActionType"
(onSelect)="selectObject($event)"></ds-authorized-community-selector>
</div>
</div>