Small fixes for minimized chats toggle

This commit is contained in:
JC Brand 2018-03-09 23:14:08 +01:00
parent 392a7e8ab3
commit 986921c630
2 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,2 @@
<span class="badge badge-light">{{{o.num_minimized}}}</span> {{{o.Minimized}}}
<span class="unread-message-count
{[ if (!o.num_unread) { ]} unread-message-count-hidden {[ } ]}"
href="#">{{{o.num_unread}}}</span>
{{{o.num_minimized}}} {{{o.Minimized}}}
<span class="unread-message-count {[ if (!o.num_unread) { ]} unread-message-count-hidden {[ } ]}" href="#">{{{o.num_unread}}}</span>

View File

@ -1,7 +1,7 @@
<a class="chatbox-btn close-chatbox-button icon-close"></a>
<a href="#" class="restore-chat w-100 align-self-center" title="{{{o.tooltip}}}">
{[ if (!o.num_unread) { ]}
<span class="badge badge-light">{{{o.num_unread}}}2</span>
{[ } ]}"
{[ if (o.num_unread) { ]}
<span class="badge badge-light">{{{o.num_unread}}}</span>
{[ } ]}
{{{o. title }}}
</a>