% var me = psdk.userInfo.getmy() var telements = function(address){ %> <% if(me && !user.isItMe(address)) { var _class='' %> <% if (me && me.relation(address, 'subscribes')){ _class="following" } %> <% if (me && me.relation(address, 'blocking')){ _class="blocking" } %> <%=e('unblock')%> <% } %> <% } _.each(addresses, function(address){ var _class='' if (me && me.relation(address, 'blocking')){ _class="userblocking" } var sUserInfo = psdk.userInfo.getShortForm(address) %>