diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 9274c6c..bb6e3d8 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -34,10 +34,10 @@ class UserController extends XController public function save($user, $request) { - if ($user->role == 'DEVELOPER' && !auth()->user()->hasRole('DEVELOPER')) { + if ($user->role == 'DEVELOPER' && !auth()->user()->hasRole('developer')) { abort(403); } - if (!auth()->user()->hasRole('DEVELOPER') && $request->role == 'DEVELOPER') { + if (!auth()->user()->hasRole('developer') && $request->role == 'DEVELOPER') { abort(403); } diff --git a/config/app.php b/config/app.php index 57262c5..728329c 100644 --- a/config/app.php +++ b/config/app.php @@ -16,7 +16,7 @@ */ 'name' => env('APP_NAME', 'Laravel'), - 'version' => env('APP_VERSION', '2.0.0-beta'), + 'version' => env('APP_VERSION', '2.0.0-beta-2'), /* |-------------------------------------------------------------------------- diff --git a/resources/js/client.js b/resources/js/client.js index 0e358e5..802f500 100644 --- a/resources/js/client.js +++ b/resources/js/client.js @@ -39,3 +39,4 @@ import "../views/segments/attachments_page/DenaAttachList/DenaAttachList.js"; import "../views/segments/attachment/AttachmentWithPreview/AttachmentWithPreview.js"; import "../views/segments/contact/MeloContact/MeloContact.js"; import "../views/segments/invoice/LianaInvoice/LianaInvoice.js"; +import "../views/segments/floats/FollowUsSocial/FollowUsSocial.js"; diff --git a/resources/sass/client.scss b/resources/sass/client.scss index bc35618..9669d83 100644 --- a/resources/sass/client.scss +++ b/resources/sass/client.scss @@ -50,3 +50,4 @@ $xshop-shadow:2px 2px 4px #777777; @import "../views/segments/attachment/AttachmentWithPreview/AttachmentWithPreview"; @import "../views/segments/contact/MeloContact/MeloContact"; @import "../views/segments/invoice/LianaInvoice/LianaInvoice"; +@import "../views/segments/floats/FollowUsSocial/FollowUsSocial"; diff --git a/resources/views/components/panel-side-navbar.blade.php b/resources/views/components/panel-side-navbar.blade.php index ffe4ce0..8faf293 100644 --- a/resources/views/components/panel-side-navbar.blade.php +++ b/resources/views/components/panel-side-navbar.blade.php @@ -175,7 +175,7 @@ @endif - @if( auth()->user()->hasRole('DEVELOPER') ) + @if( auth()->user()->hasRole('developer') )
  • @@ -183,7 +183,7 @@
  • @endif - @if( auth()->user()->hasRole('DEVELOPER') ) + @if( auth()->user()->hasRole('developer'))
  • diff --git a/resources/views/segments/floats/FollowUsSocial/FollowUsSocial.scss b/resources/views/segments/floats/FollowUsSocial/FollowUsSocial.scss index 4a97589..f50c9bc 100644 --- a/resources/views/segments/floats/FollowUsSocial/FollowUsSocial.scss +++ b/resources/views/segments/floats/FollowUsSocial/FollowUsSocial.scss @@ -5,7 +5,6 @@ bottom: 10rem; transform: rotateZ(90deg); width: 300px; - text-shadow: 1px 1px 4px white; span{ display: inline-block; font-size: 27px;