Commit 7153b710 authored by Vidjil's avatar Vidjil Committed by Mathieu Giraud

views/*: bikeshedding, plurals

parent 098f819e
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<div class="db_block_left"> <div class="db_block_left">
{{if auth.can_create_patient():}} {{if auth.can_create_patient():}}
<span class="button2" onclick="db.call('patient/add')"> + new patient </span> <span class="button2" onclick="db.call('patient/add')"> + new patients </span>
<span class="button2" onclick="db.call('sample_set/custom', {'filter': '{{=request.vars['filter']}}' })"> compare samples/patients </span> <span class="button2" onclick="db.call('sample_set/custom', {'filter': '{{=request.vars['filter']}}' })"> compare samples/patients </span>
{{else:}} {{else:}}
<!-- <span class="button2 inactive" onclick="db.call('patient/add')" title="you don't have permission to create new patient"> add patient </span> --> <!-- <span class="button2 inactive" onclick="db.call('patient/add')" title="you don't have permission to create new patient"> add patient </span> -->
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<div class="db_block_left"> <div class="db_block_left">
{{if auth.can_create_patient():}} {{if auth.can_create_patient():}}
<span class="button2" onclick="db.call('run/add')"> + new run </span> <span class="button2" onclick="db.call('run/add')"> + new runs </span>
<span class="button2" onclick="db.call('sample_set/custom', {'filter': '{{=request.vars['filter']}}' })"> compare samples/runs </span> <span class="button2" onclick="db.call('sample_set/custom', {'filter': '{{=request.vars['filter']}}' })"> compare samples/runs </span>
{{else:}} {{else:}}
<!-- <span class="button2 inactive" onclick="db.call('patient/add')" title="you don't have permission to create new patient"> add patient </span> --> <!-- <span class="button2 inactive" onclick="db.call('patient/add')" title="you don't have permission to create new patient"> add patient </span> -->
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<div class="db_block_left"> <div class="db_block_left">
{{if auth.can_create_patient():}} {{if auth.can_create_patient():}}
<span class="button2" onclick="db.call('sample_set/form', {'type': '{{=helper.type}}'})"> + new {{=helper.get_type_display()}} </span> <span class="button2" onclick="db.call('sample_set/form', {'type': '{{=helper.type}}'})"> + new {{=helper.get_type_display()}}s </span>
<span class="button2" onclick="db.call('sample_set/custom', {'filter': '{{=request.vars['filter']}}' })"> compare samples/patients </span> <span class="button2" onclick="db.call('sample_set/custom', {'filter': '{{=request.vars['filter']}}' })"> compare samples/patients </span>
{{else:}} {{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> --> <!-- <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> -->
......
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