Radek Krejci | 31a09d3 | 2018-08-14 12:43:35 +0200 | [diff] [blame] | 1 | <div class="yang-infobox"> |
Jakub Man | de41a7a | 2018-10-17 15:31:53 +0200 | [diff] [blame] | 2 | <div class="yang-info-label"><h2>Feature <b>{{name}}</b></h2></div> |
Radek Krejci | 31a09d3 | 2018-08-14 12:43:35 +0200 | [diff] [blame] | 3 | <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 Man | de41a7a | 2018-10-17 15:31:53 +0200 | [diff] [blame] | 14 | <span class="yang-info-label">description</span><span class="yang-info-value" [innerHTML]="newlineToBr(data.description.text)"></span> |
Radek Krejci | 31a09d3 | 2018-08-14 12:43:35 +0200 | [diff] [blame] | 15 | </div> |
| 16 | <div class="yang-info" *ngIf="data.reference"> |
Jakub Man | de41a7a | 2018-10-17 15:31:53 +0200 | [diff] [blame] | 17 | <span class="yang-info-label">reference</span><span class="yang-info-value" [innerHTML]="newlineToBr(data.reference.text)"></span> |
Radek Krejci | 31a09d3 | 2018-08-14 12:43:35 +0200 | [diff] [blame] | 18 | </div> |
| 19 | </div> |
| 20 | |
| 21 | </div> |
| 22 | |
| 23 | <!-- <pre>{{schema | json}}</pre> --> |