mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-28 16:08:22 +08:00
Remove duplicated breadcrumbs from notifications [SCI-12044]
This commit is contained in:
parent
2f6d0424a7
commit
8ffa778544
4 changed files with 0 additions and 13 deletions
|
@ -140,10 +140,6 @@ module Protocols
|
|||
{
|
||||
title:
|
||||
I18n.t('protocols.import_export.import_protocol_notification.title', link: original_file_download_link),
|
||||
message: "#{I18n.t('protocols.import_export.import_protocol_notification.message')} " \
|
||||
"<a data-id='#{@protocol.id}' data-turbolinks='false' " \
|
||||
"href='#{Rails.application.routes.url_helpers.protocol_path(@protocol)}'>" \
|
||||
"#{@protocol.name}</a>",
|
||||
user: @user
|
||||
}
|
||||
)
|
||||
|
|
|
@ -26,9 +26,6 @@ module Reports
|
|||
DeliveryNotification.send_notifications(
|
||||
{
|
||||
title: I18n.t('projects.reports.index.generation.completed_docx_notification_title'),
|
||||
message: I18n.t('projects.reports.index.generation.completed_notification_message',
|
||||
report_link: "<a href='#{report_path}'>#{escape_input(report.name)}</a>",
|
||||
team_name: escape_input(report.team.name)),
|
||||
subject_id: report_id,
|
||||
subject_class: 'Report',
|
||||
subject_name: report.name,
|
||||
|
|
|
@ -162,9 +162,6 @@ module Reports
|
|||
DeliveryNotification.send_notifications(
|
||||
{
|
||||
title: I18n.t('projects.reports.index.generation.completed_pdf_notification_title'),
|
||||
message: I18n.t('projects.reports.index.generation.completed_notification_message',
|
||||
report_link: "<a href='#{report_path}'>#{escape_input(@report.name)}</a>",
|
||||
team_name: escape_input(@report.team.name)),
|
||||
subject_id: @report.id,
|
||||
subject_class: 'Report',
|
||||
subject_name: @report.name,
|
||||
|
|
|
@ -822,10 +822,8 @@ en:
|
|||
accepted_message: "Your report is successfully added to the generator queue. We will notify you when it is done!"
|
||||
completed_docx_notification_title: "Your report .DOCX was generated successfully."
|
||||
completed_pdf_notification_title: "Your report .PDF was generated successfully."
|
||||
completed_notification_message: "Report: %{report_link} | Team: %{team_name}"
|
||||
error_docx_notification_title: "Your report .DOCX generation failed. Please try again."
|
||||
error_pdf_notification_title: "Your report .PDF generation failed. Please try again."
|
||||
error_notification_message: "Report: %{report_link} | Team: %{team_name}"
|
||||
content_generation_error: "Failed to generate report content"
|
||||
file_preview_generation_error: "We were unable to generate preview for this file."
|
||||
modal_delete:
|
||||
|
@ -3841,7 +3839,6 @@ en:
|
|||
forms_error: "Form %{form_id} doesn't exist or you don't have access and it won’t be imported."
|
||||
import_protocol_notification:
|
||||
title: "The import process has been successfully completed. You can download original file here: %{link}"
|
||||
message: "Protocol template:"
|
||||
import_protocol_notification_error:
|
||||
title: "Import failed"
|
||||
message: "We're sorry but the file import process has encountered an error. Please make another attempt, and if the issue persists, please contact support for further assistance."
|
||||
|
|
Loading…
Add table
Reference in a new issue