Cleanup around viewerbase and worklist

This commit is contained in:
Erik Ziegler committed 2015-11-06 15:29:09 +01:00
1 parent 0365e9963d
commit 5363880e40
19 files changed
+132 -115

No files matched your search

@@ -1,7 +1,7 @@
<template name="worklistStudy">
<tr class="worklistStudy">
<tr class="worklistStudy noselect">
<td>
{{patientName}}
{{formatPN patientName}}
</td>
<td>
{{patientId}}
@@ -10,7 +10,7 @@
{{accessionNumber}}
</td>
<td>
{{studyDate}}
{{formatDA studyDate}}
</td>
<td>
{{modalities}}
@@ -1,5 +1,7 @@
Template.worklistStudy.events({
'click': function () {
openNewTab(this.studyInstanceUid, this.patientName);
// Use the formatPN template helper to clean up the patient name
var title = Blaze._globalHelpers['formatPN'](this.patientName);
openNewTab(this.studyInstanceUid, title);
}
});