buffer: separate unread and notification
This commit is contained in:
parent
cbc158af4c
commit
6359e726ce
2 changed files with 3 additions and 2 deletions
|
@ -221,7 +221,7 @@ input[type=text], input[type=password], #sendMessage {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .buffer.unread .badge {
|
#sidebar .buffer.unread .badge, #sidebar .buffer.notification .badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
margin-right: -10px;
|
margin-right: -10px;
|
||||||
|
|
|
@ -272,7 +272,8 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
<li class="buffer" ng-class="{'active': buffer.active,
|
<li class="buffer" ng-class="{'active': buffer.active,
|
||||||
'unread': (buffer.notification || buffer.unread),
|
'unread': buffer.unread,
|
||||||
|
'notification': buffer.notification,
|
||||||
'highlight': search && search_highlight_key === key,
|
'highlight': search && search_highlight_key === key,
|
||||||
'indent': buffer.indent,
|
'indent': buffer.indent,
|
||||||
'channel': buffer.type === 'channel',
|
'channel': buffer.type === 'channel',
|
||||||
|
|
Loading…
Reference in a new issue