From 54b36cd30581d49382a4a58e752357a28955919c Mon Sep 17 00:00:00 2001 From: Christopher Wilkinson Date: Tue, 13 Nov 2018 13:43:20 +0000 Subject: [PATCH] Show users link in top nav if user is signed in and only manages users --- resources/views/base.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php index e6d0b7761..535548b3b 100644 --- a/resources/views/base.blade.php +++ b/resources/views/base.blade.php @@ -55,6 +55,9 @@ @if(signedInUser() && userCan('settings-manage')) @icon('settings'){{ trans('settings.settings') }} @endif + @if(signedInUser() && userCan('users-manage') && !userCan('settings-manage')) + @icon('users'){{ trans('settings.users') }} + @endif @if(!signedInUser()) @icon('login') {{ trans('auth.log_in') }} @endif