Commit a8050fc9 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Marc Duez
Browse files

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

parent 80e7ce1c
...@@ -48,11 +48,19 @@ run = db.scheduler_run[data_file.scheduler_task_id] ...@@ -48,11 +48,19 @@ run = db.scheduler_run[data_file.scheduler_task_id]
</table> </table>
<table> <table>
<tr><td>run result :</td></tr> <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>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>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> </table>
</div> </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