Skip to content
Permalink
Browse files

Ticket 593: Use previous css class

  • Loading branch information...
blackcoder87 committed Apr 18, 2019
1 parent ab56c44 commit ae9b09609c471a78c26eb81e9960afa04d059465
@@ -5,7 +5,7 @@
<?=$this->getTrans('userPanel') ?>
</a>
<br />
<div class="ilch-notifications"></div>
<div class="ilch--new-message"></div>
<?php if ($this->get('userAccesses') || $this->getUser()->isAdmin()): ?>
<a target="_blank" href="<?=$this->getUrl(['module' => 'admin', 'controller' => 'admin', 'action' => 'index']) ?>">
<?=$this->getTrans('admincenter') ?>
@@ -65,7 +65,7 @@ class="form-control"

<script>
$(document).ready(function () {
let notificationsDiv = $(".ilch-notifications"),
let notificationsDiv = $(".ilch--new-message"),
messageCheckLink = "<?=$this->getUrl(['module' => 'user', 'controller' => 'ajax','action' => 'checknewmessage']); ?>",
openFriendRequestsCheckLink = "<?=$this->getUrl(['module' => 'user', 'controller' => 'ajax','action' => 'checknewfriendrequests']); ?>",
globalStore = [];
@@ -1,4 +1,4 @@
<?php
if (!empty($this->get('openFriendRequests'))) {
echo '<a href="'.$this->getUrl(['module' => 'user', 'controller' => 'panel', 'action' => 'index']).'" class="text-danger">'.count($this->get('openFriendRequests')).' <i class="fa fa-users"></i></a>';
echo '<a href="'.$this->getUrl(['module' => 'user', 'controller' => 'panel', 'action' => 'index']).'" class="text-danger">'.count($this->get('openFriendRequests')).' <i class="fa fa-users"></i> </a>';
}
@@ -1,4 +1,4 @@
<?php
if ($this->get('dialogUnread') != 0) {
echo '<a href="'.$this->getUrl(['module' => 'user', 'controller' => 'panel', 'action' => 'dialog']).'" class="text-danger">'.$this->get('dialogUnread').' <i class="fa fa-envelope-o"></i></a>';
echo '<a href="'.$this->getUrl(['module' => 'user', 'controller' => 'panel', 'action' => 'dialog']).'" class="text-danger">'.$this->get('dialogUnread').' <i class="fa fa-envelope-o"></i> </a>';
}

0 comments on commit ae9b096

Please sign in to comment.
You can’t perform that action at this time.