diff options
author | Francis Irving <francis@mysociety.org> | 2010-07-26 19:38:22 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-07-26 19:38:22 +0100 |
commit | 9357deb0007684ede1764ad9aec06c915cba58d6 (patch) | |
tree | 87dc7040a02e73477bb32e3e59ec311b8ee8611c | |
parent | d1634ac6425896a7ddee7aa7995124e8fd1b1846 (diff) |
Fix display of charity
-rw-r--r-- | app/views/public_body/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml index 83cfe317c..8a987132e 100644 --- a/app/views/public_body/show.rhtml +++ b/app/views/public_body/show.rhtml @@ -10,7 +10,7 @@ <% if !@public_body.publication_scheme.empty? %> <%= link_to "Publication scheme", @public_body.publication_scheme %><br> <% end %> - <% if !@public_body.has_tag?("charity") %> + <% if @public_body.has_tag?("charity") %> <% if @public_body.get_tag_value("charity").match(/^SC/) %> <%= link_to "Charity overview", "http://www.oscr.org.uk/CharityIndexDetails.aspx?id=" + @public_body.get_tag_value("charity") %><br> <% else %> |