@@ -335,6 +335,10 @@ body>nav.navbar {
background: #f6f9fc;
cursor: pointer;
}
+.note-signed-by-hcp .note-section:not(.edit):hover {
+ background: #f6f9fc;
+ cursor: auto;
+}
.note-section.edit .if-edit {
display: block !important;
@@ -274,7 +274,9 @@
$shortcuts = "";
$latestSectionTS = 0;
?>
+ <div class="{{ $note->is_signed_by_hcp ? 'note-signed-by-hcp' : '' }}">
@include('app.patient.note.note-section-list')
+ </div>
</div>
@@ -227,6 +227,7 @@
$(document)
.off('mousedown.enable-edit', '.note-section:not(.edit)')
.on('mousedown.enable-edit', '.note-section:not(.edit)', function(e) {
+ if($(this).closest('.note-signed-by-hcp').length) return;
e.stopPropagation();
e.preventDefault();
$(this).find('.edit-trigger').first().click();