Commit ca01199f authored by Ryan Herbert's avatar Ryan Herbert

devel-mode stats buttons

parent df2b6d76
Pipeline #18459 canceled with stage
in 59 seconds
......@@ -66,7 +66,7 @@
{{else:}}
<!-- <span class="button2 inactive" onclick="db.call('sample_set/add')" title="you don't have permission to create new {{=helper.get_type_display()}}s"> add sample_set </span> -->
{{pass}}
<span class="button2" onclick="db.call('sample_set/stats', {'type': '{{=helper.get_type()}}', 'filter': '{{=request.vars['filter']}}'})">stats</span>
<span class="button2 devel-mode" onclick="db.call('sample_set/stats', {'type': '{{=helper.get_type()}}', 'filter': '{{=request.vars['filter']}}'})">stats</span>
</div>
<div class="db_block_right">
......
......@@ -212,7 +212,7 @@
{{=row.config.name}} </a>
{{pass}}
{{ if fused_count > 0: }}
<a id="stats_button" target="_blank" class="button2" href="/vidjil/sample_set/result_files?sample_set_ids={{=request.vars['id']}}&config_id=-1">export all results</a>
<a id="stats_button" target="_blank" class="button2 devel-mode" href="/vidjil/sample_set/result_files?sample_set_ids={{=request.vars['id']}}&config_id=-1">export all results</a>
{{ pass }}
</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