This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git commit 6474f05cf92f09c94d873d2a68952803253dceb6 Author: Léo Kaufmann <kaufmann@codelutin.com> Date: Wed Feb 18 13:03:10 2015 +0100 Display change : Alert, modal --- coselmar-ui/src/main/webapp/js/coselmar-controllers.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js index 599db36..8ea41c0 100644 --- a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js +++ b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js @@ -56,6 +56,7 @@ coselmarControllers.controller("HomeCtrl", ['$scope', '$http', '$location', '$ro notify({ message: "user.message.login.fail", classes: "alert-danger", + container: "#main-container", templateUrl: "views/notificationTemplate.html" }); @@ -620,6 +621,7 @@ coselmarControllers.controller("NewUserCtrl", ['$scope', '$route', '$location', notify({ message: "common.message.internalError", classes: "alert-danger", + container: "#main-container", templateUrl: "views/notificationTemplate.html" }); @@ -1547,7 +1549,7 @@ coselmarControllers.directive('ngConfirmClick', ['$modal', function($modal) { var modalHtml = '<div class="modal-title"><h2>Confirm Action</h2></div>'; modalHtml += '<div class="modal-body"> {{\'' + message + '\' | translate}}</div>'; - modalHtml += '<div class="modal-footer"><button class="btn btn-primary" ng-click="ok()">OK</button><button class="btn btn-warning" ng-click="cancel()">{{ \'common.button.cancel\' | translate }}</button></div>'; + modalHtml += '<div class="modal-footer"><button class="btn btn-primary float-right" ng-click="ok()">OK</button><button class="btn btn-warning" ng-click="cancel()">{{ \'common.button.cancel\' | translate }}</button></div>'; var modalInstance = $modal.open({ template: modalHtml, -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.