Updated alert messages
authorThierry Florac <thierry.florac@onf.fr>
Thu, 21 Jun 2018 16:35:18 +0200
changeset 130 26038059e74d
parent 129 481310ae09ad
child 131 ed2ff7b44c73
Updated alert messages
src/pyams_portal/resources/js/portal.js
--- a/src/pyams_portal/resources/js/portal.js	Thu Jun 21 10:38:57 2018 +0200
+++ b/src/pyams_portal/resources/js/portal.js	Thu Jun 21 16:35:18 2018 +0200
@@ -196,7 +196,8 @@
 				return function(row) {
 					MyAMS.skin.bigBox({
 						title: MyAMS.i18n.WARNING,
-						content: '<i class="text-danger fa fa-2x fa-bell shake animated"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
+						content: '<i class="text-danger fa fa-2x fa-bell"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
+						status: 'info',
 						buttons: MyAMS.i18n.BTN_OK_CANCEL
 					}, function(button) {
 						if (button === MyAMS.i18n.BTN_OK) {
@@ -394,7 +395,8 @@
 				return function(slot) {
 					MyAMS.skin.bigBox({
 						title: MyAMS.i18n.WARNING,
-						content: '<i class="text-danger fa fa-2x fa-bell shake animated"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
+						content: '<i class="text-danger fa fa-2x fa-bell"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
+						status: 'info',
 						buttons: MyAMS.i18n.BTN_OK_CANCEL
 					}, function(button) {
 						if (button === MyAMS.i18n.BTN_OK) {
@@ -534,7 +536,8 @@
 				return function(portlet) {
 					MyAMS.skin.bigBox({
 						title: MyAMS.i18n.WARNING,
-						content: '<i class="text-danger fa fa-2x fa-bell shake animated"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
+						content: '<i class="text-danger fa fa-2x fa-bell"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
+						status: 'info',
 						buttons: MyAMS.i18n.BTN_OK_CANCEL
 					}, function(button) {
 						if (button === MyAMS.i18n.BTN_OK) {