|
|
|
@ -10,27 +10,17 @@ |
|
|
|
|
|
|
|
|
|
<div class="grid--widget-content"> |
|
|
|
|
<edit-form *ngIf="(project$ | async) as project" [resource]="project"> |
|
|
|
|
<div class="project-status--container"> |
|
|
|
|
<editable-attribute-field [resource]="project" |
|
|
|
|
fieldName="status" |
|
|
|
|
wrapperClasses="project-status--display-field"> |
|
|
|
|
</editable-attribute-field> |
|
|
|
|
</div> |
|
|
|
|
<div class="project-status-explanation--container"> |
|
|
|
|
<editable-attribute-field [resource]="project" |
|
|
|
|
fieldName="statusExplanation"> |
|
|
|
|
</editable-attribute-field> |
|
|
|
|
</div> |
|
|
|
|
</edit-form> |
|
|
|
|
|
|
|
|
|
<!-- <ng-select [disabled]="true"--> |
|
|
|
|
<!-- [items]="availableStatuses"--> |
|
|
|
|
<!-- [(ngModel)]="currentStatusCode"--> |
|
|
|
|
<!-- bindLabel="name"--> |
|
|
|
|
<!-- bindValue="code"--> |
|
|
|
|
<!-- class="traffic-lights">--> |
|
|
|
|
<!-- <ng-template ng-label-tmp let-item="item">--> |
|
|
|
|
<!-- <span class="bulb" [ngClass]="item.colorClass"></span>--> |
|
|
|
|
<!-- <span class="status-name" [ngClass]="item.colorClass">{{item.name}}</span>--> |
|
|
|
|
<!-- </ng-template>--> |
|
|
|
|
<!-- </ng-select>--> |
|
|
|
|
<!-- <div class="explanation" [innerHtml]="explanation"></div>--> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|