Commit 74fdac65 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

sample_set/index.html: Show first the status of the pre-process

As the pre-process name can be quite long, we first show the status
otherwise it could be hidden.
parent e07ec9bb
......@@ -86,11 +86,12 @@
<td {{if row.sequence_file.pre_process_id != None:}} class="pointer"
title="View more information on the pre-process {{=pre_process_list[row.sequence_file.pre_process_id]}}"{{pass}}
onclick="'pre_process/info', {'sequence_file_id' :'{{ }}', 'sample_set_id' : '{{=request.vars["id"]}}'} )"
>{{if row.sequence_file.pre_process_id != None :}} {{=pre_process_list[row.sequence_file.pre_process_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}}
{{if row.sequence_file.pre_process_flag == "WAIT" :}}[queued]{{pass}}
{{if row.sequence_file.pre_process_flag == "FAILED" :}}[failed]{{pass}}
{{if row.sequence_file.pre_process_id != None :}} {{=pre_process_list[row.sequence_file.pre_process_id]}} {{pass}}
{{if auth.is_admin():}}
<td> {{=row.sequence_file.provider}} {{if row.sequence_file.provider:}}{{=row.sequence_file.provider.last_name}}{{pass}}</td>
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