From 4c39c2ec57fa240c888dca8f81dda8feda353ef3 Mon Sep 17 00:00:00 2001 From: agrajaghh Date: Wed, 19 Oct 2016 18:28:32 +0200 Subject: [PATCH] add Version count to home page --- Duplicati/Server/webroot/ngax/index.html | 1 + Duplicati/Server/webroot/ngax/scripts/helper.js | 5 +++++ Duplicati/Server/webroot/ngax/templates/home.html | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Duplicati/Server/webroot/ngax/scripts/helper.js diff --git a/Duplicati/Server/webroot/ngax/index.html b/Duplicati/Server/webroot/ngax/index.html index b67fe44f8..fd0f1266a 100755 --- a/Duplicati/Server/webroot/ngax/index.html +++ b/Duplicati/Server/webroot/ngax/index.html @@ -56,6 +56,7 @@ + diff --git a/Duplicati/Server/webroot/ngax/scripts/helper.js b/Duplicati/Server/webroot/ngax/scripts/helper.js new file mode 100644 index 000000000..11a144a15 --- /dev/null +++ b/Duplicati/Server/webroot/ngax/scripts/helper.js @@ -0,0 +1,5 @@ +angular.module('backupApp').run(function($rootScope){ + $rootScope.parseInt = function(str) { + return parseInt(str); + }; +}); diff --git a/Duplicati/Server/webroot/ngax/templates/home.html b/Duplicati/Server/webroot/ngax/templates/home.html index 33e2e079e..9e773da5b 100644 --- a/Duplicati/Server/webroot/ngax/templates/home.html +++ b/Duplicati/Server/webroot/ngax/templates/home.html @@ -93,7 +93,7 @@
Backup:
-
{{item.Backup.Metadata.TargetSizeString}}
+
{{item.Backup.Metadata.TargetSizeString}} / {{$count}} Version