diff --git a/app/views/errors/not_found.html.erb b/app/views/errors/not_found.html.erb index 5450b079..c202d584 100644 --- a/app/views/errors/not_found.html.erb +++ b/app/views/errors/not_found.html.erb @@ -2,7 +2,11 @@

404

Not Found

-

The shortened Z-link <%= @requested_path %> does not exist.

-

If you are trying to access a specific resource, please double-check the URL or contact the person who provided you with the original link.

-
- +

+ The address + <% if @requested_path %> + <%= t('views.not_found.hostname') %><%= @requested_path %> + <% end %> + does not exist. Please double check the address, or contact the person who provided you with this link. +

+ diff --git a/config/locales/en.bootstrap.yml b/config/locales/en.bootstrap.yml index d5372dbb..366dff3e 100644 --- a/config/locales/en.bootstrap.yml +++ b/config/locales/en.bootstrap.yml @@ -242,3 +242,5 @@ en: submit: "Delete URLs" submit_confirm: "Are you sure you want to delete these URLs?" cancel: "Cancel" + not_found: + hostname: "z.umn.edu" \ No newline at end of file