Added avatar to member list.

This commit is contained in:
Martin Edenhofer 2014-11-12 13:48:41 +01:00
parent b09de6aec9
commit 71dd5bb406
2 changed files with 5 additions and 0 deletions

View file

@ -49,15 +49,19 @@
<label><%- @T('Members') %></label>
<div class="profile-details horizontal wrap">
<div class="profile-detailsEntry">
<span class="avatar unique user-popover size-40" data-id="4" style="background-position: -97.5718417033075px -178.430732445616px;">AG</span>
<a href="#">Doreen Kubiak</a>
</div>
<div class="profile-detailsEntry">
<div class="avatar" style="background-image: url(https://pbs.twimg.com/profile_images/1216362658/DSC_0084-p_bigger.jpg)"></div>
<a href="#">Franz Xaver</a>
</div>
<div class="profile-detailsEntry">
<span class="avatar unique user-popover size-40" data-id="4" style="background-position: -27.5718417033075px -17.430732445616px;">JM</span>
<a href="#">Julius Müller</a>
</div>
<div class="profile-detailsEntry">
<span class="avatar unique user-popover size-40" data-id="4" style="background-position: -97.5718417033075px -178.430732445616px;">HH</span>
<a href="#">Hans Hubert</a>
</div>
</div>

View file

@ -35,6 +35,7 @@
<% for user in @organization.members: %>
<div class="profile-detailsEntry">
<%- user.avatar("40") %>
<a href="<%- user.uiUrl() %>" class="user-popover" data-id="<%- user.id %>"><%= user.displayName() %></a>
</div>
<% end %>