Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
L
Liman MYS - Çekirdek
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
liman
Liman MYS - Çekirdek
Commits
951305f8
Kaydet (Commit)
951305f8
authored
Şub 06, 2020
tarafından
Baran Sekin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge branch 'master' of 10.154.25.242:liman/liman
üst
f8be2f5a
e48d1e65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
_routes.php
app/Http/Controllers/Notification/_routes.php
+1
-1
header.blade.php
resources/views/layouts/header.blade.php
+6
-4
No files found.
app/Http/Controllers/Notification/_routes.php
Dosyayı görüntüle @
951305f8
...
...
@@ -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'
);
...
...
resources/views/layouts/header.blade.php
Dosyayı görüntüle @
951305f8
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment