Skip to content

Commit

Permalink
style(alerts): Change copy of mute alert link (#73803)
Browse files Browse the repository at this point in the history
Change the link text for muting email alerts from "Mute this alert" to
"Mute this alert for everyone."

Fixes GH-69792
  • Loading branch information
mifu67 authored Jul 8, 2024
1 parent f200390 commit 578516f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/sentry/templates/sentry/emails/digests/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>{{ counts|length }} new alert{{ counts|pluralize }} from <a href="{{ project
<div class="container">
{% with rule_details=rules_details|get_item:rule.id snooze_alert_url=snooze_alert_urls|get_item:rule.id %}
{% if snooze_alert %}
<a class="mute" href="{% absolute_uri snooze_alert_url %}">Mute this alert</a>
<a class="mute" href="{% absolute_uri snooze_alert_url %}">Mute this alert for everyone</a>
{% endif %}
This email was triggered by <a href="{% absolute_uri rule_details.status_url %}">{{ rule_details.label }}</a>
{% endwith %}
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/templates/sentry/emails/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h3>Tags</h3>

<p class="info-box">
{% if snooze_alert %}
<a class='mute' href="{% absolute_uri snooze_alert_url %}">Mute this alert</a>
<a class='mute' href="{% absolute_uri snooze_alert_url %}">Mute this alert for everyone</a>
{% endif %}
This email was triggered by
{% for rule in rules %}
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/templates/sentry/emails/incidents/trigger.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h5 style="margin-bottom: 12px;">

<p class="info-box">
{% if snooze_alert %}
<a class='mute' href="{{ snooze_alert_url }}">Mute this alert</a>
<a class='mute' href="{{ snooze_alert_url }}">Mute this alert for everyone</a>
{% endif %}
This email was triggered by
<a href="{{ link }}">{{ incident_name }}</a>
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/templates/sentry/emails/issue_alert_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ <h3>Tags</h3>

<p class="info-box">
{% if snooze_alert %}
<a class='mute' href="{% absolute_uri snooze_alert_url %}">Mute this alert</a>
<a class='mute' href="{% absolute_uri snooze_alert_url %}">Mute this alert for everyone</a>
{% endif %}
This email was triggered by
{% for rule in rules %}
Expand Down

0 comments on commit 578516f

Please sign in to comment.