Batch Overlay

- use group avatar
This commit is contained in:
Felix Niklas 2017-02-21 09:58:40 +01:00
parent d9aa5db55f
commit 925b6dab5a
2 changed files with 2 additions and 7 deletions

View file

@ -6,9 +6,7 @@
<% end %>
<% for group in @groups: %>
<div class="batch-overlay-assign-entry js-batch-overlay-entry" data-action="group_assign" data-id="<%= group.id %>">
<span class="avatar avatar--organization size-80 js-batch-hover-target">
<%- @Icon('organization') %>
</span>
<div class="js-batch-hover-target"><%- group.avatar(80) %></div>
<div class="batch-overlay-assign-entry-name"><%- group.displayName() %></div>
<div class="batch-overlay-assign-entry-detail"><%- @T('%s people', group.valid_user_ids.length) %></div>
</div>

View file

@ -8586,10 +8586,7 @@ output {
box-sizing: content-box;
transition: transform 120ms;
cursor: inherit;
&--organization {
background: hsl(191,68%,47%);
}
z-index: 1;
}
&-name {