Footer position in profile layout

This commit is contained in:
Lucas Bartholemy 2018-07-02 13:57:47 +02:00
parent 0e70e03c9b
commit 36014e0412

View File

@ -20,6 +20,9 @@ $user = $this->context->contentContainer;
</div>
<div class="col-md-<?= ($this->hasSidebar()) ? '7' : '10' ?> layout-content-container">
<?= $content; ?>
<?php if (!$this->hasSidebar()): ?>
<?= FooterMenu::widget(['location' => FooterMenu::LOCATION_FULL_PAGE]); ?>
<?php endif; ?>
</div>
<?php if ($this->hasSidebar()): ?>
<div class="col-md-3">
@ -28,7 +31,4 @@ $user = $this->context->contentContainer;
</div>
<?php endif; ?>
</div>
<?php if (!$this->hasSidebar()): ?>
<?= FooterMenu::widget(['location' => FooterMenu::LOCATION_FULL_PAGE]); ?>
<?php endif; ?>
</div>