| <div class="yang-infobox"> |
| <div class="yang-info-label"><h2>Feature <b>{{name}}</b></h2></div> |
| <div class="yang-info-section" *ngIf="data['if-features']"> |
| <div class="yang-info" *ngFor="let value of data['if-features']"> |
| <yang-iffeature (refresh)="onRefresh()" [schema]="schema" [data]="value"></yang-iffeature> |
| </div> |
| </div> |
| |
| <div class="yang-info-section"> |
| <div class="yang-info" *ngIf="data.status"> |
| <span class="yang-info-label">status</span><span class="yang-info-value">{{data.status.value}}</span> |
| </div> |
| <div class="yang-info" *ngIf="data.description"> |
| <span class="yang-info-label">description</span><span class="yang-info-value" [innerHTML]="newlineToBr(data.description.text)"></span> |
| </div> |
| <div class="yang-info" *ngIf="data.reference"> |
| <span class="yang-info-label">reference</span><span class="yang-info-value" [innerHTML]="newlineToBr(data.reference.text)"></span> |
| </div> |
| </div> |
| |
| </div> |
| |
| <!-- <pre>{{schema | json}}</pre> --> |