Skip to content

Commit

Permalink
changed copy of mute alert link
Browse files Browse the repository at this point in the history
  • Loading branch information
Michelle Fu authored and Michelle Fu committed Jul 3, 2024
1 parent b4e9f3f commit e906732
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 e906732

Please sign in to comment.