Browse Source

feat: prettification

CLDC-3233-address-uprn-lookup-spike
natdeanlewissoftwire 11 months ago
parent
commit
472c633196
  1. 4
      app/helpers/uprn_address_spike_helper.rb

4
app/helpers/uprn_address_spike_helper.rb

@ -2,7 +2,9 @@
module UprnAddressSpikeHelper module UprnAddressSpikeHelper
def match_colour(match) def match_colour(match)
if match >= 0.8 if match == 1
"purple"
elsif match >= 0.8
"green" "green"
elsif match >= 0.7 elsif match >= 0.7
"orange" "orange"

Loading…
Cancel
Save