Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
vidjil
vidjil
Commits
e25be2c0
Commit
e25be2c0
authored
Sep 23, 2014
by
Mathieu Giraud
Committed by
Marc Duez
Sep 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patients/index.html: display only the first 50 characters in patient.info
parent
301b3187
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
server/web2py/applications/vidjil/views/patient/index.html
server/web2py/applications/vidjil/views/patient/index.html
+3
-1
No files found.
server/web2py/applications/vidjil/views/patient/index.html
View file @
e25be2c0
...
...
@@ -41,7 +41,9 @@ query = db(
<tr
onclick=
"db.call('patient/info', {'id' :'{{=row.patient.id}}'} )"
>
<td>
{{=row.patient.last_name + " " + row.patient.first_name }}
</td>
<td>
{{=row.patient.birth }}
</td>
<td>
{{=row.patient.info }}
</td>
<td>
{{=row.patient.info[:50] }}
{{if len(row.patient.info) > 50: }}...{{pass}}
</td>
<td>
{{for row2 in db( db.fused_file.patient_id == row.patient.id ).select(db.fused_file.config_id, distinct=True) :}}
{{=db.config[row2.config_id].name}}
{{pass}}
</td>
...
...
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