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

This commit is contained in:
Gustavo André Lelis 2018-07-05 06:32:06 -03:00 committed by Erik Ziegler
parent de7135f3b8
commit bdba814d52
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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}}