Fixed image url.
This commit is contained in:
parent
c61dfbfe9a
commit
91dbba5adf
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ App.Config.set( 'User', {
|
||||||
callback: ->
|
callback: ->
|
||||||
item = {}
|
item = {}
|
||||||
item['name'] = App.Session.get( 'login' )
|
item['name'] = App.Session.get( 'login' )
|
||||||
item['image'] = App.Session.get( 'image' )
|
item['image'] = App.Session.get( 'imageUrl' )
|
||||||
return item
|
return item
|
||||||
target: '#current_user',
|
target: '#current_user',
|
||||||
class: 'user'
|
class: 'user'
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<% for item in @items: %>
|
<% for item in @items: %>
|
||||||
<div class="activity-entry horizontal">
|
<div class="activity-entry horizontal">
|
||||||
<a class="activity-avatar" href="<%- item.created_by.uiUrl() %>">
|
<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>
|
||||||
<a href="<%- item.link %>" class="activity-body flex horizontal">
|
<a href="<%- item.link %>" class="activity-body flex horizontal">
|
||||||
<span class="activity-message flex">
|
<span class="activity-message flex">
|
||||||
|
|
Loading…
Reference in a new issue