Skip to content

Commit

Permalink
Show blacklisted reason in alert addresses list
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland authored and lunkwill42 committed Sep 7, 2023
1 parent 3ca7727 commit 5567ba4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/nav/web/templates/alertprofiles/address_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
<td>
{% if not a.type.supported %}
<div class="alert-box error with-icon inside-table">{{ a.type.name }}: No longer supported</div>
{% elif a.type.blacklisted_reason %}
<div class="alert-box warning inside-table">{{ a.type.name }}: Blacklisted - {{ a.type.blacklisted_reason }}</div>
{% else %}
{{ a.type.name }}
{% endif %}
Expand Down

0 comments on commit 5567ba4

Please sign in to comment.