Skip to content
Snippets Groups Projects
Commit 9599f2d0 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

reminders are hiddne when there are no reminders

parent fa00e1e7
No related branches found
No related tags found
1 merge request!2Appointments dev
...@@ -123,6 +123,7 @@ desired effect ...@@ -123,6 +123,7 @@ desired effect
<!-- /.messages-menu --> <!-- /.messages-menu -->
<!-- Notifications Menu --> <!-- Notifications Menu -->
{% if notifications.0 > 0 %}
<li class="dropdown notifications-menu" > <li class="dropdown notifications-menu" >
<!-- Menu toggle button --> <!-- Menu toggle button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">
...@@ -130,7 +131,7 @@ desired effect ...@@ -130,7 +131,7 @@ desired effect
<span class="label label-warning"> {{notifications.0}}</span> <span class="label label-warning"> {{notifications.0}}</span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li class="header"> You have {{notification.0}} notifications </li> <li class="header"> You have {{notifications.0}} notifications </li>
<li> <li>
<!-- Inner Menu: contains the notifications --> <!-- Inner Menu: contains the notifications -->
<ul class="menu"> <ul class="menu">
...@@ -144,9 +145,9 @@ desired effect ...@@ -144,9 +145,9 @@ desired effect
<!-- end notification --> <!-- end notification -->
</ul> </ul>
</li> </li>
<li class="footer"><a href="#">View all</a></li>
</ul> </ul>
</li> </li>
{% endif %}
<!-- User Account Menu --> <!-- User Account Menu -->
<li class="dropdown user user-menu"> <li class="dropdown user user-menu">
<!-- Menu Toggle Button --> <!-- Menu Toggle Button -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment