Accession#, # Images and Modality columns are invisible on mobile versions
This commit is contained in:
parent
83714e2e85
commit
dac91857f0
@ -5,11 +5,17 @@
|
||||
<tr>
|
||||
<th>Patient Name</th>
|
||||
<th>Patient ID</th>
|
||||
<th>Accession #</th>
|
||||
{{#unless isTouchDevice}}
|
||||
<th>Accession #</th>
|
||||
{{/unless}}
|
||||
<th>Study Date</th>
|
||||
<th>Modality</th>
|
||||
{{#unless isTouchDevice}}
|
||||
<th>Modality</th>
|
||||
{{/unless}}
|
||||
<th>Study Description</th>
|
||||
<th># Images</th>
|
||||
{{#unless isTouchDevice}}
|
||||
<th># Images</th>
|
||||
{{/unless}}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="studyListData">
|
||||
|
||||
@ -11,5 +11,9 @@ Template.worklistResult.helpers({
|
||||
*/
|
||||
studies : function() {
|
||||
return WorklistStudies.find({}, {sort: {patientName : 1, studyDate : 1}});
|
||||
},
|
||||
|
||||
isTouchDevice: function() {
|
||||
return isTouchDevice();
|
||||
}
|
||||
});
|
||||
|
||||
@ -6,20 +6,27 @@
|
||||
<td>
|
||||
{{patientId}}
|
||||
</td>
|
||||
<td>
|
||||
{{accessionNumber}}
|
||||
</td>
|
||||
{{#unless isTouchDevice}}
|
||||
<td>
|
||||
{{accessionNumber}}
|
||||
</td>
|
||||
{{/unless}}
|
||||
|
||||
<td>
|
||||
{{formatDA studyDate}}
|
||||
</td>
|
||||
<td>
|
||||
{{modalities}}
|
||||
</td>
|
||||
{{#unless isTouchDevice}}
|
||||
<td>
|
||||
{{modalities}}
|
||||
</td>
|
||||
{{/unless}}
|
||||
<td>
|
||||
{{studyDescription}}
|
||||
</td>
|
||||
<td>
|
||||
{{imageCount}}
|
||||
</td>
|
||||
{{#unless isTouchDevice}}
|
||||
<td>
|
||||
{{imageCount}}
|
||||
</td>
|
||||
{{/unless}}
|
||||
</tr>
|
||||
</template>
|
||||
@ -4,4 +4,10 @@ Template.worklistStudy.events({
|
||||
var title = Blaze._globalHelpers['formatPN'](this.patientName);
|
||||
openNewTab(this.studyInstanceUid, title);
|
||||
}
|
||||
});
|
||||
|
||||
Template.worklistStudy.helpers({
|
||||
isTouchDevice: function() {
|
||||
return isTouchDevice();
|
||||
}
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user