| <!-- |
| Copyright 2017 Huawei Technologies Co., Ltd |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <table class="table table-bordered table-responsive margin20" > |
| <thead class="infoTableHead"> |
| <th>{{ 'name' | translate }}</th> |
| <th>{{ 'status' | translate }}</th> |
| <th>{{ 'version' | translate }}</th> |
| <th>{{ 'createdAt' | translate }}</th> |
| <th>{{ 'description' | translate }}</th> |
| </thead> |
| <tbody> |
| <tr ng-repeat="consumer in consumers"> |
| <td>{{consumer.serviceName | lowercase}}</td> |
| <td>{{consumer.status | lowercase}}</td> |
| <td>{{consumer.version}}</td> |
| <td>{{convertTime(consumer.timestamp)}}</td> |
| <td>{{consumer.description || '-' }}</td> |
| </tr> |
| <tr ng-if="consumers.length == 0" class="text-center"> |
| <td colspan="5">{{ "noDataFound" | translate }}</td> |
| </tr> |
| </tbody> |
| </table> |