X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d1c1d50d671e87f5fa5ad24904e7c18123835db9..c446dd845656e944c2d3f91f8d00e320c37b66a1:/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 ae7dc223b7..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'} %>