Commit 3cbc4eb2 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

patient/info.html: add a mailto link when the user has not the 'run' access

parent 038940a8
......@@ -151,6 +151,12 @@ query = db(
{{else:}}
<span class="button2 inactive" onclick="db.call('file/add', { 'id' : '{{=request.vars["id"]}}' } )" title="you don't have permission to upload files"> add file </span>
{{pass}}
{{if not auth.has_permission("run", "results_file") :}}
<br /> Once your data are uploaded, please
<a href="mailto:contact@vidjil.org?Subject=%5Bvidjil%5D%20New%20sequences&Body=%0AHi%2C%0A%0AI%20uploaded%20some%20sequences%20on%20the%20rbx.vidjil.org%20server.%0ACould%20you%20run%20Vidjil%20on%20these%20data%20%3F%0A%0A">request an analysis</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