From 766f7c0c47b1314a26b6acb48394ad1a6b1939b3 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Thu, 5 Apr 2018 09:29:24 +1000 Subject: [PATCH] fix: only show verification matrix number when verification is present --- lib/pact_broker/ui/views/matrix/show.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/ui/views/matrix/show.haml b/lib/pact_broker/ui/views/matrix/show.haml index 7042959e8..efdfbdb05 100644 --- a/lib/pact_broker/ui/views/matrix/show.haml +++ b/lib/pact_broker/ui/views/matrix/show.haml @@ -144,7 +144,7 @@ = tag.name %td.verification-result{class: line.verification_status_class, "title": line.inherited_verification_message, "data-toggle": "tooltip"} %a{href: line.verification_status_url} - - if options.all_rows_checked + - if options.all_rows_checked && line.number = "#{line.verification_status} (number #{line.number})" - else = line.verification_status