Skip to content

Commit

Permalink
Merge branch '1267-add-ni-charity-link'
Browse files Browse the repository at this point in the history
  • Loading branch information
garethrees committed Aug 10, 2022
2 parents f02dd29 + b33190f commit fe911c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/views/public_body/_more_info.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<% if tag_value.match(/^SC/) %>
<%= link_to _('Charity registration'),
"https://www.oscr.org.uk/about-charities/search-the-register/charity-details?number=#{ tag_value }" %><br>
<% elsif tag_value.match(/^NIC/) %>
<%= link_to _('Charity registration'),
"https://www.charitycommissionni.org.uk/charity-search/?regId=#{ tag_value.gsub(/^NIC/, '') }" %><br>
<% else %>
<%= link_to _('Charity registration'),
"https://register-of-charities.charitycommission.gov.uk/charity-search/-/results/page/1/delta/20/keywords/#{ tag_value }" %><br>
Expand Down

0 comments on commit fe911c3

Please sign in to comment.