Commit 47afcd51 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

sample_set/index.html remove onclick if no pre_process exists

parent 1ec9b137
......@@ -83,9 +83,10 @@
<td> {{=row.sequence_file.info}} </td>
<td {{if row.sequence_file.data_file == None :}} {{=XML("class='inactive' title='file is missing' ")}} {{pass}} >
{{=vidjil_utils.format_size(row.sequence_file.size_file)}} </td>
<td {{if row.sequence_file.pre_process_id != None:}} class="pointer"
{{ has_pre_process = row.sequence_file.pre_process_id != None}}
<td {{if has_pre_process:}} class="pointer"
title="View more information on the pre-process {{=pre_process_list[row.sequence_file.pre_process_id]}}"{{pass}}
onclick="db.call('pre_process/info', {'sequence_file_id' :'{{=row.sequence_file.id }}', 'sample_set_id' : '{{=request.vars["id"]}}'} )"
{{if has_pre_process:}} onclick="db.call('pre_process/info', {'sequence_file_id' :'{{=row.sequence_file.id }}', 'sample_set_id' : '{{=request.vars["id"]}}'} )" {{pass}}
>
{{if row.sequence_file.pre_process_flag == "RUN" :}}<i class="icon-spin4" style="animation: spin 2s 1000 linear;
display: inline-block;" title="running pre_processs"></i>{{pass}}
......
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