Skip to content

Commit

Permalink
Fix link for alert replay in mail notification template. (#15932)
Browse files Browse the repository at this point in the history
  • Loading branch information
linuspahl authored Jul 11, 2023
1 parent 8207abb commit e2d1feb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public abstract class EmailEventNotificationConfig implements EventNotificationC
"Description: ${event_definition_description}\n" +
"Type: ${event_definition_type}\n" +
"--- [Event] --------------------------------------\n" +
"Alert Replay: ${http_external_uri}/alerts/${event.id}/replay-search\n" +
"Alert Replay: ${http_external_uri}alerts/${event.id}/replay-search\n" +
"Timestamp: ${event.timestamp}\n" +
"Message: ${event.message}\n" +
"Source: ${event.source}\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Title: \${event_definition_title}
Description: \${event_definition_description}
Type: \${event_definition_type}
--- [Event] --------------------------------------
Alert Replay: \${http_external_uri}/alerts/\${event.id}/replay-search
Alert Replay: \${http_external_uri}alerts/\${event.id}/replay-search
Timestamp: \${event.timestamp}
Message: \${event.message}
Source: \${event.source}
Expand Down Expand Up @@ -61,7 +61,7 @@ const DEFAULT_HTML_BODY_TEMPLATE = `<table width="100%" border="0" cellpadding="
</tbody></table>
<br /><table width="100%" border="0" cellpadding="10" cellspacing="0" style="background-color:#f9f9f9;border:none;line-height:1.2"><tbody>
<tr><th colspan="2" style="background-color:#e6e6e6;line-height:1.5">Event</th></tr>
<tr><td>Alert Replay</td><td>\${http_external_uri}/alerts/\${event.id}/replay-search</td></tr>
<tr><td>Alert Replay</td><td>\${http_external_uri}alerts/\${event.id}/replay-search</td></tr>
<tr><td width="200px">Timestamp</td><td>\${event.timestamp}</td></tr>
<tr><td>Message</td><td>\${event.message}</td></tr>
<tr><td>Source</td><td>\${event.source}</td></tr>
Expand Down

0 comments on commit e2d1feb

Please sign in to comment.