app/assets/javascripts/backbone/templates/contacts/contact.hamlc
52ef7688
 .avatar
18d0349a
   %img{src: "#{@avatar || 'assets/avatar.png'}", alt: I18n.t("chat.roster.avatar_alt") , title: "#{@jid}" }
52ef7688
 %h1
a229c507
   %span{ title: "#{@jid}" } #{@name}
52ef7688
   %span.status.icon-record{class: "#{@status}"}
 %h2 #{@message}  
 %span.action
87949f25
   %span.icon-bubbles.multichat{ title: "#{I18n.t('chat.roster.new-multichat', user: @name )}" }
dc7e418a
     -# ak nemam otvoreny multichat
87949f25
     %span #{I18n.t('chat.roster.icons.multi')}
   %span.icon-bubbles.invite{ title: "#{I18n.t('chat.roster.invite', user: @name)}" }
dc7e418a
     -# ak nie je v multichate a mam otvoreny multichat a som admin toho multichatu
87949f25
     %span #{I18n.t('chat.roster.icons.invite')}
   %span.icon-x-full.kick{ title: "#{I18n.t('chat.roster.kick', user: @name)}" }
dc7e418a
     -# ak som admin otvoreneho multichatu
87949f25
     %span #{I18n.t('chat.roster.icons.kick')}
   %span.icon-owner.owner{ title: "#{I18n.t('chat.roster.is-owner', user: @name)}"}
37ab3198
     -# ak niesom admin otvoreneho multichatu
87949f25
     %span #{I18n.t('chat.roster.icons.owner')}
   %span.icon-make-owner.make-owner{ title: "#{I18n.t('chat.roster.make-owner', user: @name)}" }
892a09a3
     -# ak som admin otvoreneho multichatu
87949f25
     %span #{I18n.t('chat.roster.icons.owner')}
   %span.icon-x-full.remove{ title: "#{I18n.t('chat.roster.remove', user: @name )}" }
     %span #{I18n.t('chat.roster.icons.remove')}