From 7235bb6f2d0cd2385b1b86b6fefd391bd5798999 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 7 Jan 2018 18:12:30 +0000 Subject: Rename alerts for consistency with bootstrap4 --- family.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'family.php') diff --git a/family.php b/family.php index 950cdcb69e..293a951c26 100644 --- a/family.php +++ b/family.php @@ -27,15 +27,11 @@ $controller = new FamilyController($record); if ($controller->record && $controller->record->canShow()) { $controller->pageHeader(); -} elseif ($controller->record && $controller->record->getTree()->getPreference('SHOW_PRIVATE_RELATIONSHIPS')) { - $controller->pageHeader(); - // Continue - to display the children/parents/grandparents. - // We'll check for showing the details again later } else { http_response_code(404); $controller->pageHeader(); - echo View::make('alerts/error', [ + echo View::make('alerts/danger', [ 'alert' => I18N::translate('This family does not exist or you do not have permission to view it.'), ]); -- cgit v1.3