| <!--********************************************************************************
|
| * Copyright (c) 2015-2018 Contributors to the Eclipse Foundation
|
| *
|
| * See the NOTICE file(s) distributed with this work for additional
|
| * information regarding copyright ownership.
|
| *
|
| * This program and the accompanying materials are made available under the
|
| * terms of the Eclipse Public License v. 2.0 which is available at
|
| * http://www.eclipse.org/legal/epl-2.0.
|
| *
|
| * SPDX-License-Identifier: EPL-2.0
|
| *
|
| ********************************************************************************-->
|
| |
| |
| <div> |
| <div class="btn-group pull-right" role="group"> |
| <button type="button" class="btn btn-default" (click)="add2Basket()" [disabled]="isShopable()">{{LblToBasket}}</button> |
| <!-- <mdm-filerelease-create [node]=selectedNode [disabled]="isReleasable()"></mdm-filerelease-create> --> |
| </div> |
| <h3 *ngIf="selectedNode" style="margin: 5px;" class="icon" [ngClass]="selectedNode.getClass()"> |
| {{selectedNode.type | translate}} |
| </h3> |
| </div> |
| <table class="table table-hover" style="margin-bottom: 0;"> |
| <thead> |
| <tr> |
| <th>{{LblAttribute}}</th> |
| <th>{{LblValue}}</th> |
| <th>{{LblUnit}}</th> |
| </tr> |
| </thead> |
| <tbody *ngIf="selectedNode"> |
| <tr *ngFor="let attr of displayAttributes"> |
| <td>{{selectedNode.type | translate: attr.name}}</td> |
| <td>{{attr.value}}</td> |
| <td>{{attr.unit}}</td> |
| </tr> |
| </tbody> |
| </table> |