mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
Fixed emails for successful report file generation [SCI-5814]
This commit is contained in:
parent
dc72bfc527
commit
380473c825
1 changed files with 1 additions and 1 deletions
|
@ -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] %>
|
||||
|
|
Loading…
Reference in a new issue