Merge pull request #575 from stenehall/count-in-topbar

Add notification and unread count to topbar
This commit is contained in:
Lorenz Hübschle-Schneider 2015-03-25 09:25:20 +01:00
commit 41ce296e83
3 changed files with 10 additions and 0 deletions

View file

@ -220,6 +220,9 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
<a href="#" ng-click="toggleSidebar()">
<img alt="brand" src="assets/img/favicon.png" title="Connected to {{ settings.host }}:{{ settings.port}}">
</a>
<span class="badge" ng-show="unread > 0">{{unread}}</span>
<span class="badge danger" ng-show="notifications > 0">{{notifications}}</span>
<button ng-if="debugMode" ng-click="countWatchers()">Count<br />Watchers</button>
</div>