diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-06-29 09:28:18 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-06-29 09:33:07 +0100 |
| commit | 0d98c6418a9e63f60af0a661d40ce169a369d0dc (patch) | |
| tree | af8a7060c8d8db2bc9f95ed6fb1ac6188eb9821c /family.php | |
| parent | 4a2cd797f67119e2c4afc23d2c5b7cf1f85835f2 (diff) | |
| download | webtrees-0d98c6418a9e63f60af0a661d40ce169a369d0dc.tar.gz webtrees-0d98c6418a9e63f60af0a661d40ce169a369d0dc.tar.bz2 webtrees-0d98c6418a9e63f60af0a661d40ce169a369d0dc.zip | |
Consistent styling of status messages.
Diffstat (limited to 'family.php')
| -rw-r--r-- | family.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/family.php b/family.php index d25708bac9..319516fb08 100644 --- a/family.php +++ b/family.php @@ -78,9 +78,9 @@ if ($controller->record && $controller->record->canShow()) { // Continue - to display the children/parents/grandparents. // We'll check for showing the details again later } else { + FlashMessages::addMessage(I18N::translate('This family does not exist or you do not have permission to view it.'), 'danger'); http_response_code(404); $controller->pageHeader(); - echo '<p class="ui-state-error">', I18N::translate('This family does not exist or you do not have permission to view it.'), '</p>'; return; } @@ -126,7 +126,7 @@ if ($controller->record && $controller->record->canShow()) { $controller->printFamilyFacts(); echo '</table>'; } else { - echo '<p class="ui-state-highlight">', I18N::translate('The details of this family are private.'), '</p>'; + echo '<p>', I18N::translate('The details of this family are private.'), '</p>'; } ?> </td> |
