From d9b541d42c7677e43627684ec744b23339062964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=A4=D0=B5=D0=B4?= =?UTF-8?q?=D0=BE=D1=80=D0=BE=D0=B2?= Date: Tue, 12 Aug 2014 12:58:05 +0600 Subject: [PATCH] + Add VirtualSize column to Images page --- js/viewmodel.js | 1 + partials/images.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/js/viewmodel.js b/js/viewmodel.js index 7a17b21e9..319214aea 100644 --- a/js/viewmodel.js +++ b/js/viewmodel.js @@ -6,6 +6,7 @@ function ImageViewModel(data) { this.Created = data.Created; this.Checked = false; this.RepoTags = data.RepoTags; + this.VirtualSize = data.VirtualSize; } function ContainerViewModel(data) { diff --git a/partials/images.html b/partials/images.html index 54fe3df1c..a2c68053e 100644 --- a/partials/images.html +++ b/partials/images.html @@ -17,6 +17,7 @@ Action Id Repository + VirtualSize Created @@ -25,6 +26,7 @@ {{ image.Id|truncate:20}} {{ image|repotag }} + {{ image.VirtualSize|humansize }} {{ image.Created|getdate }}