Commit 30dca95e authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

confirm.html, permission.html: display (anonymized) name

It may be useful to remember which patient we are talking on
before deleting it or changing its permissions.
parent 0f8cad89
{{extend 'db_layout.html'}}
{{import vidjil_utils}}
{{('message' in globals())}}
{{if 'message' in globals():}}
......@@ -10,9 +11,10 @@ for row in query :}}
{{data_count += db(db.results_file.sequence_file_id ==}}
<h3>{{=message}}: {{=vidjil_utils.anon(request.vars["id"],}}
Are you sure you want to delete this patient ?</br>
Are you sure you want to delete the patient {{=vidjil_utils.anon(request.vars["id"],}} ?</br>
This will delete {{=db(db.sequence_file.patient_id==request.vars["id"]).count()}} sequence file(s) and {{=data_count}} result files.</br>
This action cannot be undone.
{{extend 'db_layout.html'}}
{{import vidjil_utils}}
patient acces permission
Access to patient {{=vidjil_utils.anon(request.vars["id"],}}
<div id="db_table_container">
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