Merge pull request #3386 from artoscinote/ma_SCI_5814

Fixed emails for successful report file generation [SCI-5814]
This commit is contained in:
Miha Mencin 2021-06-15 07:36:10 +02:00 committed by GitHub
commit d25fc077dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@
<% if @notification.system_message? %>
<% # We assume the system notification is clean %>
<%= @notification.message.html_safe %>
<% elsif @notification.deliver? %>
<% elsif @notification.deliver? && @notification.message.match?(/data-id=('|")(\d*)('|")/) %>
<%= I18n.t("notifications.deliver.download_link") %>
<% # work around the problem with inserting the link of zipExport %>
<% zip_id = /data-id=('|")(\d*)('|")/.match(@notification.message)[2] %>