Revision 50971
Added by Konstantina Galouni about 6 years ago
divIds.component.html | ||
---|---|---|
66 | 66 |
<div class="community" href="#">{{check.divId.community.name}}</div> |
67 | 67 |
</td> |
68 | 68 |
<td> |
69 |
<div class="page" href="#">{{check.divId.page.name}}</div> |
|
69 |
<!-- <div class="page" href="#">{{check.divId.page.name}}</div> --> |
|
70 |
<div class="pages" href="#"> |
|
71 |
<span *ngFor="let page of check.divId.pages let i=index">{{page.name}}<span *ngIf="i<(check.divId.pages.length-1)">, </span></span> |
|
72 |
</div> |
|
70 | 73 |
</td> |
71 | 74 |
<td> |
72 | 75 |
<div class="actions" href="#"> |
... | ... | |
96 | 99 |
|
97 | 100 |
<modal-form #updateModal [saveText]="'Update'" [titleText]="'Update Class'" [formGroup]="formGroup" [type]="'divId'" |
98 | 101 |
[isModalShown]="isModalShown" (emmitObject)="divIdUpdatedSuccessfully($event)" (emmitError)="handleError($event)"> |
99 |
<divId-form [group]="formGroup" [communityPid]="selectedCommunityPid" [availablePages]="pages"></divId-form> |
|
102 |
<divId-form [group]="formGroup" [communityPid]="selectedCommunityPid" [availablePages]="pages" [formPages]="formPages"></divId-form>
|
|
100 | 103 |
</modal-form> |
101 | 104 |
|
102 | 105 |
<delete-confirmation-dialog #deleteConfirmationModal [isModalShown]="isModalShown" (emmitObject)="confirmedDeleteDivIds($event)"> |
Also available in: Unified diff
1. DivId is related to >=1 Pages (not just one) - there is no check that AT LEAST one Page was selected.