scinote-web/app/views/system_notifications/_system_notification_modal.html.erb
aignatov-bio c598541e09
System notification modal window [SCI-2957 and SCI-2958] (#1484)
* Added new system notification modal

* Adding loading system notification on sign in
2019-02-15 13:07:29 +01:00

21 lines
843 B
Text

<div class="modal" id="manage-module-system-notification-modal" tabindex="-1" role="dialog" aria-labelledby="manage-module-system-notification-modal-label">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="manage-module-system-notification-modal-label">
<%= notification ? notification.modal_title.html_safe : '' %>
</h4>
</div>
<div class="modal-body">
<%= notification ? notification.modal_body.html_safe : '' %>
</div>
</div>
</div>
</div>
<% if notification %>
<script>
$('#manage-module-system-notification-modal').modal('show')
</script>
<% end %>