Skip to content

Commit

Permalink
Merge pull request #2605 from phili67/philli67-no-more-menu-menu
Browse files Browse the repository at this point in the history
No more menu link
  • Loading branch information
phili67 committed Apr 14, 2024
2 parents d7c3afd + d6dfd6c commit 53d0384
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/EcclesiaCRM/Synchronize/AttendeesPageItem.php
Expand Up @@ -27,6 +27,6 @@ public static function getDashboardItemValue()

public static function shouldInclude($PageName)
{
return $PageName == "/v2/dashboard" or $PageName == "/menu";
return $PageName == "/v2/dashboard";
}
}
2 changes: 1 addition & 1 deletion src/EcclesiaCRM/Synchronize/FamilyDashboardItem.php
Expand Up @@ -94,7 +94,7 @@ private static function getLatestFamilies($limit = 6) : array {
}

public static function shouldInclude($PageName) {
return $PageName == "/v2/dashboard" || $PageName == "/menu"|| $PageName == "/v2/people/dashboard"; // this ID would be found on all pages.
return $PageName == "/v2/dashboard" or $PageName == "/v2/people/dashboard"; // this ID would be found on all pages.
}

}
2 changes: 1 addition & 1 deletion src/EcclesiaCRM/Synchronize/GroupsDashboardItem.php
Expand Up @@ -54,6 +54,6 @@ public static function getDashboardItemValue()

public static function shouldInclude($PageName)
{
return $PageName == "/v2/dashboard" || $PageName == "/menu" || $PageName == "/v2/people/dashboard";
return $PageName == "/v2/dashboard" || $PageName == "/v2/people/dashboard";
}
}
2 changes: 1 addition & 1 deletion src/EcclesiaCRM/Synchronize/PersonDashboardItem.php
Expand Up @@ -196,7 +196,7 @@ public static function getAgeStats(){


public static function shouldInclude($PageName) {
return $PageName=="/v2/dashboard" || $PageName=="/menu" || $PageName == "/v2/people/dashboard"; // this ID would be found on all pages.
return $PageName=="/v2/dashboard" or $PageName == "/v2/people/dashboard"; // this ID would be found on all pages.
}

}
2 changes: 1 addition & 1 deletion src/EcclesiaCRM/Synchronize/SundaySchoolDashboardItem.php
Expand Up @@ -148,6 +148,6 @@ public static function getDashboardItemValue()

public static function shouldInclude($PageName)
{
return $PageName == "/v2/sundayschool/dashboard" or $PageName == "/menu";
return $PageName == "/v2/sundayschool/dashboard";
}
}
2 changes: 1 addition & 1 deletion src/Include/Header.php
Expand Up @@ -254,7 +254,7 @@ class="brand-text font-weight-light">Ecclesia<b>CRM</b> <?= SystemService::getDB
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="<?= SystemURLs::getRootPath()?>/menu"><i class="fas fa-home"></i> <?= _("Home")?></a></li>
<li class="breadcrumb-item"><a href="<?= SystemURLs::getRootPath()?>/dashboard"><i class="fas fa-home"></i> <?= _("Home")?></a></li>
<li class="breadcrumb-item active"><?= $sPageTitle; ?></li>
</ol>
</div>
Expand Down

0 comments on commit 53d0384

Please sign in to comment.