add info-badge to chat-window

This commit is contained in:
Felix Niklas 2016-03-23 16:25:25 +01:00
parent 6bd85db5f0
commit 2c03e4a8e6
2 changed files with 11 additions and 1 deletions

View file

@ -6,7 +6,11 @@
<%- @Icon('small-dot', 'icon-status-modified-inner-circle') %> <%- @Icon('small-dot', 'icon-status-modified-inner-circle') %>
</div> </div>
</div> </div>
<div class="chat-name" title="<%= @title %>"><%= @name %></div> <div class="chat-name" title="<%= @title %>">
<%= @name %> <div class="status-badge js-info">
<div class="info-badge"><%- @Icon('info') %></div>
</div>
</div>
<div class="chat-disconnect js-disconnect"> <div class="chat-disconnect js-disconnect">
<div class="btn btn--action btn--small"><%- @T('disconnect') %></div> <div class="btn btn--action btn--small"><%- @T('disconnect') %></div>
</div> </div>

View file

@ -7575,6 +7575,12 @@ output {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
.status-badge {
margin-left: 2px;
vertical-align: middle;
height: 100%;
}
} }
.chat-status { .chat-status {