X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9074f3f32aa13274f266bfb091bdac43426bb4d9..7178ac911e7b160c1348da404b5aa07b9829d3c8:/apps/workbench/app/views/application/404.html.erb diff --git a/apps/workbench/app/views/application/404.html.erb b/apps/workbench/app/views/application/404.html.erb index 7d15d95557..8a0482274a 100644 --- a/apps/workbench/app/views/application/404.html.erb +++ b/apps/workbench/app/views/application/404.html.erb @@ -7,6 +7,7 @@ req_item_plain_text = safe_join([class_name_h, " with UUID ", params[:uuid]]) else req_item = "page you requested" + req_item_plain_text = "page you requested" end %> @@ -21,12 +22,5 @@ Perhaps you'd like to

-

-
<% error_message = "The #{req_item_plain_text} was not found." %> -Would you like to report this problem?
-<%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.fullpath, action_method: 'post', error_message: error_message), - {class: 'btn btn-primary report-issue-modal-window', 'data-toggle' => "modal", 'data-target' => '#report-issue-modal-window', :remote => true, return_to: request.url} do %> - Report problem -<% end %> -

+<%= render :partial => "report_error", :locals => {error_message: error_message, error_type: '404'} %>