projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
12033: Add config to link multi-site search to a remote site.
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
issue_reporter
/
send_report.text.erb
diff --git
a/apps/workbench/app/views/issue_reporter/send_report.text.erb
b/apps/workbench/app/views/issue_reporter/send_report.text.erb
index 9afd1d2252a1c3d9be78175721f242ecd8d0817f..a6108dce21266fe4c49dd0a552b6899908ba6914 100644
(file)
--- a/
apps/workbench/app/views/issue_reporter/send_report.text.erb
+++ b/
apps/workbench/app/views/issue_reporter/send_report.text.erb
@@
-1,7
+1,16
@@
-Issue reported by user <%=@user.full_name%> <%=@user.email%>
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
+<% if @user %>
+Issue reported by user <%=@user.email%>
+<% else %>
+Issue reported
+<% end %>
Details of the report:
Details of the report:
-<%
json_map = JSON.parse(@params['report_additional_info']).map
%>
-<% map_to_s =
json_map
.map {|k,v| "#{k}=#{v}"}.join("\n") %>
+<%
if @params['report_additional_info']
%>
+<% map_to_s =
JSON.parse(@params['report_additional_info'])
.map {|k,v| "#{k}=#{v}"}.join("\n") %>
<%= map_to_s %>
<%= map_to_s %>
-Report text=<%=@params['report_text'] %>
+<% end %>
+Report text=<%=@params['report_issue_text'] %>