From 0a46f48e6aac68818bc1b1429143296cd6209f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 31 Jul 2018 22:43:20 +0200 Subject: [PATCH] hide New Table button for unconfirmed users --- resources/views/profile/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/profile/view.blade.php b/resources/views/profile/view.blade.php index f6fb103..22fafab 100644 --- a/resources/views/profile/view.blade.php +++ b/resources/views/profile/view.blade.php @@ -86,7 +86,7 @@ {{ $tables->links(null, ['ulClass' => 'pagination-sm mb-0 pagination-outline-light']) }} - @if(authed() && user()->is($user)) + @if(authed() && user()->is($user) && user()->confirmed) New @endif