The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/views/app/roomSearch.coffee

13 lines
303 B

Template.roomSearch.helpers
roomIcon: ->
return 'icon-at' if this.type is 'u'
if this.type is 'r'
switch this.t
when 'd' then return 'icon-at'
when 'c' then return 'icon-hash'
when 'p' then return 'icon-lock'
userStatus: ->
if this.type is 'u'
return 'status-' + this.status