Aam-Digital/ndb-core

View on GitHub
src/app/core/form-dialog/row-details/row-details.component.html

Summary

Maintainability
Test Coverage
<app-dialog-close mat-dialog-close></app-dialog-close>

<mat-dialog-content>
  <div class="flex-column gap-regular">
    <app-entity-archived-info [entity]="data.entity"></app-entity-archived-info>

    <app-entity-form
      [fieldGroups]="fieldGroups"
      [entity]="data.entity"
      [form]="form"
    >
    </app-entity-form>

    <div *ngFor="let col of viewOnlyColumns">
      <app-pill
        [matTooltip]="col.description"
        [style.background-color]="tempEntity.getColor()"
        class="mat-body-strong"
      >
        <app-entity-field-view
          [field]="col"
          [entity]="tempEntity"
          showLabel="inline"
        ></app-entity-field-view>
      </app-pill>
    </div>
  </div>
</mat-dialog-content>

<mat-dialog-actions>
  <app-dialog-buttons [form]="form" [entity]="data.entity" />
</mat-dialog-actions>