Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the footer in the emails to users #829

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion data/npg_tracking_email/templates/wrapper.tt2
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[% content %]
NPG on behalf of DNA Pipelines and GSLP

If you have any questions or need further assistance, please feel free to reach out to a Scientific Service Representative at [email protected].

NPG on behalf of DNA Pipelines
25 changes: 18 additions & 7 deletions t/80-npg_tracking-report-event2subscribers.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Log::Log4perl->easy_init({layout => '%d %-5p %c - %m%n',
file => $logfile,
utf8 => 1});

my $footer = 'If you have any questions or need further assistance, ' .
'please feel free to reach out to a Scientific Service Representative at ' .
'[email protected].' . "\n\n" . 'NPG on behalf of DNA Pipelines';

use_ok ('npg_tracking::report::event2subscribers');

my $template_dir = 'data/npg_tracking_email/templates';
Expand Down Expand Up @@ -156,7 +160,8 @@ Run 21915 was assigned status "run pending" on 2017-02-08 11:49:39 by joe_events
NPG page for this run:
https://sfweb.internal.sanger.ac.uk:12443/perl/npg/run/21915

NPG on behalf of DNA Pipelines and GSLP

$footer
REPORT
is ($e->report_full(), $report, 'full report text');

Expand All @@ -173,7 +178,8 @@ $lims_summary
NPG page for this run:
https://sfweb.internal.sanger.ac.uk:12443/perl/npg/run/21915

NPG on behalf of DNA Pipelines and GSLP

$footer
REPORT1
is ($e->report_full($e->lims()), $report, 'full report text with LIMs data');

Expand Down Expand Up @@ -217,7 +223,8 @@ Instrument HS8 status changed to "wash performed" on $date_as_string by joe_appr
NPG page for this instrument:
https://sfweb.internal.sanger.ac.uk:12443/perl/npg/instrument/HS8

NPG on behalf of DNA Pipelines and GSLP

$footer
REPORT2
is ($e->report_full($e->lims()), $report, 'full report text');

Expand All @@ -231,7 +238,8 @@ Instrument HS8 status changed to "wash performed" on $date_as_string by joe_appr
NPG page for this instrument:
https://sfweb.internal.sanger.ac.uk:12443/perl/npg/instrument/HS8

NPG on behalf of DNA Pipelines and GSLP

$footer
REPORT3
is ($e->report_full($e->lims()), $report, 'full report text with a comment');
is (scalar @{$e->reports}, 1, 'One report generated');
Expand Down Expand Up @@ -272,7 +280,8 @@ $lims_summary
NPG page for this run:
https://sfweb.internal.sanger.ac.uk:12443/perl/npg/run/21915

NPG on behalf of DNA Pipelines and GSLP

$footer
REPORT4
is ($e->report_full($e->lims()), $report, 'full report text with LIMs data');
};
Expand Down Expand Up @@ -325,7 +334,8 @@ Lane 2: Samples
NPG page for this run:
https://sfweb.internal.sanger.ac.uk:12443/perl/npg/run/21915

NPG on behalf of DNA Pipelines and GSLP

$footer
REPORT5
is ($e->report_full($e->lims()), $report, 'full report text with LIMs data');
};
Expand Down Expand Up @@ -362,7 +372,8 @@ Instrument HS8 annotated by joe_loader on $date_as_string - New instrument annot
NPG page for this instrument:
https://sfweb.internal.sanger.ac.uk:12443/perl/npg/instrument/HS8

NPG on behalf of DNA Pipelines and GSLP

$footer
REPORT6
is ($e->report_full($e->lims()), $report, 'full report text');
};
Expand Down
5 changes: 4 additions & 1 deletion t/data/report/report_text_1
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ https://sfweb.internal.sanger.ac.uk:12443/perl/npg/run/21915
Analysis and QC information for this run will be/is available:
http://sfweb.internal.sanger.ac.uk:1959/checks/runs/21915

NPG on behalf of DNA Pipelines and GSLP

If you have any questions or need further assistance, please feel free to reach out to a Scientific Service Representative at [email protected].

NPG on behalf of DNA Pipelines

5 changes: 4 additions & 1 deletion t/data/report/report_text_5
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ https://sfweb.internal.sanger.ac.uk:12443/perl/npg/run/21915
Analysis and QC information for this run will be/is available:
http://sfweb.internal.sanger.ac.uk:1959/checks/runs/21915

NPG on behalf of DNA Pipelines and GSLP

If you have any questions or need further assistance, please feel free to reach out to a Scientific Service Representative at [email protected].

NPG on behalf of DNA Pipelines

Loading