aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/public_body_helper.rb2
-rw-r--r--app/views/public_body/show.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/public_body_helper.rb b/app/helpers/public_body_helper.rb
index d8a5d57b5..4a71f89ab 100644
--- a/app/helpers/public_body_helper.rb
+++ b/app/helpers/public_body_helper.rb
@@ -21,7 +21,7 @@ module PublicBodyHelper
unless public_body.has_request_email?
# Make the authority appear requestable to encourage users to help find
- # the authroty's email address
+ # the authority's email address
msg = link_to _("Make a request to this authority"),
new_request_to_body_path(:url_name => public_body.url_name),
:class => "link_button_green"
diff --git a/app/views/public_body/show.html.erb b/app/views/public_body/show.html.erb
index 3de89b340..552fae717 100644
--- a/app/views/public_body/show.html.erb
+++ b/app/views/public_body/show.html.erb
@@ -33,7 +33,7 @@
<%= _('You can only request information about the environment from this authority.')%>
</p>
<% end %>
- <% else %>
+ <% elsif @public_body.not_requestable_reason != 'bad_contact' %>
<p class="authority__header__notes">
<%= public_body_not_requestable_reasons(@public_body).first %>
</p>