From 08890d5f2e5c81daf1a173fab328d4ae45979270 Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Thu, 17 Oct 2024 10:53:20 -0600
Subject: [PATCH] add alert

---
 .../rtgm/components/plots/plots.component.html           | 9 +++++++++
 .../designmaps/rtgm/components/plots/plots.component.ts  | 6 +++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.html b/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.html
index 82c4428f8..db8d990d0 100644
--- a/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.html
+++ b/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.html
@@ -1,4 +1,13 @@
 <nshmp-lib-ng-plots-container>
+  <nshmp-lib-ng-alert>
+    This application currently performs the RTGM calculation for a single
+    intensity measure (IM) hazard curve at a time. For bulk calculation of RTGMs
+    for a larger number of IM hazard curves, please refer to
+    <a target="_blank">https://earthquake.usgs.gov/ws/nshmp/designmaps/rtgm/</a>
+    or
+    <a target="_blank">https://code.usgs.gov/ghsc/erp/erp-rtgm-calculator</a>
+  </nshmp-lib-ng-alert>
+
   <mat-accordion multi>
     @for (plot of plots(); track $index) {
       <mat-expansion-panel expanded>
diff --git a/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.ts b/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.ts
index d91603001..220132002 100644
--- a/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.ts
+++ b/projects/nshmp-apps/src/app/designmaps/rtgm/components/plots/plots.component.ts
@@ -1,7 +1,10 @@
 import {Component, computed, OnDestroy, OnInit} from '@angular/core';
 import {MatDivider} from '@angular/material/divider';
 import {MatExpansionModule} from '@angular/material/expansion';
-import {NshmpLibNgAppMetadataComponent} from '@ghsc/nshmp-lib-ng/nshmp';
+import {
+  NshmpLibNgAlertComponent,
+  NshmpLibNgAppMetadataComponent,
+} from '@ghsc/nshmp-lib-ng/nshmp';
 import {
   NshmpLibNgPlotComponent,
   NshmpLibNgPlotsContainerComponent,
@@ -18,6 +21,7 @@ import {RtgmSummaryComponent} from '../rtgm-summary/rtgm-summary.component';
     NshmpLibNgPlotsContainerComponent,
     NshmpLibNgPlotComponent,
     NshmpLibNgAppMetadataComponent,
+    NshmpLibNgAlertComponent,
     MatExpansionModule,
     MatDivider,
     ParameterSummaryComponent,
-- 
GitLab