From 8676183921e3e48a55a9fab9dd40906dca2da8f3 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Mon, 18 Mar 2024 11:51:10 +1000 Subject: [PATCH] Provide a link from the change log to the component on componentsRead. --- app/Views/componentsRead.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Views/componentsRead.php b/app/Views/componentsRead.php index b17e083f5..2b376a4fe 100644 --- a/app/Views/componentsRead.php +++ b/app/Views/componentsRead.php @@ -30,6 +30,9 @@ } else if ($data[0]->type === 'policy' and $key === 'options') { $resource->{$key} = html_entity_decode($resource->{$key}); echo read_text_box($key, $resource->{$key}); + } else if ($data[0]->type === 'change_log' and $key === 'db_row') { + $link = ""; + echo read_field($key, $resource->{$key}, '', false, $label, $link); } else { $label = ''; if ($key === 'id') {