Jakub Man | de41a7a | 2018-10-17 15:31:53 +0200 | [diff] [blame] | 1 | <div class="yang-info" *ngIf="name=='pattern'"> |
| 2 | <span class="yang-info-subsection-label">{{name}}</span> |
| 3 | <span class="yang-info-value pattern" [innerHTML]="data.value | patternHighlight"></span> |
| 4 | </div> |
| 5 | <div class="yang-info" *ngIf="name!='pattern'"> |
| 6 | <span class="yang-info-subsection-label">{{name}}</span> |
| 7 | <span class="yang-info-value">{{data.value}}</span> |
| 8 | </div> |
| 9 | <div class="yang-info-subsection"> |
| 10 | <div class="yang-info" *ngIf="data.modifier"> |
| 11 | <span class="yang-info-label">modifier</span> |
| 12 | <span class="yang-info-value">{{data.modifier.value}}</span> |
| 13 | </div> |
| 14 | <div class="yang-info" *ngIf="data['error-message']"> |
| 15 | <span class="yang-info-label">error-message</span> |
| 16 | <span class="yang-info-value">{{data['error-message'].value}}</span> |
| 17 | </div> |
| 18 | <div class="yang-info" *ngIf="data['error-app-tag']"> |
| 19 | <span class="yang-info-label">error-app-tag</span> |
| 20 | <span class="yang-info-value">{{data['error-app-tag'].value}}</span> |
| 21 | </div> |
| 22 | <div class="yang-info" *ngIf="data.description"> |
| 23 | <span class="yang-info-label">description</span> |
| 24 | <pre class="yang-info-value">{{data.description.text}}</pre> |
| 25 | </div> |
| 26 | <div class="yang-info" *ngIf="data.reference"> |
| 27 | <span class="yang-info-label">reference</span> |
| 28 | <pre class="yang-info-value">{{data.reference.text}}</pre> |
| 29 | </div> |
| 30 | </div> |