Merge pull request #254 from sgmap/remove_notification_system

Notification: remove useless notification system
This commit is contained in:
LeSim 2017-05-05 14:23:45 +02:00 committed by GitHub
commit c6598f36d6
4 changed files with 0 additions and 26 deletions

View file

@ -1,23 +0,0 @@
//App.messages = App.cable.subscriptions.create('NotificationsChannel', {
// received: function (data) {
// if (window.location.href.indexOf('backoffice') !== -1) {
// $("#notification-alert").html(data['message']);
//
// slideIn_notification_alert();
// }
// }
//});
function slideIn_notification_alert (){
$("#notification-alert").animate({
right: '20px'
}, 250);
setTimeout(slideOut_notification_alert, 3500);
}
function slideOut_notification_alert (){
$("#notification-alert").animate({
right: '-250px'
}, 200);
}

View file

@ -1 +0,0 @@
#notification-alert.alert.alert-success

View file

@ -54,7 +54,6 @@
%i.fa.fa-times{ style: 'position: fixed; top: 10; right: 30; color: white;' }
= render partial: 'layouts/switch_devise_profile_module'
= render partial: 'layouts/notifications_alert'
= render partial: 'layouts/footer', locals: { main_container_size: main_container_size }
= render partial: 'layouts/google_analytics'

View file

@ -30,7 +30,6 @@
= yield
= render :partial => "layouts/switch_devise_profile_module"
= render :partial => "layouts/notifications_alert"
= render partial: "layouts/new_footer"
= render partial: "layouts/google_analytics"