diff --git a/app/assets/javascripts/system_notifications/index.js b/app/assets/javascripts/system_notifications/index.js index 6330ebe67..5a0b9231a 100644 --- a/app/assets/javascripts/system_notifications/index.js +++ b/app/assets/javascripts/system_notifications/index.js @@ -33,7 +33,7 @@ function bindSystemNotificationAjax() { } function initSystemNotificationsButton() { - $('.btn-more-notifications') + $('.btn-more-system-notifications') .on('ajax:success', function(e, data) { $(data.html).insertAfter($('.system-notifications-container .system-notification').last()); bindSystemNotificationAjax(); diff --git a/app/assets/stylesheets/system_notifications.scss b/app/assets/stylesheets/system_notifications.scss index b622914df..b8f165230 100644 --- a/app/assets/stylesheets/system_notifications.scss +++ b/app/assets/stylesheets/system_notifications.scss @@ -116,7 +116,7 @@ } } - .btn-more-notifications { + .btn-more-system-notifications { margin-top: 10px; } } diff --git a/app/views/system_notifications/index.html.erb b/app/views/system_notifications/index.html.erb index a7e3f8ab1..9cfb480b7 100644 --- a/app/views/system_notifications/index.html.erb +++ b/app/views/system_notifications/index.html.erb @@ -22,7 +22,7 @@
<% if @system_notifications[:more_notifications_url] && @system_notifications[:notifications].present? %> - <%= t("system_notifications.index.more_notifications") %>