20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / views / application / _report_error.html.erb
diff --git a/apps/workbench/app/views/application/_report_error.html.erb b/apps/workbench/app/views/application/_report_error.html.erb
deleted file mode 100644 (file)
index 6027208..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<%
-   popup_params = {
-     popup_type: 'report',
-     current_location: request.url,
-     current_path: request.fullpath,
-     action_method: 'post',
-   }
-   if error_type == "api"
-     popup_params.merge!(
-       api_error_request_url: api_error.andand.request_url || "",
-       api_error_response: api_error.andand.api_response || "",
-     )
-   else
-     popup_params.merge!(error_message: error_message)
-   end
-%>
-
-<p>
-<%= link_to(report_issue_popup_path(popup_params),
-            {class: 'btn btn-primary report-issue-modal-window', :remote => true, return_to: request.url}) do %>
-  <i class="fa fa-fw fa-support"></i> Report problem
-<% end %>
-
-or
-
-<%= mail_to(Rails.configuration.Mail.SupportEmailAddress, "email us",
-            subject: "Workbench problem report",
-            body: "Problem while viewing page #{request.url}") %>
-
-if you suspect this is a bug.
-</p>