Commit 07ded149 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Marc Duez

patient/result_info.html: remove '\r' for proper <textarea> display

parent dc0a48ae
......@@ -48,11 +48,19 @@ run = db.scheduler_run[data_file.scheduler_task_id]
</table>
<table>
<tr><td>run result :</td></tr>
<tr><td><textarea class="text" cols="100" rows="15"> {{=run.run_result}} </textarea></td></tr>
<tr><td><textarea class="text" cols="100" rows="15">
{{=run.run_result.replace('\r', '')}}
</textarea></td></tr>
<tr><td>run output :</td></tr>
<tr><td><textarea class="text" cols="100" rows="15"> {{=run.run_output}} </textarea></td></tr>
<tr><td><textarea class="text" cols="100" rows="15">
{{=run.run_output.replace('\r', '')}}
</textarea></td></tr>
<tr><td>run traceback :</td></tr>
<tr><td><textarea class="text" cols="100" rows="15"> {{=run.traceback}} </textarea></td></tr>
<tr><td><textarea class="text" cols="100" rows="15">
{{if run.traceback:}}
{{=run.traceback.replace('\r', '')}}
{{pass}}
</textarea></td></tr>
</table>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment