mysociety/alaveteli

View on GitHub
app/views/request/describe_notices/_waiting_response_overdue.html.erb

Summary

Maintainability
Test Coverage
<p>
  <%= _("Thank you! Hope you don't have to wait much longer.") %>
</p>
<p>
  <% info_request = InfoRequest.find(info_request_id) %>
  <% if info_request.public_body.not_subject_to_law? %>
    <%= _("Although the authority is not legally obliged to reply, " \
          "you should have got a response, normally " \
          "before the end of <strong>{{date_response_required_by}}</strong>.",
          :date_response_required_by => simple_date(
            info_request.date_response_required_by
          )) %>
  <% else %>
    <%= _("By law, you should have got a response promptly, and normally " \
          "before the end of <strong>{{date_response_required_by}}</strong>.",
          :date_response_required_by => simple_date(
          info_request.date_response_required_by
        )) %>
  <% end %>
</p>