Add alert to viewfamily page when privacy is turned on (#18)

master
Skylar Ittner 5 years ago
parent f851b240f5
commit 94961c1c5e

@ -10,5 +10,6 @@
"Events updated.": "Events updated.",
"You agree to use the information in this directory for homeschool use ONLY. All other purposes, such as soliciting, is strictly prohibited.": "You agree to use the information in this directory for homeschool use ONLY. All other purposes, such as soliciting, is strictly prohibited.",
"Payment saved.": "Payment saved.",
"Only showing expired or expiring memberships.": "Only showing expired or expiring memberships."
"Only showing expired or expiring memberships.": "Only showing expired or expiring memberships.",
"This family wishes to remain private. Do not share this information, even with other HACHE members.": "This family wishes to remain private. Do not share this information, even with other HACHE members."
}

@ -43,6 +43,16 @@ $family = (new Family())->load($famid);
</div>
</div>
<?php
if ($family->getPrivate()) {
?>
<div class="alert alert-indigo">
<i class="fas fa-users"></i> <i class="fas fa-shield-alt"></i> <i class="fas fa-info-circle"></i> <?php $Strings->get("This family wishes to remain private. Do not share this information, even with other HACHE members."); ?>
</div>
<?php
}
?>
<div class="d-flex justify-content-around flex-wrap">
<?php
$newsletter = "Email";

Loading…
Cancel
Save