Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix(portal): Correctly use md-table directive for portal views config…
Browse files Browse the repository at this point in the history
…uration

Closes gravitee-io/issues#269
  • Loading branch information
brasseld committed Oct 23, 2016
1 parent b1c9dbe commit 81fe7ba
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/app/configuration/admin/views/views.html
Expand Up @@ -25,11 +25,11 @@
<md-table-container>
<table md-table ng-init="order = 'name'">
<thead md-head md-order="order">
<tr md-row>
<th md-column md-order-by="name">Name</th>
<th md-column md-order-by="description">Description</th>
<th></th>
</tr>
<tr md-row>
<th md-column md-order-by="name">Name</th>
<th md-column md-order-by="description">Description</th>
<th></th>
</tr>
</thead>
<tbody md-body>
<tr md-row ng-repeat="view in viewsCtrl.views | orderBy: order">
Expand All @@ -41,13 +41,14 @@
ng-class="{'gravitee-placeholder': !view.description}">
{{view.description || 'Add a description'}}
</td>
<td><ng-md-icon icon="delete" ng-click="viewsCtrl.deleteView(view)"></ng-md-icon></td>
<td md-cell><ng-md-icon icon="delete" ng-click="viewsCtrl.deleteView(view)"></ng-md-icon></td>
</tr>
<tr md-row>
<td md-cell ng-click="viewsCtrl.newView($event)" class="gravitee-placeholder">
New view
</td>
<td md-cell></td>
<td md-cell></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 81fe7ba

Please sign in to comment.