This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit d76290eb7b5015c78878b4776325d91f1d915075 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Thu Jun 25 16:14:12 2015 +0200 ordonnée du graphe des archives --- app/modules/notification_modules/sms_notif.py | 8 ++++---- static/js/controllers/hostPageCtrl.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/modules/notification_modules/sms_notif.py b/app/modules/notification_modules/sms_notif.py index b9f33ee..c758e60 100644 --- a/app/modules/notification_modules/sms_notif.py +++ b/app/modules/notification_modules/sms_notif.py @@ -29,10 +29,10 @@ class SMS: except IOError, e: if hasattr(e,'code'): if e.code == 400: - self.logger.warning('sms_notif code 400: One of the url parameters is missing.') + self.logger.error('sms_notif ' + self.user_data['sms_url'] + ' code 400: One of the url parameters is missing.') if e.code == 402: - self.logger.warning('sms_notif code 402: Too many SMS have been sent in short time.') + self.logger.error('sms_notif ' + self.user_data['sms_url'] + ' code 402: Too many SMS have been sent in short time.') if e.code == 403: - self.logger.warning('sms_notif code 403: The service is not activated or wrong login/key.') + self.logger.error('sms_notif ' + self.user_data['sms_url'] + ' code 403: The service is not activated or wrong login/key.') if e.code == 500: - self.logger.warning('sms_notif code 500: Server error. Please try again later.') \ No newline at end of file + self.logger.error('sms_notif ' + self.user_data['sms_url'] + ' code 500: Server error. Please try again later.') \ No newline at end of file diff --git a/static/js/controllers/hostPageCtrl.js b/static/js/controllers/hostPageCtrl.js index c7c3da5..5ace7f3 100644 --- a/static/js/controllers/hostPageCtrl.js +++ b/static/js/controllers/hostPageCtrl.js @@ -787,7 +787,7 @@ mumApp.controller('ModalStatsCtrl', function ($scope, $rootScope, $modalInstance for (var i = 0, l=archive_list.length ; i<l ; i++) { var current_arch = archive_list[i]; if (current_arch.value.hasOwnProperty($scope.selected_subpart)) { - $scope.data.data.push({'x': l - (i+l), + $scope.data.data.push({'x': ((l-i) - (l-i)*2) + 1, 'y': [current_arch.value[$scope.selected_subpart]], 'tooltip': current_arch.value[$scope.selected_subpart] + " @ " + current_arch.date.split('.')[0] @@ -802,7 +802,7 @@ mumApp.controller('ModalStatsCtrl', function ($scope, $rootScope, $modalInstance var archive_list = $scope.archive[$scope.selected_mod][$scope.selected_period] for (var i = 0, l=archive_list.length ; i<l ; i++) { var current_arch = archive_list[i]; - $scope.data.data.push({'x': l - (i+l), + $scope.data.data.push({'x': ((l-i) - (l-i)*2) + 1, 'y': [current_arch.value], 'tooltip': current_arch.value + " @ " + current_arch.date.split('.')[0] -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.