Permalink
Browse files

Added logic to hide Sunday school blocks (#4591)

* Added logic to hide Sunday school blocks when 'bEnabledSundaySchool' is set to false.

* Apply fixes from StyleCI
  • Loading branch information...
MrClever authored and DawoudIO committed Dec 5, 2018
1 parent 54cf3d7 commit 0233e6208ba2138f49872110c4a10a1159a56a1b
Showing with 8 additions and 0 deletions.
  1. +4 −0 src/Menu.php
  2. +4 −0 src/PeopleDashboard.php
@@ -199,6 +199,8 @@
</a>
</div>
</div><!-- ./col -->
<?php if (SystemConfig::getValue('bEnabledSundaySchool')) {
?>
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-yellow">
@@ -218,6 +220,8 @@
</a>
</div>
</div><!-- ./col -->
<?php
} ?>
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
@@ -166,6 +166,8 @@ class="fa fa-map-pin"></i><?= gettext('Update All Family Coordinates') ?></a>
</a>
</div>
</div>
<?php if (SystemConfig::getValue('bEnabledSundaySchool')) {
?>
<!-- ./col -->
<div class="col-lg-3 col-md-6 col-sm-6">
<!-- small box -->
@@ -187,6 +189,8 @@ class="fa fa-map-pin"></i><?= gettext('Update All Family Coordinates') ?></a>
</a>
</div>
</div>
<?php
} ?>
<!-- ./col -->
<div class="col-lg-3 col-md-6 col-sm-6">
<!-- small box -->

0 comments on commit 0233e62

Please sign in to comment.