Merge pull request #1000 from prometheus/remove-silencing-link

Remove broken alert silencing links.
This commit is contained in:
Julius Volz 2015-08-18 14:59:07 +02:00
commit 832ae147e0
3 changed files with 114 additions and 51 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,10 +9,6 @@ function init() {
}
$(this).next().toggle();
});
$(".silence_alert_link, .silence_children_link").click(function() {
alert("Silencing is not yet supported.");
});
}
$(init);

View File

@ -18,7 +18,6 @@
<td>
<div>
<pre><code>{{.HTMLSnippet pathPrefix}}</code></pre>
<a href="#" class="silence_children_link">Silence all instances of this alert&hellip;</a>
</div>
{{if $activeAlerts}}
<table class="table table-bordered table-hover table-condensed alert_elements_table">
@ -39,7 +38,6 @@
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator text-uppercase">{{.State}}</span></td>
<td>{{.ActiveSince.Time.UTC}}</td>
<td>{{.Value}}</td>
<td><a href="#" class="silence_alert_link">Silence&hellip;</a></td>
</tr>
{{end}}
</table>