blob: 2a3a5385bd1efe5dc4c5fa543822e805dd11d1d8 [file] [log] [blame]
Radek Krejci31a09d32018-08-14 12:43:35 +02001<div class="yang-infobox">
Jakub Mande41a7a2018-10-17 15:31:53 +02002 <div class="yang-info-label"><h2>Feature <b>{{name}}</b></h2></div>
Radek Krejci31a09d32018-08-14 12:43:35 +02003 <div class="yang-info-section" *ngIf="data['if-features']">
4 <div class="yang-info" *ngFor="let value of data['if-features']">
5 <yang-iffeature (refresh)="onRefresh()" [schema]="schema" [data]="value"></yang-iffeature>
6 </div>
7 </div>
8
9 <div class="yang-info-section">
10 <div class="yang-info" *ngIf="data.status">
11 <span class="yang-info-label">status</span><span class="yang-info-value">{{data.status.value}}</span>
12 </div>
13 <div class="yang-info" *ngIf="data.description">
Jakub Mande41a7a2018-10-17 15:31:53 +020014 <span class="yang-info-label">description</span><span class="yang-info-value" [innerHTML]="newlineToBr(data.description.text)"></span>
Radek Krejci31a09d32018-08-14 12:43:35 +020015 </div>
16 <div class="yang-info" *ngIf="data.reference">
Jakub Mande41a7a2018-10-17 15:31:53 +020017 <span class="yang-info-label">reference</span><span class="yang-info-value" [innerHTML]="newlineToBr(data.reference.text)"></span>
Radek Krejci31a09d32018-08-14 12:43:35 +020018 </div>
19 </div>
20
21</div>
22
23<!-- <pre>{{schema | json}}</pre> -->