Kaydet (Commit) 951305f8 authored tarafından Baran Sekin's avatar Baran Sekin

Merge branch 'master' of 10.154.25.242:liman/liman

......@@ -4,7 +4,7 @@
Route::get('/bildirimler','Notification\MainController@all')->name('all_user_notifications');
Route::get('/bildirimlerSistem','Notification\MainController@allSystem')->name('all_system_notifications');
Route::get('/bildirimlerSistem','Notification\MainController@allSystem')->name('all_system_notifications')->middleware('admin');
Route::post('/bildirimler','Notification\MainController@check')->name('user_notifications');
......
......@@ -48,10 +48,12 @@
</div>
</li>
<!-- Notifications Dropdown Menu -->
<li id="adminNotifications" class="nav-item dropdown">
@include('notifications',["notifications" => adminNotifications(),"id" =>
"adminNotifications","systemNotification" => true])
</li>
@if(user()->isAdmin())
<li id="adminNotifications" class="nav-item dropdown">
@include('notifications',["notifications" => adminNotifications(),"id" =>
"adminNotifications","systemNotification" => true])
</li>
@endif
<li id="userNotifications" class="nav-item dropdown">
@include('notifications',["notifications" => notifications()])
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment