X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cdb8b00dc0e9f4b8840c75c6c8f7b6b8f8fe5133..e8c9386ffbd11cfcbedb63fa1681d5c0590ba7a5:/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 index 4bdc5df884..7ebfddb711 100644 --- a/apps/workbench/app/views/application/_report_error.html.erb +++ b/apps/workbench/app/views/application/_report_error.html.erb @@ -5,19 +5,17 @@ api_request_url = api_error.andand.request_url ? api_error.request_url : '' api_error_response = api_error.andand.api_response ? api_error.api_response : '' %> - Send a problem report right here. <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.url, action_method: 'post', api_error_request_url: api_request_url, api_error_response: api_error_response), + Send a problem report right here. <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.url, current_path: request.fullpath, action_method: 'post', api_error_request_url: api_request_url, api_error_response: api_error_response), {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 %> <% else %> - Send a problem report right here. <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.url, action_method: 'post', error_message: error_message), + Send a problem report right here. <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.url, current_path: 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 %> <% end %> <% support_email = Rails.configuration.support_email_address%>

- If you prefer email, send to: <%=support_email%> + If you prefer, send email to: <%=support_email%>

- -