mirror of
https://github.com/prymitive/karma
synced 2026-08-28 11:17:28 +00:00
List silence matchers in the UI
This commit is contained in:
@@ -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
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user