mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
DB Structure Update table name alerts is now notifications also update the fields accordingly to the notifications table - Reworked Notifications a bit
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<!-- Notifications -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="alerts.php">
|
||||
<a class="nav-link" href="notifications.php">
|
||||
<i class="fas fa-bell mr-2"></i>
|
||||
<?php if($num_alerts > 0){ ?>
|
||||
<span class="badge badge-danger navbar-badge"><?php echo $num_alerts; ?></span>
|
||||
<?php if($num_notifications > 0){ ?>
|
||||
<span class="badge badge-danger navbar-badge"><?php echo $num_notifications; ?></span>
|
||||
<?php } ?>
|
||||
</a>
|
||||
</li>
|
||||
@@ -23,7 +23,7 @@
|
||||
<li class="nav-item dropdown user-menu">
|
||||
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
|
||||
<?php if(empty($session_avatar)){ ?>
|
||||
<i class="fas fa-user-circle"></i>
|
||||
<i class="fas fa-user"></i>
|
||||
<?php }else{ ?>
|
||||
<img src="<?php echo "uploads/users/$session_user_id/$session_avatar"; ?>" class="user-image img-circle">
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user