Commit 0e96e74d authored by Ryan Herbert's avatar Ryan Herbert
Browse files

sample_set/index.html deactivate link to output files if run is ongoing.

parent 348e4bfc
......@@ -125,7 +125,7 @@
type="application/octet-stream">dl</a>
{{pass}}
</td>
<td class="pointer" onclick="db.call('results_file/output', { 'results_file_id' : '{{=row.results_file.id}}' }) ">out</td>
<td {{if status in ["COMPLETED", "FAILED"]:}} class="pointer" onclick="db.call('results_file/output', { 'results_file_id' : '{{=row.results_file.id}}' }) " {{else:}} class="inactive" {{pass}}>out</td>
{{if can_modify and auth.can_process_sample_set(request.vars['id']):}}
<td class="pointer" onclick="db.call('results_file/confirm', {'results_file_id' :'{{=row.results_file.id}}', 'sample_set_id': '{{=request.vars["id"]}}'})" > <i class="icon-erase" title="delete process"></i> </td>
{{else:}}
......
Supports Markdown
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