1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

feat(global): display a message when no item available in a list view (#263)

This commit is contained in:
Anthony Lapenna 2016-10-07 17:55:09 +13:00 committed by GitHub
parent 134416c9a3
commit 35ced4901a
11 changed files with 22 additions and 3 deletions

View file

@ -59,6 +59,9 @@
<td>{{ volume.Driver }}</td>
<td>{{ volume.Mountpoint }}</td>
</tr>
<tr ng-if="volumes.length == 0">
<td colspan="4" class="text-center text-muted">No volumes available.</td>
</tr>
</tbody>
</table>
</div>

View file

@ -5,6 +5,7 @@ function ($scope, $state, Volume, Messages) {
$scope.state.selectedItemCount = 0;
$scope.sortType = 'Name';
$scope.sortReverse = true;
$scope.volumes = [];
$scope.config = {
Name: ''