Remove unused device-related code in activity list.

This speeds up rendering big activity lists.  When we are ready
to add this back, we should measure the performance impact for
large lists.
This commit is contained in:
Steve Howell 2017-02-25 10:11:04 -08:00 committed by Tim Abbott
parent a05795c85c
commit bcfc3060c9
2 changed files with 1 additions and 16 deletions

View File

@ -73,20 +73,6 @@
border-color: gray;
}
.user-device-indicator {
display: inline-block;
font-size: 20px;
line-height: 0px;
position: absolute;
right: 12px;
top: 0px;
color: #777777;
}
.user-with-count .user-device-indicator {
right: 35px;
}
#user_presences a,
#group-pms a {
color: #333;

View File

@ -1,7 +1,6 @@
<li data-user-id="{{user_id}}" class="user_sidebar_entry {{#if num_unread}}user-with-count {{/if}}narrow-filter user_{{type}}">
<span class="selectable_sidebar_block{{#if mobile}}{{/if}}">
<span class="selectable_sidebar_block">
<span class="user-status-indicator"></span>
<span class="user-device-indicator">{{#if mobile}}{{/if}}</span>
<a href="{{href}}" data-user-id="{{user_id}}" data-name="{{name}}" title="{{name}} {{type_desc}}"
class="{{#if my_fullname}} my_fullname{{/if}}">{{name}}</a>
</span>