Commit 038940a8 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

patient/info.html: display config menu only when the user has the 'run' access

parent 00bc7110
......@@ -60,6 +60,7 @@ query = db(
<div class="db_block_right">
{{if auth.has_permission("run", "results_file") :}}
config
<span>
<select id="choose_config" name="config" onchange="db.call('patient/info', {'id' :'{{=request.vars['id']}}', 'config_id' : this.value})">
......@@ -71,6 +72,7 @@ query = db(
{{pass}}
</select>
</span>
{{pass}}
</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