Fix broken link to silence from alert

This commit is contained in:
Fabian Reinartz 2017-05-09 10:26:25 +02:00
parent a77bfb44d6
commit 257ce9ae8f
2 changed files with 7 additions and 7 deletions

View File

@ -15,8 +15,8 @@
</div>
<div class="right">
<div ng-show="alert.status.state == 'suppressed' && alert.status.inhibitedBy.length" class="left lbl muted-lbl">inhibited</div>
<div ng-show="alert.status.state == 'suppressed' && alert.status.silencedBy.length" class="left lbl muted-lbl"><a ng-href="/#/silences?hl={{ alert.silencedBy.first }}">silenced</a></div>
<div ng-show="alert.status.state == 'suppressed' && alert.status.inhibitedBy.length > 0" class="left lbl muted-lbl">inhibited</div>
<div ng-show="alert.status.state == 'suppressed' && alert.status.silencedBy.length > 0" class="left lbl muted-lbl"><a ng-href="/#/silences?hl={{ alert.status.silencedBy[0] }}">silenced</a></div>
<button type="black" disabled small>Since {{ alert.startsAt | amCalendar }}</button>
<button class="silence-button" type="black" ng-click="toggleSilenceForm()" small upper>Silence</button>

File diff suppressed because one or more lines are too long