diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/LogCtrl.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/www/js/LogCtrl.js b/www/js/LogCtrl.js index c575b5fb..cba597ed 100644 --- a/www/js/LogCtrl.js +++ b/www/js/LogCtrl.js @@ -111,7 +111,15 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo if (isAvailable) { - + + var body = "zmNinja version:" + $scope.zmAppVersion + + " (" + $rootScope.platformOS + ")<br/>" + + "ZoneMinder version:" + NVRDataModel.getCurrentServerVersion(); + + + body = '<b>'+$translate.instant('kSensitiveBody')+'</b><br/><br/>'+body; + + $fileLogger.checkFile() .then (function (d) { @@ -120,7 +128,8 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo cordova.plugins.email.open({ to: zm.authoremail, subject: $rootScope.appName + ' logs attached', - body: 'logs are attached', + body: body, + attachments: url }); |
