mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Add a conditional breadcrumb to the myaccount page
This commit is contained in:
parent
c7fadd3a17
commit
78d689d54e
@ -1,3 +1,12 @@
|
|||||||
|
<?php if ($this->user->hasAccess('backend.manage_users')): ?>
|
||||||
|
<?php Block::put('breadcrumb') ?>
|
||||||
|
<ul>
|
||||||
|
<li><a href="<?= Backend::url('backend/users') ?>"><?= e(trans('backend::lang.user.menu_label')) ?></a></li>
|
||||||
|
<li><?= e(trans($this->pageTitle)) ?></li>
|
||||||
|
</ul>
|
||||||
|
<?php Block::endPut() ?>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if (!$this->fatalError): ?>
|
<?php if (!$this->fatalError): ?>
|
||||||
|
|
||||||
<?php Block::put('form-contents') ?>
|
<?php Block::put('form-contents') ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user