scinote-web/app/views/system_notifications/_system_notification_modal.html.erb
Soufiane 1b34de37ef
CSP and inline js refactor [SCI-8118][SCI-8119] (#5206)
CSP and inline js refactor [SCI-8118][SCI-8119]
2023-05-03 11:31:17 +02:00

19 lines
850 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 %>
<%= javascript_include_tag 'system_notifications/system_notification_modal', nonce: true %>
<% end %>