1 <ng-template #successStrTmpl i18n>{{idlClassDef.label}} Update Succeeded</ng-template>
2 <eg-string #successString [template]="successStrTmpl"></eg-string>
4 <ng-template #createStrTmpl i18n>{{idlClassDef.label}} Succeessfully Created</ng-template>
5 <eg-string #createString [template]="createStrTmpl"></eg-string>
7 <ng-container *ngIf="orgField">
10 <div class="input-group">
11 <div class="input-group-prepend">
12 <span class="input-group-text">{{orgFieldLabel}}</span>
15 [limitPerms]="viewPerms"
16 [initialOrg]="contextOrg"
17 (onChange)="orgOnChange($event)">
22 <div class="form-check">
23 <input type="checkbox" (click)="grid.reload()"
24 [disabled]="disableAncestorSelector()"
25 [(ngModel)]="includeOrgAncestors"
26 class="form-check-input" id="include-ancestors">
27 <label class="form-check-label" for="include-ancestors" i18n>+ Ancestors</label>
29 <div class="form-check">
30 <input type="checkbox" (click)="grid.reload()"
31 [disabled]="disableDescendantSelector()"
32 [(ngModel)]="includeOrgDescendants"
33 class="form-check-input" id="include-descendants">
34 <label class="form-check-label" for="include-descendants" i18n>+ Descendants</label>
41 <!-- idlObject and fieldName applied programmatically -->
42 <eg-translate #translator></eg-translate>
44 <eg-grid #grid idlClass="{{idlClass}}" [dataSource]="dataSource"
45 [sortable]="true" persistKey="{{persistKey}}">
46 <eg-grid-toolbar-button [disabled]="!canCreate"
47 label="New {{idlClassDef.label}}" i18n-label [action]="createNew">
48 </eg-grid-toolbar-button>
49 <eg-grid-toolbar-button [disabled]="translatableFields.length == 0"
50 label="Apply Translations" i18n-label [action]="translate">
51 </eg-grid-toolbar-button>
52 <eg-grid-toolbar-action label="Delete Selected" i18n-label [action]="deleteSelected">
53 </eg-grid-toolbar-action>
56 <eg-fm-record-editor #editDialog idlClass="{{idlClass}}">
57 </eg-fm-record-editor>