fix(issue#161) Add (empty) for Studies with no PatientName value (#218)

This commit is contained in:
Gustavo André Lelis authored and Erik Ziegler committed 2018-07-05 11:32:06 +02:00
1 parent de7135f3b8
commit bdba814d52
2 files changed
+9 -2

No files matched your search

@@ -163,6 +163,9 @@ $bodyCellHeight = 40px
white-space: nowrap
transition(all 0.1s ease)
&.emptyValue
theme('color', '$uiGrayLight')
&:hover, &:active, &.active
background-color: $tableHoverColor
color: white
@@ -1,7 +1,11 @@
<template name="studylistStudy">
<tr class="studylistStudy noselect {{#if this.selected}}active{{/if}}">
<td class="patientName">
{{formatPN patientName}}
<td class="patientName {{#unless patientName}}emptyValue{{/unless}}">
{{#if patientName}}
{{formatPN patientName}}
{{else}}
(empty)
{{/if}}
</td>
<td class="patientId">
{{patientId}}