Browse Source

Visit UI - relevance (wip)

Vijayakrishnan 3 years ago
parent
commit
c2e7442e65

+ 2 - 2
resources/views/app/patient/segment-templates/plan_problems/summary.blade.php

@@ -28,7 +28,7 @@ $numRelevant = 0;
                 </span>
                 <?php $numRelevant++; ?>
             @endif
-            <div class="<?= $problem->is_removed ? 'strike-through' : '' ?>">
+            <div class="<?= $problem->is_removed ? 'strike-through' : '' ?> <?= !in_array($problem->uid, $relevance) ? 'on-hover-opaque' : '' ?>">
                 <b><?= !!@($problem->data->name) ? @($problem->data->name) : '-' ?></b>
                 <?= !!@($problem->data->icd) ? '/&nbsp;' . @($problem->data->icd) : '' ?>
                 <?= !!@($problem->data->description) ? '/&nbsp;' . @($problem->data->description) : '' ?>
@@ -41,7 +41,7 @@ $numRelevant = 0;
         </div>
     <?php endforeach; ?>
     @if($numRelevant)
-        <div class="d-flex align-items-baseline text-info mr-1">
+        <div class="d-flex align-items-baseline text-info mr-1 mt-3">
             <span class="text-sm mr-1"><i class="fa fa-star text-sm"></i></span>
             <span class="text-sm">Problem(s) relevant to this note</span>
         </div>