lib/mutx/view/results/console.mote in mutx-0.2.3 vs lib/mutx/view/results/console.mote in mutx-0.2.4

- old
+ new

@@ -67,16 +67,16 @@ <button type='button' class='btn btn-default' title='Go up' onclick='goToTop()' style='float: right'><span class='glyphicon glyphicon-chevron-up' aria-hidden='true'></span> Go up</button><br><br> % end </div> <br> <div> - <a onclick="window.history.go(-1);" style="cursor:pointer;" class='label label-default' >Return to task</a> + <a onclick="goClean('{{ path_for(:tasks_show, task_name: result.task['name']) }}');" style="cursor:pointer;" class='label label-default' >Return to task</a> </div> <br> <br> % else <div id='well'> <h3>There is no result with id: <b>{{result_id}}</b></h3> </div> <br> - <a onclick="window.history.go(-1);" style="cursor:pointer;" class='label label-default' >Back</a> + <a onclick="goClean('{{ path_for(:tasks_show, task_name: result.task['name']) }}');" style="cursor:pointer;" class='label label-default' >Back</a> % end \ No newline at end of file