List silence matchers in the UI

This commit is contained in:
Łukasz Mierzwa
2017-06-06 21:47:09 -07:00
parent f14010b1ad
commit dd8c6f13af
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -140,6 +140,15 @@
<%- silence.endsAt %>
</span>
</div>
<% _.each(silence.matchers, function(matcher) { %>
<div class="label label-list label-success">
<% var matcherOperator = "=" %>
<% if (matcher.isRegex) { %>
<% matcherOperator = "=~" %>
<% } %>
<%- matcher.name %><%- matcherOperator %><%- matcher.value %>
</div>
<% }) %>
<footer>
<cite>
<abbr>
+1 -1
View File
File diff suppressed because one or more lines are too long