diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 4e22f0e151e..13e52f10668 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -371,6 +371,11 @@ def upload_response return false end + if @info_request.allow_new_responses_from == 'nobody' + render template: 'request/request_subtitle/allow_new_responses_from/_nobody' + return + end + unless @info_request.public_body.is_foi_officer?(@user) domain_required = @info_request.public_body.foi_officer_domain_required if domain_required.nil? diff --git a/app/views/request/_after_actions.html.erb b/app/views/request/_after_actions.html.erb index 7fa337fd712..b05ef17bc2b 100644 --- a/app/views/request/_after_actions.html.erb +++ b/app/views/request/_after_actions.html.erb @@ -33,6 +33,7 @@ <% end %> + <% if info_request.allow_new_responses_from != 'nobody' %>