Merge pull request #1666 from mlorb/ml-sci-3331

Rename button load more system notification to fix the bug [SCI-3331]
This commit is contained in:
mlorb 2019-04-12 13:24:16 +02:00 committed by GitHub
commit 538b48cb06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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();

View file

@ -116,7 +116,7 @@
}
}
.btn-more-notifications {
.btn-more-system-notifications {
margin-top: 10px;
}
}

View file

@ -22,7 +22,7 @@
</div>
<div class="text-center">
<% if @system_notifications[:more_notifications_url] && @system_notifications[:notifications].present? %>
<a class="btn btn-default btn-more-notifications"
<a class="btn btn-default btn-more-system-notifications"
href="<%= @system_notifications[:more_notifications_url] %>"
data-remote="true">
<%= t("system_notifications.index.more_notifications") %></a>