parent
1e6631192e
commit
45c2884d8e
@ -1,6 +1,3 @@ |
||||
Template.userImageProfile.helpers |
||||
userName: -> |
||||
return Session.get('user_' + this._id + '_name') |
||||
|
||||
userStatus: -> |
||||
return 'status-' + Session.get('user_' + this._id + '_status') |
||||
return 'status-' + Session.get('user_' + this + '_status') |
||||
|
||||
@ -1,8 +1,8 @@ |
||||
<template name="userImageProfile"> |
||||
<li class='user-image user-card-room {{userStatus}}'> |
||||
<a data-userid="{{this._id}}" tabindex="0" title="{{userName}}"> |
||||
{{> avatar userId=_id}} |
||||
<p>{{userName}}</p> |
||||
<a data-username="{{.}}" tabindex="0" title="{{.}}"> |
||||
{{> avatar username=.}} |
||||
<p>{{.}}</p> |
||||
</a> |
||||
</li> |
||||
</template> |
||||
|
||||
Loading…
Reference in new issue