Commit c9650056 authored by marc's avatar marc Committed by Mathieu Giraud

run/index.html : fix > runs don't have a patient_name

parent c77a231f
......@@ -54,7 +54,7 @@
<td>
{{ configs = [] }}
{{for conf in row['conf_list'] :}}
{{filename = patient_name + " (" + conf['name'] + ")"}}
{{filename = row['name'] + " (" + conf['name'] + ")"}}
{{if conf['fused_file'] is not None :}}
{{ configs.append(str(A(conf['name'], _href="index.html?patient=" + str(row['id']) + "&config=" + str(conf['id']), _type="text/html",
_onclick="event.preventDefault();event.stopPropagation();if( event.which == 2 ) { window.open(this.href); } else { db.load_data( { 'patient' : '" + str(row['id']) + "' , 'config' : " + str(conf['id']) + " }, '" + filename + "' ); }"))) }}
......
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