projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 3112-report-bug
[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 4cbb371ca1d0c4911cb53f5841698598c9af586a..28841b014c233afc74a26178e27397c38002f1c2 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,13
+1,12
@@
<% if @user %>
<% if @user %>
-Issue reported by user <%=@user.
full_name%> <%=@user.
email%>
+Issue reported by user <%=@user.email%>
<% else %>
Issue reported
<% end %>
Details of the report:
<% if @params['report_additional_info'] %>
<% else %>
Issue reported
<% end %>
Details of the report:
<% if @params['report_additional_info'] %>
-<% json_map = JSON.parse(@params['report_additional_info']).map %>
-<% map_to_s = json_map.map {|k,v| "#{k}=#{v}"}.join("\n") %>
+<% map_to_s = JSON.parse(@params['report_additional_info']).map {|k,v| "#{k}=#{v}"}.join("\n") %>
<%= map_to_s %>
<% end %>
Report text=<%=@params['report_issue_text'] %>
<%= map_to_s %>
<% end %>
Report text=<%=@params['report_issue_text'] %>