From e04e3608b69f959e4660c3d30062169366683b0a Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Thu, 15 Mar 2018 14:33:40 +1100 Subject: [PATCH] chore: add hover text for limit label on matrix ui --- lib/pact_broker/ui/views/matrix/show.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/pact_broker/ui/views/matrix/show.haml b/lib/pact_broker/ui/views/matrix/show.haml index 8aae26458..50c657cf1 100644 --- a/lib/pact_broker/ui/views/matrix/show.haml +++ b/lib/pact_broker/ui/views/matrix/show.haml @@ -68,8 +68,9 @@ %label{for: 'all_rows'} Show all results %div.top-of-group - %label{for: "limit"} - Limit + - limit_text = "Note that the 'Show latest...' options are summaries of the 'Show all results' query, and that the limit applies to the underlying query, rather than the number of rows returned in the summary." + %label{for: "limit", "title": limit_text, "data-toggle": "tooltip", "data-placement": "right"} + Limit* %input{name: 'limit', id: "limit", value: options.limit} %div.top-of-group %input{type: 'submit'}