Show total plugin count in plugin message
Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/ba3cb0ed Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/ba3cb0ed Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/ba3cb0ed Branch: refs/heads/master Commit: ba3cb0edfb2c722643f63ad0db116c0fdaffedfe Parents: 91d27cf Author: Andrew Grieve <[email protected]> Authored: Wed May 28 22:22:44 2014 -0400 Committer: Andrew Grieve <[email protected]> Committed: Wed May 28 22:25:11 2014 -0400 ---------------------------------------------------------------------- www/cdvah/views/list.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/ba3cb0ed/www/cdvah/views/list.html ---------------------------------------------------------------------- diff --git a/www/cdvah/views/list.html b/www/cdvah/views/list.html index 42af081..31a8779 100644 --- a/www/cdvah/views/list.html +++ b/www/cdvah/views/list.html @@ -28,8 +28,9 @@ <div ng-show="app.updatingStatus !== null">Update in progress: {{app.updatingStatus}}%</div> <div ng-show="app.plugins.missing.length + app.plugins.newer.length + app.plugins.older.length > 0"> Plugins: + <span>{{app.plugins.all.length}} total</span><span ng-show="app.plugins.missing.length || app.plugins.older.length || app.plugins.newer.length">, </span> <span style="color:#c00" ng-show="app.plugins.missing.length">{{ app.plugins.missing.length }} missing</span><span ng-show="app.plugins.missing.length && (app.plugins.older.length || app.plugins.newer.length)">, </span> - <span style="color:#822" ng-show="app.plugins.older.length">{{ app.plugins.older.length }} outdated<span><span ng-show="app.plugins.older.length && app.plugins.newer.length">, </span> + <span style="color:#822" ng-show="app.plugins.older.length">{{ app.plugins.older.length }} outdated</span><span ng-show="app.plugins.older.length && app.plugins.newer.length">, </span> <span ng-show="app.plugins.newer.length">{{ app.plugins.newer.length }} newer</span> </div> <div ng-show="app.plugins.missing.length + app.plugins.newer.length + app.plugins.older.length == 0">Plugins: OK</div>
