Fixed image url.

This commit is contained in:
Martin Edenhofer 2014-08-18 16:13:23 +02:00
parent c61dfbfe9a
commit 91dbba5adf
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ App.Config.set( 'User', {
callback: ->
item = {}
item['name'] = App.Session.get( 'login' )
item['image'] = App.Session.get( 'image' )
item['image'] = App.Session.get( 'imageUrl' )
return item
target: '#current_user',
class: 'user'

View file

@ -2,7 +2,7 @@
<% for item in @items: %>
<div class="activity-entry horizontal">
<a class="activity-avatar" href="<%- item.created_by.uiUrl() %>">
<span class="avatar" style="background-image: url(<%- item.created_by.image %>)"></span>
<span class="avatar" style="background-image: url(<%- item.created_by.imageUrl %>)"></span>
</a>
<a href="<%- item.link %>" class="activity-body flex horizontal">
<span class="activity-message flex">