Commit feea6b5db7d773b46329c8841ac6c9898c78e66b

Authored by Timur Kastemirov
1 parent 3cf9186b

remove breadcrumbs from individual

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
frontend/views/layouts/main.php
... ... @@ -720,7 +720,11 @@
720 720  
721 721 <!-- *** Breadcrumbs *** -->
722 722 <?php
723   - if (!$isHome and \Yii::$app->request->getUrl() !== Url::toRoute(['site/legal'])) {
  723 + if (
  724 + !$isHome and
  725 + \Yii::$app->request->getUrl() !== Url::toRoute(['site/legal']) and
  726 + \Yii::$app->request->getUrl() !== Url::toRoute(['site/individual'])
  727 + ) {
724 728 ?>
725 729 <div id="heading-breadcrumbs">
726 730 <div class="container">
... ...