26 lines
1.2 KiB
HTML
26 lines
1.2 KiB
HTML
|
<div class="col-12">
|
||
|
<div class="row">
|
||
|
<h5 *ngIf="fieldSet.title && !isChild" class="col-auto compositeField toc-compositeField-header" [id]="fieldSet.id">
|
||
|
<!-- TODO: We need the numbering here. -->
|
||
|
<!-- {{tocentry? tocentry.numbering : form.get('numbering').value}} -->
|
||
|
{{fieldSet.title}}
|
||
|
</h5>
|
||
|
<mat-icon class="col-auto info-icon" *ngIf="fieldSet.additionalInformation && !isChild" matTooltip="{{fieldSet.additionalInformation}}">info</mat-icon>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<h6 *ngIf="fieldSet.description && !isChild" class="col-12" [innerHTML]="fieldSet.description"></h6>
|
||
|
|
||
|
<div *ngIf="fieldSet.extendedDescription && !isChild" class="col-12 mt-3 mb-3">
|
||
|
<div *ngIf="!showExtendedDescription" (click)="showExtendedDescription = !showExtendedDescription">
|
||
|
<span class="more d-flex justify-content-center">{{'DATASET-EDITOR.QUESTION.EXTENDED-DESCRIPTION.VIEW-MORE' | translate}}</span>
|
||
|
</div>
|
||
|
<div *ngIf="showExtendedDescription">
|
||
|
<h6 [innerHTML]="fieldSet.extendedDescription"></h6>
|
||
|
<span class="more d-flex justify-content-center" (click)="showExtendedDescription = !showExtendedDescription">
|
||
|
{{'DATASET-EDITOR.QUESTION.EXTENDED-DESCRIPTION.VIEW-LESS' | translate}}
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|