Commit ff29443e authored by Thonier Florian's avatar Thonier Florian
Browse files

server/sample_set/custom.html; add a condition to html generation

Custom can be called from a set, or outside of a set.
Fix bug of compare between samples of various sets.
Link to #4798
parent 38f4833c
Pipeline #249761 passed with stages
in 23 minutes and 53 seconds
......@@ -108,7 +108,13 @@
<div class="db_block_right">
<span class="devel-mode button2" onclick="db.call('sample_set/multi_sample_stats', {'custom_result': db.getListInput('custom_result[]') })" >preview / quality control</span>
<span class="button2" onclick="myUrl.loadCustomUrl(db, { 'sample_set_id':{{=request.vars["id"]}} })" > see results </span>
<span class="button2"
{{if request.vars["id"] != None: }}
onclick="myUrl.loadCustomUrl(db, {'sample_set_id':{{=request.vars["id"]}} })"
{{else:}}
onclick="myUrl.loadCustomUrl(db, undefined)"
{{pass}}
> see results </span>
</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