summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-10-27 07:51:57 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-10-27 07:51:57 -0400
commit2ab37cf8e468fddf658897f6ef9c6391f8784b8f (patch)
tree5039f5f2d8fddd4fbd849b327db61b522eb07e2b /www/js
parent42c068b2dd7ff891979cc39f532af1f4fd4d987c (diff)
modified sensitive info warning, removed old text from language files. Authors have to readd it
Diffstat (limited to 'www/js')
-rw-r--r--www/js/LogCtrl.js13
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
});