diff --git a/app/templates/appci_compare.html b/app/templates/appci_compare.html index 188f40c..cd28504 100644 --- a/app/templates/appci_compare.html +++ b/app/templates/appci_compare.html @@ -7,7 +7,7 @@
- +
@@ -21,7 +21,7 @@ {% for result in results %} - +
@@ -84,9 +84,9 @@ function toggle(e) { update_filters(); } function update_filters() { - var onlyDiffs = $("#filter_onlyDiffs").hasClass("btn-primary"); + var onlyMajorRegressions = $("#filter_onlyMajorRegressions").hasClass("btn-primary"); $(".ci-branch-comparison").show(); - if (onlyDiffs) { $(".ci-branch-comparison[value='same']").hide(); } + if (onlyMajorRegressions) { $(".ci-branch-comparison[majorRegression!='True']").hide(); } } @@ -94,3 +94,4 @@ function update_filters() { {% endblock %} +