Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
77d96bd6
Commit
77d96bd6
authored
Sep 12, 2014
by
Marc Duez
Browse files
server : give patient name as filename for data file
parent
1057f0ca
Changes
1
Show whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/views/patient/info.html
View file @
77d96bd6
...
...
@@ -154,7 +154,8 @@ query = db(
<div
class=
"db_block_right"
>
result :
{{for row in db(db.fused_file.patient_id == request.vars["id"]).select() :}}
<span
class=
"button2"
onclick=
"db.load_data( { 'patient_id' : '{{=request.vars["
id
"]}}'
,
'
config_id
'
:
{{=
row.config_id
}}
}
)"
>
{{filename = db.patient[request.vars["id"]].first_name + " " + db.patient[request.vars["id"]].last_name + " (" + db.config[row.config_id].name + ")"}}
<span
class=
"button2"
onclick=
"db.load_data( { 'patient_id' : '{{=request.vars["
id
"]}}'
,
'
config_id
'
:
{{=
row.config_id
}}
},
'{{=
filename
}}'
)"
>
{{=db.config[row.config_id].name}}
</span>
{{pass}}
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment